[simpleinvoices commit] r1753 - branches/current-stable-release/extensions/school/modules/invoices

0 views
Skip to first unread message

codesite...@google.com

unread,
Jul 13, 2008, 4:58:02 AM7/13/08
to simpleinv...@googlegroups.com
Author: linuxppc
Date: Sun Jul 13 01:54:43 2008
New Revision: 1753

Added:

branches/current-stable-release/extensions/school/modules/invoices/consulting.php
(contents, props changed)

branches/current-stable-release/extensions/school/modules/invoices/total.php
(contents, props changed)

Log:
school invoice update

Added: branches/current-stable-release/extensions/school/modules/invoices/consulting.php
==============================================================================
--- (empty file)
+++
branches/current-stable-release/extensions/school/modules/invoices/consulting.php
Sun Jul 13 01:54:43 2008
@@ -0,0 +1,39 @@
+<?php
+/*
+* Script: consulting.php
+* consulting invoice page
+*
+* Authors:
+* Justin Kelly, Nicolas Ruflin
+*
+* Last edited:
+* 2007-07-19
+*
+* License:
+* GPL v2 or above
+*
+* Website:
+* http://www.simpleinvoices.org
+ */
+
+//stop the direct browsing to this file - let index.php handle which
files get displayed
+checkLogin();
+
+
+jsBegin();
+jsFormValidationBegin("frmpost");
+jsTextValidation("biller_id","Biller Name",1,1000000);
+jsTextValidation("customer_id","Customer Name",1,1000000);
+jsValidateifNumZero("i_quantity0","Quantity");
+jsValidateifNum("i_quantity0","Quantity");
+jsValidateRequired("select_products0","Product");
+jsTextValidation("select_tax","Tax Rate",1,100);
+jsPreferenceValidation("select_preferences","Invoice Preference",1,1000000);
+jsFormValidationEnd();
+jsEnd();
+
+$pageActive = "invoices";
+
+include('./extensions/school/modules/invoices/invoice.php');
+
+?>

Added: branches/current-stable-release/extensions/school/modules/invoices/total.php
==============================================================================
--- (empty file)
+++
branches/current-stable-release/extensions/school/modules/invoices/total.php
Sun Jul 13 01:54:43 2008
@@ -0,0 +1,38 @@
+<?php
+/*
+* Script: total.php
+* total invoice page
+*
+* Authors:
+* Justin Kelly, Nicolas Ruflin
+*
+* Last edited:
+* 2007-07-19
+*
+* License:
+* GPL v2 or above
+*
+* Website:
+* http://www.simpleinvoices.org
+ */
+
+//stop the direct browsing to this file - let index.php handle which
files get displayed
+
+checkLogin();
+
+jsBegin();
+jsFormValidationBegin("frmpost");
+jsTextValidation("biller_id","Biller Name",1,1000000);
+jsTextValidation("customer_id","Customer Name",1,1000000);
+jsValidateifNum("gross_total","Gross Total");
+jsTextValidation("select_tax","Tax Rate",1,100);
+jsPreferenceValidation("select_preferences","Invoice Preference",1,1000000);
+jsFormValidationEnd();
+jsEnd();
+
+$pageActive = "invoices";
+$smarty->assign('pageActive', $pageActive);
+
+include('./extensions/school/modules/invoices/invoice.php');
+
+?>

Reply all
Reply to author
Forward
0 new messages