X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=purchasing%2Fpo_receive_items.php;h=72affe2728153e28e274f5e1a463112a3ea22b8c;hb=f7093d7dde32fcccbe14b828ccdcf80bc652d7c3;hp=fcd7348b4e9b2fd72f3fa5153db533044c48892d;hpb=95ff74b5722826544743a01daf527aa3c9efe11a;p=fa-stable.git diff --git a/purchasing/po_receive_items.php b/purchasing/po_receive_items.php index fcd7348b..72affe27 100644 --- a/purchasing/po_receive_items.php +++ b/purchasing/po_receive_items.php @@ -273,7 +273,7 @@ if (isset($_GET['PONumber']) && $_GET['PONumber'] > 0 && !isset($_POST['Update'] { create_new_po(ST_PURCHORDER, $_GET['PONumber']); $_SESSION['PO']->trans_type = ST_SUPPRECEIVE; - $_SESSION['PO']->reference = $Refs->get_next(ST_SUPPRECEIVE, + $_SESSION['PO']->reference = $Refs->get_next(ST_SUPPRECEIVE, null, array('date' => Today(), 'supplier' => $_SESSION['PO']->supplier_id)); copy_from_cart(); }