X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fpo_receive_items.php;h=72affe2728153e28e274f5e1a463112a3ea22b8c;hb=48589f9ce6c51bb25e2fa8ed83c57d9dfa485e44;hp=fcd7348b4e9b2fd72f3fa5153db533044c48892d;hpb=e9ad9e87f5eb2682d2e91c93134250fd8a8d2ad9;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(); }