projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5c2139b
)
Annoyance 5683: Allow attachments from most needed post-creation option screens.
author
Joe
<joe.hunt.consulting@gmail.com>
Wed, 29 Mar 2023 08:24:38 +0000
(10:24 +0200)
committer
Joe
<joe.hunt.consulting@gmail.com>
Wed, 29 Mar 2023 08:24:38 +0000
(10:24 +0200)
purchasing/po_entry_items.php
patch
|
blob
|
history
purchasing/po_receive_items.php
patch
|
blob
|
history
sales/customer_delivery.php
patch
|
blob
|
history
sales/sales_order_entry.php
patch
|
blob
|
history
diff --git
a/purchasing/po_entry_items.php
b/purchasing/po_entry_items.php
index 22f383819b0f0ab0980f6a23b11fa808df88032d..f69feb9223d5b34fab555b4537a62d14dd4fb16c 100644
(file)
--- a/
purchasing/po_entry_items.php
+++ b/
purchasing/po_entry_items.php
@@
-96,6
+96,9
@@
if (isset($_GET['AddedID']))
hyperlink_no_params($path_to_root."/purchasing/inquiry/po_search.php", _("Select An &Outstanding Purchase Order"));
hyperlink_no_params($path_to_root."/purchasing/inquiry/po_search.php", _("Select An &Outstanding Purchase Order"));
+ hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"),
+ "filterType=$trans_type&trans_no=$order_no");
+
display_footer_exit();
} elseif (isset($_GET['AddedGRN'])) {
display_footer_exit();
} elseif (isset($_GET['AddedGRN'])) {
@@
-114,11
+117,11
@@
if (isset($_GET['AddedID']))
hyperlink_params("$path_to_root/purchasing/supplier_invoice.php",
_("Entry purchase &invoice for this receival"), "New=1");
hyperlink_params("$path_to_root/purchasing/supplier_invoice.php",
_("Entry purchase &invoice for this receival"), "New=1");
+ hyperlink_params($_SERVER['PHP_SELF'], _("Enter &Another GRN"), "NewGRN=Yes");
+
hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"),
"filterType=$trans_type&trans_no=$trans_no");
hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"),
"filterType=$trans_type&trans_no=$trans_no");
- hyperlink_params($_SERVER['PHP_SELF'], _("Enter &Another GRN"), "NewGRN=Yes");
-
display_footer_exit();
} elseif (isset($_GET['AddedPI'])) {
display_footer_exit();
} elseif (isset($_GET['AddedPI'])) {
@@
-135,11
+138,11
@@
if (isset($_GET['AddedID']))
hyperlink_params("$path_to_root/purchasing/supplier_payment.php", _("Entry supplier &payment for this invoice"),
"trans_type=$trans_type&PInvoice=".$trans_no);
hyperlink_params("$path_to_root/purchasing/supplier_payment.php", _("Entry supplier &payment for this invoice"),
"trans_type=$trans_type&PInvoice=".$trans_no);
+ hyperlink_params($_SERVER['PHP_SELF'], _("Enter &Another Direct Invoice"), "NewInvoice=Yes");
+
hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"),
"filterType=$trans_type&trans_no=$trans_no");
hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"),
"filterType=$trans_type&trans_no=$trans_no");
- hyperlink_params($_SERVER['PHP_SELF'], _("Enter &Another Direct Invoice"), "NewInvoice=Yes");
-
display_footer_exit();
}
display_footer_exit();
}
diff --git
a/purchasing/po_receive_items.php
b/purchasing/po_receive_items.php
index 72affe2728153e28e274f5e1a463112a3ea22b8c..d6d2bc5154f4bda13b8e60a10f0e2d8ed8ddcc49 100644
(file)
--- 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_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();
}
display_footer_exit();
}
diff --git
a/sales/customer_delivery.php
b/sales/customer_delivery.php
index c634a94e75109bf06a1fee1d597c014e29cb1db0..77ec3136c31c04dc7b2aad91f68544fdbb820a78 100644
(file)
--- a/
sales/customer_delivery.php
+++ b/
sales/customer_delivery.php
@@
-62,6
+62,8
@@
if (isset($_GET['AddedID'])) {
hyperlink_params("$path_to_root/sales/inquiry/sales_orders_view.php", _("Select Another Order For Dispatch"), "OutstandingOnly=1");
hyperlink_params("$path_to_root/sales/inquiry/sales_orders_view.php", _("Select Another Order For Dispatch"), "OutstandingOnly=1");
+ hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"), "filterType=".ST_CUSTDELIVERY."&trans_no=$dispatch_no");
+
display_footer_exit();
} elseif (isset($_GET['UpdatedID'])) {
display_footer_exit();
} elseif (isset($_GET['UpdatedID'])) {
diff --git
a/sales/sales_order_entry.php
b/sales/sales_order_entry.php
index dad3c63c1e846014e232a26c246676a1dd59a384..362723d7845af2967281eac6e8a38790d721e0fe 100644
(file)
--- a/
sales/sales_order_entry.php
+++ b/
sales/sales_order_entry.php
@@
-137,6
+137,8
@@
if (isset($_GET['AddedID'])) {
submenu_option(_("Enter a &New Order"), "/sales/sales_order_entry.php?NewOrder=0");
submenu_option(_("Enter a &New Order"), "/sales/sales_order_entry.php?NewOrder=0");
+ submenu_option(_("Add an Attachment"), "/admin/attachments.php?filterType=".ST_SALESORDER."&trans_no=$order_no");
+
display_footer_exit();
} elseif (isset($_GET['UpdatedID'])) {
display_footer_exit();
} elseif (isset($_GET['UpdatedID'])) {
@@
-173,6
+175,8
@@
if (isset($_GET['AddedID'])) {
submenu_option(_("Enter a New &Quotation"), "/sales/sales_order_entry.php?NewQuotation=0");
submenu_option(_("Enter a New &Quotation"), "/sales/sales_order_entry.php?NewQuotation=0");
+ submenu_option(_("Add an Attachment"), "/admin/attachments.php?filterType=".ST_SALESQUOTE."&trans_no=$order_no");
+
display_footer_exit();
} elseif (isset($_GET['UpdatedQU'])) {
display_footer_exit();
} elseif (isset($_GET['UpdatedQU'])) {
@@
-218,6
+222,8
@@
if (isset($_GET['AddedID'])) {
submenu_option(_("Enter a &New Delivery"),
"/sales/sales_order_entry.php?NewDelivery=0");
submenu_option(_("Enter a &New Delivery"),
"/sales/sales_order_entry.php?NewDelivery=0");
+ submenu_option(_("Add an Attachment"), "/admin/attachments.php?filterType=".ST_CUSTDELIVERY."&trans_no=$delivery");
+
display_footer_exit();
} elseif (isset($_GET['AddedDI'])) {
display_footer_exit();
} elseif (isset($_GET['AddedDI'])) {