X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fsupplier_credit_grns.php;h=3d18c98ae93c451f8e0d1f01a33277297b8b783f;hb=41f4f83b97d8afc5f4c1be4afccd5049cd5641c0;hp=ab14148be3c95bd03d0f342d08696ae11f76d813;hpb=0ad7b92c6cf2e4e65ca0fa94ba31f30f7b292ba8;p=fa-stable.git diff --git a/purchasing/supplier_credit_grns.php b/purchasing/supplier_credit_grns.php index ab14148b..3d18c98a 100644 --- a/purchasing/supplier_credit_grns.php +++ b/purchasing/supplier_credit_grns.php @@ -135,7 +135,7 @@ while ($myrow = db_fetch($result)) qty_cell($myrow["quantity_inv"]); qty_cell($myrow["qty_recd"] - $myrow["quantity_inv"]); amount_cell($myrow["unit_price"]); - amount_cell($myrow["unit_price"] * $myrow["quantity_inv"]); + amount_cell(round($myrow["unit_price"] * $myrow["quantity_inv"], user_price_dec())); end_row(); $i++; if ($i > 15) @@ -166,7 +166,7 @@ if (isset($_POST['grn_item_id']) && $_POST['grn_item_id'] != "") label_cell($_POST['grn_item_id']); label_cell($myrow['item_code'] . " " . $myrow['description']); qty_cell($myrow["quantity_inv"]); - amount_cells(null, 'This_QuantityCredited', qty_format(max($myrow['quantity_inv'],0))); + qty_cells(null, 'This_QuantityCredited', qty_format(max($myrow['quantity_inv'],0))); amount_cell($myrow['unit_price']); amount_cells(null, 'ChgPrice', price_format($myrow['unit_price'])); end_row();