X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fview%2Fview_receipt.php;h=13797b0a671ebd4d0f5b4b3dfd108ed6af1cd548;hb=082b0f00ec5292669a82a0c611ef67650282a7c4;hp=94e4d4f93331ecf3f3f76524df57097cdf8c7152;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/sales/view/view_receipt.php b/sales/view/view_receipt.php index 94e4d4f9..13797b0a 100644 --- a/sales/view/view_receipt.php +++ b/sales/view/view_receipt.php @@ -17,7 +17,7 @@ if (isset($_GET["trans_no"])) $receipt = get_customer_trans($trans_id, systypes::cust_payment()); -display_heading(_("Customer Payment") . " #$trans_id"); +display_heading(sprintf(_("Customer Payment #%d"),$trans_id)); echo "
"; start_table("$table_style width=80%"); @@ -28,8 +28,8 @@ label_cells(_("Date of Deposit"), sql2date($receipt['tran_date']), "class='table end_row(); start_row(); label_cells(_("Payment Currency"), $receipt['curr_code'], "class='tableheader2'"); -label_cells(_("Amount"), number_format2(-$receipt['ov_amount'], user_price_dec()), "class='tableheader2'"); -label_cells(_("Discount"), number_format2(-$receipt['ov_discount'], user_price_dec()), "class='tableheader2'"); +label_cells(_("Amount"), price_format($receipt['ov_amount']), "class='tableheader2'"); +label_cells(_("Discount"), price_format($receipt['ov_discount']), "class='tableheader2'"); end_row(); start_row(); label_cells(_("Payment Type"), $receipt['BankTransType'], "class='tableheader2'");