X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fpo_receive_items.php;h=d6d2bc5154f4bda13b8e60a10f0e2d8ed8ddcc49;hb=6c40a3be4a79826087d7abbdd11b483f19decc2a;hp=fcd7348b4e9b2fd72f3fa5153db533044c48892d;hpb=e9ad9e87f5eb2682d2e91c93134250fd8a8d2ad9;p=fa-stable.git diff --git a/purchasing/po_receive_items.php b/purchasing/po_receive_items.php index fcd7348b..d6d2bc51 100644 --- a/purchasing/po_receive_items.php +++ b/purchasing/po_receive_items.php @@ -43,6 +43,9 @@ if (isset($_GET['AddedID'])) hyperlink_no_params("$path_to_root/purchasing/inquiry/po_search.php", _("Select a different &purchase order for receiving items against")); + hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"), + "filterType=$trans_type&trans_no=$grn"); + display_footer_exit(); } @@ -273,7 +276,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(); }