X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fview%2Fview_grn.php;h=b5159b639ba4eaf6700d2b1eaa405785bf624a28;hb=8a566dd3a7906e8146a0b045f023f086c93421d8;hp=b2d95bb8e26390226249069d414976456536ef51;hpb=dace790b5b71c554f8de87babda2585dfa2a074c;p=fa-stable.git diff --git a/purchasing/view/view_grn.php b/purchasing/view/view_grn.php index b2d95bb8..b5159b63 100644 --- a/purchasing/view/view_grn.php +++ b/purchasing/view/view_grn.php @@ -48,8 +48,7 @@ $overdue_items = false; foreach ($purchase_order->line_items as $stock_item) { - - $line_total = $stock_item->qty_received * $stock_item->price; + $line_total = $stock_item->quantity * $stock_item->price; // if overdue and outstanding quantities, then highlight as so if (date1_greater_date2($purchase_order->orig_order_date, $stock_item->req_del_date)) @@ -66,7 +65,7 @@ foreach ($purchase_order->line_items as $stock_item) label_cell($stock_item->item_description); label_cell($stock_item->req_del_date, "nowrap align=right"); $dec = get_qty_dec($stock_item->stock_id); - qty_cell($stock_item->qty_received, false, $dec); + qty_cell($stock_item->quantity, false, $dec); label_cell($stock_item->units); amount_decimal_cell($stock_item->price); amount_cell($line_total);