2 /**********************************************************************
3 Copyright (C) FrontAccounting, LLC.
4 Released under the terms of the GNU General Public License, GPL,
5 as published by the Free Software Foundation, either version 3
6 of the License, or (at your option) any later version.
7 This program is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
11 ***********************************************************************/
13 This file contains all application entry points.
17 Transaction editors. First paraneter is transaction number, second (optional) transaction type.
19 $trans_editors = array(
21 ST_JOURNAL => "/gl/gl_journal.php?ModifyGL=Yes&trans_no=%d&trans_type=%d",
22 ST_BANKPAYMENT => "/gl/gl_bank.php?ModifyPayment=Yes&trans_no=%d&trans_type=%d",
23 ST_BANKDEPOSIT => "/gl/gl_bank.php?ModifyDeposit=Yes&trans_no=%d&trans_type=%d",
24 //ST_BANKTRANSFER => ,
26 ST_SALESINVOICE => "/sales/customer_invoice.php?ModifyInvoice=%d",
28 // free hand (debtors_trans.order_==0)
29 // "/sales/credit_note_entry.php?ModifyCredit=%d"
31 // "/sales/customer_credit_invoice.php?ModifyCredit=%d"
32 ST_CUSTCREDIT => "/sales/customer_credit_invoice.php?ModifyCredit=%s",
33 ST_CUSTPAYMENT => "/sales/customer_payments.php?trans_no=%d",
34 ST_CUSTDELIVERY => "/sales/customer_delivery.php?ModifyDelivery=%d",
39 ST_PURCHORDER => "/purchasing/po_entry_items.php?ModifyOrderNumber=%d",
40 ST_SUPPINVOICE => "/purchasing/supplier_invoice.php?ModifyInvoice=%d",
50 ST_SALESORDER => "/sales/sales_order_entry.php?ModifyOrderNumber=%d",
51 ST_SALESQUOTE => "/sales/sales_order_entry.php?ModifyQuotationNumber=%d",