Added hotkeys to final menu options.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 24 Oct 2008 10:55:59 +0000 (10:55 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 24 Oct 2008 10:55:59 +0000 (10:55 +0000)
17 files changed:
dimensions/dimension_entry.php
gl/bank_transfer.php
gl/gl_bank.php
gl/gl_journal.php
inventory/adjustments.php
inventory/transfers.php
manufacturing/work_order_add_finished.php
manufacturing/work_order_issue.php
manufacturing/work_order_release.php
purchasing/po_entry_items.php
purchasing/po_receive_items.php
purchasing/supplier_payment.php
sales/credit_note_entry.php
sales/customer_credit_invoice.php
sales/customer_invoice.php
sales/customer_payments.php
sales/sales_order_entry.php

index bf6fe3eeb1b179e0513486c869870d3b984f7823..af266300bbef89dad7433853b94fa2d134d2692e 100644 (file)
@@ -76,9 +76,9 @@ function safe_exit()
 {
        global $path_to_root;
 
-       hyperlink_no_params("", _("Enter a new dimension"));
+       hyperlink_no_params("", _("Enter a &new dimension"));
        echo "<br>";
-       hyperlink_no_params($path_to_root . "/dimensions/inquiry/search_dimensions.php", _("Select an existing dimension"));
+       hyperlink_no_params($path_to_root . "/dimensions/inquiry/search_dimensions.php", _("&Select an existing dimension"));
 
        display_footer_exit();
 }
index 78089f5a4db6f59b56a0d5a128042c4bf1ff48c8..6699a1a5cbfac3da12cb10dd7a88903f57456686 100644 (file)
@@ -30,9 +30,9 @@ if (isset($_GET['AddedID']))
 
        display_notification_centered( _("Transfer has been entered"));
 
-       display_note(get_gl_view_str($trans_type, $trans_no, _("View the GL Journal Entries for this Transfer")));
+       display_note(get_gl_view_str($trans_type, $trans_no, _("&View the GL Journal Entries for this Transfer")));
 
-       hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter Another Transfer"));
+       hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Transfer"));
 
        safeExit();
 }
index ce8c40fd233e17d3773b946e12e0f6afd744afed..522cdd86c9d25213df7a5a09d912c95b486f559a 100644 (file)
@@ -74,11 +74,11 @@ if (isset($_GET['AddedID']))
 
        display_notification_centered(_("Payment has been entered"));
 
-       display_note(get_gl_view_str($trans_type, $trans_no, _("View the GL Postings for this Payment")));
+       display_note(get_gl_view_str($trans_type, $trans_no, _("&View the GL Postings for this Payment")));
 
-       hyperlink_params($_SERVER['PHP_SELF'], _("Enter Another Payment"), "NewPayment=yes");
+       hyperlink_params($_SERVER['PHP_SELF'], _("Enter Another &Payment"), "NewPayment=yes");
 
-       hyperlink_params($_SERVER['PHP_SELF'], _("Enter A Deposit"), "NewDeposit=yes");
+       hyperlink_params($_SERVER['PHP_SELF'], _("Enter A &Deposit"), "NewDeposit=yes");
 
        display_footer_exit();
 }
index fc07ffd76fa9018f29daadb2480291f5c92d4d34..65d61c453c8b933a1e05a49ba59323ff2a84a332 100644 (file)
@@ -37,9 +37,9 @@ if (isset($_GET['AddedID']))
 
        display_notification_centered( _("Journal entry has been entered") . " #$trans_no");
 
-    display_note(get_gl_view_str($trans_type, $trans_no, _("View this Journal Entry")));
+    display_note(get_gl_view_str($trans_type, $trans_no, _("&View this Journal Entry")));
 
-       hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter Another Journal Entry"));
+       hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Journal Entry"));
 
        display_footer_exit();
 }
index 7eac496c1d26bc54960a8d90056bb7417f47b723..45bf4e92d5f5d47d47daeffce3f5b5c01d9b2ff2 100644 (file)
@@ -32,11 +32,11 @@ if (isset($_GET['AddedID']))
        $trans_type = systypes::inventory_adjustment();
 
        display_notification_centered(_("Items adjustment has been processed"));
-       display_note(get_trans_view_str($trans_type, $trans_no, _("View this adjustment")));
+       display_note(get_trans_view_str($trans_type, $trans_no, _("&View this adjustment")));
 
-       display_note(get_gl_view_str($trans_type, $trans_no, _("View the GL Postings for this Adjustment")), 1, 0);
+       display_note(get_gl_view_str($trans_type, $trans_no, _("View the GL &Postings for this Adjustment")), 1, 0);
 
-       hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter Another Adjustment"));
+       hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Adjustment"));
 
        display_footer_exit();
 }
index 13f4c109303a5de4a66ed45df17ef6b6a991ae27..541791a873ec721a3cd06752d83ad9b3caf89f5e 100644 (file)
@@ -32,9 +32,9 @@ if (isset($_GET['AddedID']))
        $trans_type = systypes::location_transfer();
 
        display_notification_centered(_("Inventory transfer has been processed"));
-       display_note(get_trans_view_str($trans_type, $trans_no, _("View this transfer")));
+       display_note(get_trans_view_str($trans_type, $trans_no, _("&View this transfer")));
 
-       hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter Another Inventory Transfer"));
+       hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Inventory Transfer"));
 
        display_footer_exit();
 }
index 56a80d1d140b051f4359b206a153b192efaec416..dd76e35cd347dec98146d299e447f865ee624855 100644 (file)
@@ -30,7 +30,7 @@ if (isset($_GET['AddedID']))
 
        display_note(_("The manufacturing process has been entered."));
 
-       hyperlink_no_params("search_work_orders.php", _("Select another Work Order to Process"));
+       hyperlink_no_params("search_work_orders.php", _("Select another &Work Order to Process"));
 
        end_page();
        exit;
index 5d518e56d7525323efbce8591da523488c9984b6..d09f1a31760e256e7e08820b8ca183ede67fcfcb 100644 (file)
@@ -25,7 +25,7 @@ if (isset($_GET['AddedID']))
 {
        echo "<center>" . _("The work order issue has been entered.");
        echo "<br>";
-       hyperlink_no_params("search_work_orders.php", _("Select another Work Order to Process"));
+       hyperlink_no_params("search_work_orders.php", _("Select another &Work Order to Process"));
        echo "<br><br>";
        display_footer_exit();
 }
index 80e4f3ac81e472601f1f36cf9b6969265a906167..e6e901c3b3de37ffdc06c24ba07913af7a420b36 100644 (file)
@@ -58,7 +58,7 @@ if (isset($_POST['release']))
 
        display_note(_("The work order has been released to manufacturing."));
 
-       hyperlink_no_params("search_work_orders.php", _("Select another work order"));
+       hyperlink_no_params("search_work_orders.php", _("Select another &work order"));
 
        $Ajax->activate('_page_body');
        end_page();
index 1619bb49813a4bc7c68adffa8bc0f5f25982e030..8c64fee522db9f255c409ed5558799a7db16c7b3 100644 (file)
@@ -59,15 +59,15 @@ if (isset($_GET['AddedID']))
                display_notification_centered(_("Purchase Order has been entered"));
        else
                display_notification_centered(_("Purchase Order has been updated") . " #$order_no");
-       display_note(get_trans_view_str($trans_type, $order_no, _("View this order")));
+       display_note(get_trans_view_str($trans_type, $order_no, _("&View this order")));
        echo '<br>';
-       display_note(print_document_link($order_no, _("Print This Order"), true, $trans_type));
+       display_note(print_document_link($order_no, _("&Print This Order"), true, $trans_type));
 
-       hyperlink_params($path_to_root . "/purchasing/po_receive_items.php", _("Receive Items on this Purchase Order"), "PONumber=$order_no");
+       hyperlink_params($path_to_root . "/purchasing/po_receive_items.php", _("&Receive Items on this Purchase Order"), "PONumber=$order_no");
 
-       hyperlink_params($_SERVER['PHP_SELF'], _("Enter Another Purchase Order"), "NewOrder=yes");
+       hyperlink_params($_SERVER['PHP_SELF'], _("Enter &Another Purchase Order"), "NewOrder=yes");
        
-       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"));
        
        display_footer_exit();  
 }
index d79a5af7cc2c1a2c0f4705b4753d2cda2dfae094..d58e2aabfaca8a6e6972b44693709d4d2e1fb132 100644 (file)
@@ -23,13 +23,13 @@ if (isset($_GET['AddedID']))
 
        display_notification_centered(_("Purchase Order Delivery has been processed"));
 
-       display_note(get_trans_view_str($trans_type, $grn, _("View this Delivery")));
+       display_note(get_trans_view_str($trans_type, $grn, _("&View this Delivery")));
 
        //echo "<BR>";
-       //echo get_gl_view_str(25, $grn, _("View the GL Journal Entries for this Delivery"));
+       //echo get_gl_view_str(25, $grn, _("View the GL &Journal Entries for this Delivery"));
 
 //     echo "<br>";
-       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"));
 
        display_footer_exit();
 }
index 28e16c6f3229aad6c1229f0f2cd93aba3ebf60ef..bb94fbdb866e138784ef8edcc0877608ad828f1b 100644 (file)
@@ -52,11 +52,11 @@ if (isset($_GET['AddedID']))
 
        display_notification_centered( _("Payment has been sucessfully entered"));
 
-    display_note(get_gl_view_str(22, $payment_id, _("View the GL Journal Entries for this Payment")));
+    display_note(get_gl_view_str(22, $payment_id, _("View the GL &Journal Entries for this Payment")));
 
-    hyperlink_params($path_to_root . "/purchasing/allocations/supplier_allocate.php", _("Allocate this Payment"), "trans_no=$payment_id&trans_type=22");
+    hyperlink_params($path_to_root . "/purchasing/allocations/supplier_allocate.php", _("&Allocate this Payment"), "trans_no=$payment_id&trans_type=22");
 
-       hyperlink_params($_SERVER['PHP_SELF'], _("Enter another supplier payment"), "supplier_id=" . $_POST['supplier_id']);
+       hyperlink_params($_SERVER['PHP_SELF'], _("Enter another supplier &payment"), "supplier_id=" . $_POST['supplier_id']);
 
        display_footer_exit();
 }
index 5297328aa7bb5bfe39630a68a599fdca0f9d2b83..bfa8b788392f8e899e2e45eaabb7eded018ced54 100644 (file)
@@ -61,6 +61,8 @@ if (isset($_GET['AddedID'])) {
 
        display_note(get_customer_trans_view_str($trans_type, $credit_no, _("&View this credit note")), 0, 1);
 
+       display_note(print_document_link($credit_no, _("&Print This Credit Invoice"), true, 11),1);
+
        display_note(get_gl_view_str($trans_type, $credit_no, _("View the GL &Journal Entries for this Credit Note")));
 
        hyperlink_params($_SERVER['PHP_SELF'], _("Enter Another &Credit Note"), "NewCredit=yes");
index d87653e0847e2193de13bfa8bb278717dc534585..e46d352814dfa22f3ae3970b1f034ed73ca569c2 100644 (file)
@@ -42,11 +42,11 @@ if (isset($_GET['AddedID'])) {
 
        display_notification_centered(_("Credit Note has been processed"));
 
-       display_note(get_customer_trans_view_str($trans_type, $credit_no, _("View This Credit Note")), 0, 0);
+       display_note(get_customer_trans_view_str($trans_type, $credit_no, _("&View This Credit Note")), 0, 0);
 
-       display_note(print_document_link($credit_no, _("Print This Credit Note"), true, 11),1);
+       display_note(print_document_link($credit_no, _("&Print This Credit Note"), true, 11),1);
 
-       display_note(get_gl_view_str($trans_type, $credit_no, _("View the GL Journal Entries for this Credit Note")),1);
+       display_note(get_gl_view_str($trans_type, $credit_no, _("View the GL &Journal Entries for this Credit Note")),1);
 
        display_footer_exit();
 
@@ -56,11 +56,11 @@ if (isset($_GET['AddedID'])) {
 
        display_notification_centered(_("Credit Note has been updated"));
 
-       display_note(get_customer_trans_view_str($trans_type, $credit_no, _("View This Credit Note")), 0, 0);
+       display_note(get_customer_trans_view_str($trans_type, $credit_no, _("&View This Credit Note")), 0, 0);
 
-       display_note(print_document_link($credit_no, _("Print This Credit Note"), true, 11),1);
+       display_note(print_document_link($credit_no, _("&Print This Credit Note"), true, 11),1);
 
-       display_note(get_gl_view_str($trans_type, $credit_no, _("View the GL Journal Entries for this Credit Note")),1);
+       display_note(get_gl_view_str($trans_type, $credit_no, _("View the GL &Journal Entries for this Credit Note")),1);
 
        display_footer_exit();
 }
index ca3df67fb3a1693b3bfee5dd8e030b3c9563481e..e795a30f4dc2b3e33f30490dd4ab7f140f0e90b5 100644 (file)
@@ -43,13 +43,13 @@ if (isset($_GET['AddedID'])) {
 
        display_notification(_("Selected deliveries has been processed"), true);
 
-       display_note(get_customer_trans_view_str($trans_type, $invoice_no, _("View This Invoice")), 0, 1);
+       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, 10));
+       display_note(print_document_link($invoice_no, _("&Print This Invoice"), true, 10));
 
-       display_note(get_gl_view_str($trans_type, $invoice_no, _("View the GL Journal Entries for this Invoice")),1);
+       display_note(get_gl_view_str($trans_type, $invoice_no, _("View the GL &Journal Entries for this Invoice")),1);
 
-       hyperlink_params("$path_to_root/sales/inquiry/sales_deliveries_view.php", _("Select Another Delivery For Invoicing"), "OutstandingOnly=1");
+       hyperlink_params("$path_to_root/sales/inquiry/sales_deliveries_view.php", _("Select Another &Delivery For Invoicing"), "OutstandingOnly=1");
 
        display_footer_exit();
 
@@ -59,11 +59,11 @@ if (isset($_GET['AddedID'])) {
 
        display_notification_centered(sprintf(_('Sales Invoice # %d has been updated.'),$invoice_no));
 
-       display_note(get_trans_view_str(10, $invoice_no, _("View This Invoice")));
+       display_note(get_trans_view_str(10, $invoice_no, _("&View This Invoice")));
        echo '<br>';
-       display_note(print_document_link($invoice_no, _("Print This Invoice"), true, 10));
+       display_note(print_document_link($invoice_no, _("&Print This Invoice"), true, 10));
 
-       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 A Different &Invoice to Modify"));
 
        display_footer_exit();
 
index 1ab43ce52a0cc320eb617400f00d3f789f441f95..ec98198dab9ff8de15d3e8f2d7a3e8fe2ac9ad6e 100644 (file)
@@ -44,11 +44,11 @@ if (isset($_GET['AddedID'])) {
 
        display_notification_centered(_("The customer payment has been successfully entered."));
 
-       display_note(get_gl_view_str(12, $payment_no, _("View the GL Journal Entries for this Customer Payment")));
+       display_note(get_gl_view_str(12, $payment_no, _("&View the GL Journal Entries for this Customer Payment")));
 
-       hyperlink_params($path_to_root . "/sales/allocations/customer_allocate.php", _("Allocate this Customer Payment"), "trans_no=$payment_no&trans_type=12");
+       hyperlink_params($path_to_root . "/sales/allocations/customer_allocate.php", _("&Allocate this Customer Payment"), "trans_no=$payment_no&trans_type=12");
 
-       hyperlink_no_params($path_to_root . "/sales/customer_payments.php", _("Enter Another Customer Payment"));
+       hyperlink_no_params($path_to_root . "/sales/customer_payments.php", _("Enter Another &Customer Payment"));
        br(1);
        end_page();
        exit;
index 8805dfdac4473fb9d0fe7cb03e894d0ee32b70a7..edfc3455daccecc1e94a15db82ac0ee3a54d515b 100644 (file)
@@ -69,14 +69,14 @@ if (isset($_GET['AddedID'])) {
 
        display_notification_centered(sprintf( _("Order # %d has been entered."),$order_no));
 
-       display_note(get_trans_view_str(30, $order_no, _("View This Order")));
+       display_note(get_trans_view_str(30, $order_no, _("&View This Order")));
        echo '<br>';
-       display_note(print_document_link($order_no, _("Print This Order"), true, 30));
+       display_note(print_document_link($order_no, _("&Print This Order"), true, 30));
 
        hyperlink_params($path_to_root . "/sales/customer_delivery.php",
-               _("Make Delivery Against This Order"), "OrderNumber=$order_no");
+               _("Make &Delivery Against This Order"), "OrderNumber=$order_no");
 
-       hyperlink_params($_SERVER['PHP_SELF'], _("Enter a New Order"), "NewOrder=0");
+       hyperlink_params($_SERVER['PHP_SELF'], _("Enter a &New Order"), "NewOrder=0");
 
        display_footer_exit();
 
@@ -85,15 +85,15 @@ if (isset($_GET['AddedID'])) {
 
        display_notification_centered(sprintf( _("Order # %d has been updated."),$order_no));
 
-       display_note(get_trans_view_str(30, $order_no, _("View This Order")));
+       display_note(get_trans_view_str(30, $order_no, _("&View This Order")));
        echo '<br>';
-       display_note(print_document_link($order_no, _("Print This Order"), true, 30));
+       display_note(print_document_link($order_no, _("&Print This Order"), true, 30));
 
        hyperlink_params($path_to_root . "/sales/customer_delivery.php",
-               _("Confirm Order Quantities and Make Delivery"), "OrderNumber=$order_no");
+               _("Confirm Order Quantities and Make &Delivery"), "OrderNumber=$order_no");
 
        hyperlink_params($path_to_root . "/sales/inquiry/sales_orders_view.php",
-               _("Select A Different Order"), "OutstandingOnly=1");
+               _("Select A Different &Order"), "OutstandingOnly=1");
 
        display_footer_exit();
 
@@ -102,18 +102,18 @@ if (isset($_GET['AddedID'])) {
 
        display_notification_centered(sprintf(_("Delivery # %d has been entered."),$delivery));
 
-       display_note(get_trans_view_str(13, $delivery, _("View This Delivery")));
+       display_note(get_trans_view_str(13, $delivery, _("&View This Delivery")));
        echo '<br>';
-       display_note(print_document_link($delivery, _("Print Delivery Note"), true, 13));
+       display_note(print_document_link($delivery, _("&Print Delivery Note"), true, 13));
 
        hyperlink_params($path_to_root . "/sales/customer_invoice.php",
-       _("Make Invoice Against This Delivery"), "DeliveryNumber=$delivery");
+       _("Make &Invoice Against This Delivery"), "DeliveryNumber=$delivery");
 
        if ((isset($_GET['Type']) && $_GET['Type'] == 1))
        hyperlink_params("inquiry/sales_orders_view.php",
-               _("Enter a New Template Delivery"), "DeliveryTemplates=Yes");
+               _("Enter a New Template &Delivery"), "DeliveryTemplates=Yes");
        else
-       hyperlink_params($_SERVER['PHP_SELF'], _("Enter a New Delivery"), "NewDelivery=0");
+       hyperlink_params($_SERVER['PHP_SELF'], _("Enter a &New Delivery"), "NewDelivery=0");
 
        display_footer_exit();
 
@@ -122,15 +122,15 @@ if (isset($_GET['AddedID'])) {
 
        display_notification_centered(sprintf(_("Invoice # %d has been entered."),$invoice));
 
-       display_note(get_trans_view_str(10, $invoice, _("View This Invoice")));
+       display_note(get_trans_view_str(10, $invoice, _("&View This Invoice")));
        echo '<br>';
-       display_note(print_document_link($invoice, _("Print Sales Invoice"), true, 10));
+       display_note(print_document_link($invoice, _("&Print Sales Invoice"), true, 10));
 
        if ((isset($_GET['Type']) && $_GET['Type'] == 1))
        hyperlink_params("inquiry/sales_orders_view.php",
-               _("Enter a New Template Invoice"), "InvoiceTemplates=Yes");
+               _("Enter a &New Template Invoice"), "InvoiceTemplates=Yes");
        else
-       hyperlink_params($_SERVER['PHP_SELF'], _("Enter a New Direct Invoice"), "NewInvoice=0");
+       hyperlink_params($_SERVER['PHP_SELF'], _("Enter a &New Direct Invoice"), "NewInvoice=0");
 
        display_footer_exit();
 }