X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=inline;f=sales%2Fcustomer_invoice.php;h=152ca1e58e76c630397a78bdbae963d827f32400;hb=f36d4241ba673261532a1bb3c59b6b985901238e;hp=8712b6c657fb426df44e3f81be0e647112f96658;hpb=4c40cfa3e45f9546731a137e8a30b45dd751c1cb;p=fa-stable.git
diff --git a/sales/customer_invoice.php b/sales/customer_invoice.php
index 8712b6c6..152ca1e5 100644
--- a/sales/customer_invoice.php
+++ b/sales/customer_invoice.php
@@ -57,7 +57,7 @@ if (isset($_GET['AddedID'])) {
display_note(get_customer_trans_view_str($trans_type, $invoice_no, _("&View This Invoice")), 0, 1);
display_note(print_document_link($invoice_no, _("&Print This Invoice"), true, ST_SALESINVOICE));
- display_note(print_document_link($invoice_no, _("&Email This Invoice"), true, ST_SALESINVOICE, false, 'printlink', "", 1),1);
+ display_note(print_document_link($invoice_no, _("&Email This Invoice"), true, ST_SALESINVOICE, false, "printlink", "", 1),1);
display_note(get_gl_view_str($trans_type, $invoice_no, _("View the GL &Journal Entries for this Invoice")),1);
@@ -75,7 +75,7 @@ if (isset($_GET['AddedID'])) {
echo '
';
display_note(print_document_link($invoice_no, _("&Print This Invoice"), true, ST_SALESINVOICE));
- hyperlink_no_params($path_to_root . "/sales/inquiry/customer_inquiry.php", _("Select A Different &Invoice to Modify"));
+ hyperlink_no_params($path_to_root . "/sales/inquiry/customer_inquiry.php", _("Select Another &Invoice to Modify"));
display_footer_exit();
@@ -128,7 +128,7 @@ if ( (isset($_GET['DeliveryNumber']) && ($_GET['DeliveryNumber'] > 0) )
} elseif (isset($_GET['ModifyInvoice']) && $_GET['ModifyInvoice'] > 0) {
- if ( get_parent_trans(ST_SALESINVOICE, $_GET['ModifyInvoice']) == 0) { // 1.xx compatibility hack
+ if ( get_sales_parent_numbers(ST_SALESINVOICE, $_GET['ModifyInvoice']) == 0) { // 1.xx compatibility hack
echo"