From 4171d9ac5d1098959fbb472c9f4f77361abf9e1e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 22 Mar 2019 03:01:32 -0400 Subject: [PATCH] Added user CRUD functionality added template for reports added delete vendor --- add_user_modal.php | 49 +++++++++++++++ edit_user_modal.php | 51 ++++++++++++++++ mileage.php | 10 ++-- post.php | 112 +++++++++++------------------------ report_expense_summary.php | 92 ++++++++++++++++++++++++++++ report_income_summary.php | 92 ++++++++++++++++++++++++++++ report_income_vs_expense.php | 92 ++++++++++++++++++++++++++++ report_profit_loss.php | 100 +++++++++++++++++++++++++++++++ side_nav.php | 2 +- users.php | 60 +++++++++++++++++++ vendors.php | 2 +- 11 files changed, 578 insertions(+), 84 deletions(-) create mode 100644 add_user_modal.php create mode 100644 edit_user_modal.php create mode 100644 report_expense_summary.php create mode 100644 report_income_summary.php create mode 100644 report_income_vs_expense.php create mode 100644 report_profit_loss.php create mode 100644 users.php diff --git a/add_user_modal.php b/add_user_modal.php new file mode 100644 index 00000000..40edaa40 --- /dev/null +++ b/add_user_modal.php @@ -0,0 +1,49 @@ + \ No newline at end of file diff --git a/edit_user_modal.php b/edit_user_modal.php new file mode 100644 index 00000000..0f1d8a9e --- /dev/null +++ b/edit_user_modal.php @@ -0,0 +1,51 @@ + \ No newline at end of file diff --git a/mileage.php b/mileage.php index f2e5fff3..d1fec25c 100644 --- a/mileage.php +++ b/mileage.php @@ -34,11 +34,11 @@ ?> - - - - - + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CategoryJanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecemberTotal
Expense Category Type$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00
Expense Category Type 2$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00
Total$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00
+
+
+ + + + + + + +
+
+
Income Summary
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CategoryJanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecemberTotal
Income Category Type$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00
Income Category Type 2$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00
Total$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00
+
+
+
+ + + + + + +
+
+
Expense Summary
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CategoryJanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecemberTotal
Category Type$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00
Category Type 2$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00
Total$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00$0.00
+
+
+
+ + + + + + +
+
+
Profit & Loss
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Jan-MarApr-JunJul-SepOct-DecTotal


Income
Income Category Type$0.00$0.00$0.00$0.00$0.00
Income Category Type 2$0.00$0.00$0.00$0.00$0.00
Gross Profit$0.00$0.00$0.00$0.00$0.00


Expenses
Expense Category Type$0.00$0.00$0.00$0.00$0.00
Expense Category Type 2$0.00$0.00$0.00$0.00$0.00
Total Expenses


$0.00$0.00$0.00$0.00$0.00
Net Profit$0.00$0.00$0.00$0.00$0.00
+
+
+
+ +Reports