From adf0104b91b5f89bd6ad562b4f3a5f99c4b6d3e5 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 17 Mar 2019 02:18:56 -0400 Subject: [PATCH] Further develpment on invoices, added invoice_history, can not add and delete items from invoice more to come... --- add_invoice_modal.php | 41 ++++++- config.php | 2 +- invoice.php | 279 ++++++++++++++++++++++++++++++++++++++++++ post.php | 43 ++++++- 4 files changed, 358 insertions(+), 7 deletions(-) create mode 100644 invoice.php diff --git a/add_invoice_modal.php b/add_invoice_modal.php index ece76a3c..6e2ce1cb 100644 --- a/add_invoice_modal.php +++ b/add_invoice_modal.php @@ -32,13 +32,48 @@ +
+
+ +
+
+ +
+ " required> +
+
+
+ +
+
+ +
+ +
+
+
+
- +
- +
- " required> +
diff --git a/config.php b/config.php index bbc11141..8b3831a8 100644 --- a/config.php +++ b/config.php @@ -82,7 +82,7 @@ $category_types_array = array( 'Expense', - 'Invoice' + 'Income' ); ?> diff --git a/invoice.php b/invoice.php new file mode 100644 index 00000000..cd90d7d2 --- /dev/null +++ b/invoice.php @@ -0,0 +1,279 @@ + + +2){ + $client_phone = substr($row['client_phone'],0,3)."-".substr($row['client_phone'],3,3)."-".substr($row['client_phone'],6,4); + } + $client_website = $row['client_website']; + +?> +
+
+

Invoice # + INV- + +

+
+
+ +
+
+ +
+
+
+
+ From +
+
+ +
+
+
+
+
+
+ Bill To +
+
+
    +
  • +
  • +
  • +
  • +
  • +
+
+
+
+
+
+
+ Invoice # +
+
+
    +
  • Invoice Date:
  • +
  • Payment Due:
  • +
+
+
+
+
+ + + +
+
+
+
+ Items +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProductDescriptionQtyPriceTaxTotal
+ + $ 0.00
SubTotal$
Tax$
Total$
+
+
+
+
+
+
+
+ +
+
...
+
...
+
...
+
+
+
+
+
+
+
+
+
+ Invoice Note +
+
+ +
+
+
+
+
+
+ History +
+
+ + + + + + + + + + +
DateStatusDescription
+
+
+
+
+
+
+ Payments +
+
+ + + + + + + + + + + +
DateAmountAccount
+
+
+
+
+ + + +