Print format html that works on 2 sites

hello,

if i have one print format written in html through an editor of course jinja template , i have a site that opens on 8000 that has euro as currency and the other one Lebanese pound that opens on a different port 8001
if i want to print a statement from general ledger for the Lebanese pound , the balance is shown as 8 999 999 € all the way or it should be 8 999 999 LBP not €.
is there anyway to learn how to make a condition so when i’m on France company it will show the € for the balance and when i’m on the lebanese site it will show LBP for it.
any help or suggestion on where i can learn or which instructions i can use for that??