X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fview%2Fview_receipt.php;h=458e9071d9f460d93653c944c888e4dadda73cfd;hb=7e8c90ee7e898a9181f62f387ccb92158f47f59c;hp=597e02138387fc1dbe1dee8279e25b831521c0ff;hpb=818719f38b8327cdca616d58b13913dbd174d96a;p=fa-stable.git diff --git a/sales/view/view_receipt.php b/sales/view/view_receipt.php index 597e0213..458e9071 100644 --- a/sales/view/view_receipt.php +++ b/sales/view/view_receipt.php @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ $page_security = 1; $path_to_root="../.."; @@ -41,7 +41,7 @@ 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"), price_format($receipt['ov_amount']), "class='tableheader2'"); +label_cells(_("Amount"), price_format($receipt['Total'] - $receipt['ov_discount']), "class='tableheader2'"); label_cells(_("Discount"), price_format($receipt['ov_discount']), "class='tableheader2'"); end_row(); start_row();