diff --git a/add_category_modal.php b/add_category_modal.php new file mode 100644 index 00000000..c7549e8d --- /dev/null +++ b/add_category_modal.php @@ -0,0 +1,33 @@ + \ No newline at end of file diff --git a/add_client_modal.php b/add_client_modal.php index d02effba..d27f81ed 100644 --- a/add_client_modal.php +++ b/add_client_modal.php @@ -32,7 +32,12 @@
- +
diff --git a/add_expense_modal.php b/add_expense_modal.php new file mode 100644 index 00000000..df7ad8f5 --- /dev/null +++ b/add_expense_modal.php @@ -0,0 +1,118 @@ + \ No newline at end of file diff --git a/categories.php b/categories.php new file mode 100644 index 00000000..7b5aa80a --- /dev/null +++ b/categories.php @@ -0,0 +1,58 @@ + + + + + +
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + +
NameTypeActions
+ +
+
+
+
+ + + +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']; + ?> diff --git a/config.php b/config.php index c0822a67..bbc11141 100644 --- a/config.php +++ b/config.php @@ -80,4 +80,9 @@ 'US/Pacific' ); + $category_types_array = array( + 'Expense', + 'Invoice' + ); + ?> diff --git a/edit_client_modal.php b/edit_client_modal.php index 2884178e..ba389ead 100644 --- a/edit_client_modal.php +++ b/edit_client_modal.php @@ -9,6 +9,7 @@
diff --git a/edit_expense_modal.php b/edit_expense_modal.php new file mode 100644 index 00000000..6a020a3e --- /dev/null +++ b/edit_expense_modal.php @@ -0,0 +1,117 @@ + \ No newline at end of file diff --git a/expenses.php b/expenses.php index c132f2c0..a6497a51 100644 --- a/expenses.php +++ b/expenses.php @@ -1,12 +1,18 @@ - +
- - Expenses - +
Expenses
+
@@ -28,103 +34,29 @@ $expense_id = $row['expense_id']; $expense_date = $row['expense_date']; $expense_amount = $row['expense_amount']; + $expense_description = $row['expense_description']; + $vendor_id = $row['vendor_id']; $vendor_name = $row['vendor_name']; - $expense_category = $row['expense_category']; + $category_id = $row['category_id']; + $category_name = $row['category_name']; + $account_name = $row['account_name']; + $account_id = $row['account_id']; ?> + - + $ - Amazon - Office Supplies - PNC Bank + + + - - - - 15 Nov 2018 - $14.53 - Amazon - Office Supplies - PNC Bank - - - - - - 15 Nov 2018 - $14.53 - Amazon - Office Supplies - PNC Bank - - - - - - 15 Nov 2018 - $14.53 - Amazon - Office Supplies - PNC Bank - - - - - - 15 Nov 2018 - $1,014.53 - Amazon - Office Supplies - PNC Bank - - @@ -139,6 +79,6 @@
- +