diff --git a/guest_view_invoice.php b/guest_view_invoice.php index 54798481..0de9c19f 100644 --- a/guest_view_invoice.php +++ b/guest_view_invoice.php @@ -45,6 +45,8 @@ if(isset($_GET['invoice_id'], $_GET['url_key'])){ $client_mobile = substr($row['client_mobile'],0,3)."-".substr($row['client_mobile'],3,3)."-".substr($row['client_mobile'],6,4); } $client_website = $row['client_website']; + $client_currency_code = $row['client_currency_code']; + $client_currency_symbol = get_currency_symbol($client_currency_code); $client_net_terms = $row['client_net_terms']; if($client_net_terms == 0){ $client_net_terms = $config_default_net_terms; @@ -228,9 +230,9 @@ if(isset($_GET['invoice_id'], $_GET['url_key'])){ - $ - $ - $ + + + Subtotal - $ + 0){ ?> Tax - $ + 0){ ?>
Paid to Date
- $ + Balance Due - $ + @@ -473,15 +475,15 @@ var docDefinition = { style:'itemQty' }, { - text:'$', + text:'', style:'itemNumber' }, { - text:'$', + text:'', style:'itemNumber' }, { - text: '$', + text: '', style:'itemNumber' } ], @@ -523,7 +525,7 @@ var docDefinition = { style:'itemsFooterSubTitle' }, { - text:'$', + text:'', style:'itemsFooterSubValue' } ], @@ -534,7 +536,7 @@ var docDefinition = { style:'itemsFooterSubTitle' }, { - text: '$', + text: '', style:'itemsFooterSubValue' } ], @@ -545,7 +547,7 @@ var docDefinition = { style:'itemsFooterSubTitle' }, { - text: '$', + text: '', style:'itemsFooterSubValue' } ], @@ -556,7 +558,7 @@ var docDefinition = { style:'itemsFooterSubTitle' }, { - text: '$', + text: '', style:'itemsFooterSubValue' } ], @@ -567,7 +569,7 @@ var docDefinition = { style:'itemsFooterTotalTitle' }, { - text: '$', + text: '', style:'itemsFooterTotalTitle' } @@ -756,7 +758,7 @@ var docDefinition = { ( Days Late) - $ + (Due in Days) - $ + - $ + @@ -905,7 +907,7 @@ var docDefinition = { ?> - - $ - - - + - - - - - $ - $ - $ + + + Subtotal - $ + 0){ ?> Discount - $ + 0){ ?> Tax - $ + Total - $ + @@ -421,15 +423,15 @@ var docDefinition = { style:'itemQty' }, { - text:'$', + text:'', style:'itemNumber' }, { - text:'$', + text:'', style:'itemNumber' }, { - text: '$', + text: '', style:'itemNumber' } ], @@ -471,7 +473,7 @@ var docDefinition = { style:'itemsFooterSubTitle' }, { - text:'$', + text:'', style:'itemsFooterSubValue' } ], @@ -482,7 +484,7 @@ var docDefinition = { style:'itemsFooterSubTitle' }, { - text: '$', + text: '', style:'itemsFooterSubValue' } ], @@ -493,7 +495,7 @@ var docDefinition = { style:'itemsFooterSubTitle' }, { - text: '$', + text: '', style:'itemsFooterSubValue' } ], diff --git a/quote.php b/quote.php index 04178b90..8f60d546 100644 --- a/quote.php +++ b/quote.php @@ -43,7 +43,7 @@ if(isset($_GET['quote_id'])){ } $client_website = $row['client_website']; $client_currency_code = $row['client_currency_code']; - $client_currency_symbol = get_currency_symbol("$client_currency_code"); + $client_currency_symbol = get_currency_symbol($client_currency_code); $client_net_terms = $row['client_net_terms']; if($client_net_terms == 0){ $client_net_terms = $config_default_net_terms; @@ -237,9 +237,9 @@ if(isset($_GET['quote_id'])){ - $ - $ - $ + + + Subtotal - $ + 0){ ?> Tax - $ + Total - $ + @@ -570,15 +570,15 @@ var docDefinition = { style:'itemQty' }, { - text:'$', + text:'', style:'itemNumber' }, { - text:'$', + text:'', style:'itemNumber' }, { - text: '$', + text: '', style:'itemNumber' } ], @@ -620,7 +620,7 @@ var docDefinition = { style:'itemsFooterSubTitle' }, { - text:'$', + text:'', style:'itemsFooterSubValue' } ], @@ -631,7 +631,7 @@ var docDefinition = { style:'itemsFooterSubTitle' }, { - text: '$', + text: '', style:'itemsFooterSubValue' } ], @@ -642,7 +642,7 @@ var docDefinition = { style:'itemsFooterSubTitle' }, { - text: '$', + text: '', style:'itemsFooterSubValue' } ],