Fixed get_post() support for numeric fields.
[fa-stable.git] / includes / app_entries.inc
1 <?php
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 ***********************************************************************/
12 /*
13         This file contains all application entry points.
14 */
15
16 /*
17         Transaction editors. First paraneter is transaction number, second (optional) transaction type.
18 */
19 $trans_editors = array(
20
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 => ,
25
26         ST_SALESINVOICE => "/sales/customer_invoice.php?ModifyInvoice=%d",
27 //   11=>
28 // free hand (debtors_trans.order_==0)
29 //      "/sales/credit_note_entry.php?ModifyCredit=%d"
30 // credit invoice
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",
35
36         //ST_LOCTRANSFER =>  ,
37         //ST_INVADJUST =>  ,
38
39         ST_PURCHORDER =>  "/purchasing/po_entry_items.php?ModifyOrderNumber=%d",
40         ST_SUPPINVOICE => "/purchasing/supplier_invoice.php?ModifyInvoice=%d",
41
42         //ST_SUPPCREDIT =>  ,
43         //ST_SUPPAYMENT =>  ,
44         //ST_SUPPRECEIVE => ,
45
46         //ST_WORKORDER =>  ,
47         //ST_MANUISSUE =>  ,
48         //ST_MANURECEIVE =>  ,
49
50         ST_SALESORDER => "/sales/sales_order_entry.php?ModifyOrderNumber=%d",
51         ST_SALESQUOTE => "/sales/sales_order_entry.php?ModifyQuotationNumber=%d",
52         //ST_COSTUPDATE =>  ,
53         //ST_DIMENSION =>  ,
54 );