diff --git a/add_client_modal.php b/add_client_modal.php index c787fb8e..683f9c98 100644 --- a/add_client_modal.php +++ b/add_client_modal.php @@ -160,7 +160,6 @@ - - Net Terms - $net_term_name) { ?> diff --git a/add_expense_copy_modal.php b/add_expense_copy_modal.php index 2ef3c425..a5ee0b4a 100644 --- a/add_expense_copy_modal.php +++ b/add_expense_copy_modal.php @@ -10,6 +10,7 @@ + Date @@ -19,6 +20,7 @@ " required> + Amount @@ -28,6 +30,11 @@ + + + + + Account @@ -37,23 +44,23 @@ - selected value=""> [$] + selected value=""> [$] - - + Vendor @@ -72,34 +78,12 @@ - selected value=""> - - - - - - Category - - - - - - - selected value=""> + selected value=""> + + Description - + + + Category + + + + + + + selected value=""> + + + + + + Reference @@ -121,11 +131,14 @@ + Receipt + + + Amount @@ -28,6 +29,10 @@ + + + + Account @@ -63,8 +68,7 @@ - - + Vendor @@ -88,6 +92,15 @@ + + + + Description + + + + + Category @@ -111,20 +124,19 @@ - - - Description - - - - Reference - - - + + + Reference + + + + + - + + Receipt diff --git a/add_expense_refund_modal.php b/add_expense_refund_modal.php index f40451f3..d388d554 100644 --- a/add_expense_refund_modal.php +++ b/add_expense_refund_modal.php @@ -2,7 +2,7 @@ - New Refund + Refund × diff --git a/add_invoice_copy_modal.php b/add_invoice_copy_modal.php index 80fd6c91..c5295ab9 100644 --- a/add_invoice_copy_modal.php +++ b/add_invoice_copy_modal.php @@ -9,7 +9,7 @@ - + diff --git a/add_invoice_modal.php b/add_invoice_modal.php index 304e70ea..91a73b51 100644 --- a/add_invoice_modal.php +++ b/add_invoice_modal.php @@ -8,7 +8,6 @@ - diff --git a/add_quote_modal.php b/add_quote_modal.php index e7c4f7df..05e2937e 100644 --- a/add_quote_modal.php +++ b/add_quote_modal.php @@ -8,10 +8,12 @@ - - - + + + + + Client @@ -19,7 +21,7 @@ - > + - Client - + + Date diff --git a/add_recurring_modal.php b/add_recurring_modal.php index 25fb5690..f71599b7 100644 --- a/add_recurring_modal.php +++ b/add_recurring_modal.php @@ -8,19 +8,19 @@ - - - - + + + + Client - > + - Client - + + Start Date diff --git a/add_trip_copy_modal.php b/add_trip_copy_modal.php new file mode 100644 index 00000000..4903ec38 --- /dev/null +++ b/add_trip_copy_modal.php @@ -0,0 +1,188 @@ + + + + + Copy Trip + + × + + + + + + + + Basic + + + Link + + + + + + + + + + + + Date + + + + + + + + + + Miles + + + + + + + + + + + Location + + + + + + + + + + + + + + + + + Purpose + + + + + + + + Invoice + + + + + + - Invoice - + + value=""> + + + + + + + + Client + + + + + + - Client - + + value=""> + + + + + + + + Location + + + + + + - Location - + + value=""> + + + + + + + + Vendor + + + + + + - Vendor - + + value=""> + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/add_trip_modal.php b/add_trip_modal.php index 621f7fd3..044c0702 100644 --- a/add_trip_modal.php +++ b/add_trip_modal.php @@ -9,6 +9,7 @@ + Basic @@ -24,9 +25,8 @@ - - + Date @@ -35,7 +35,7 @@ " required> - + Miles diff --git a/cron.php b/cron.php index 30894064..bb10bd5c 100644 --- a/cron.php +++ b/cron.php @@ -200,7 +200,7 @@ while($row = mysqli_fetch_array($sql_recurring)){ mysqli_query($mysqli,"INSERT INTO history SET history_date = CURDATE(), history_status = 'Sent', history_description = 'Auto Emailed Invoice!', history_created_at = NOW(), invoice_id = $new_invoice_id"); //Update Invoice Status to Sent - mysqli_query($mysqli,"UPDATE invoices SET invoice_status = 'Sent', client_id = $client_id WHERE invoice_id = $new_invoice_id"); + mysqli_query($mysqli,"UPDATE invoices SET invoice_status = 'Sent', invoice_updated_at = NOW(), client_id = $client_id WHERE invoice_id = $new_invoice_id"); }catch (Exception $e) { echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; diff --git a/edit_expense_modal.php b/edit_expense_modal.php index d2a4f64c..06f8014f 100644 --- a/edit_expense_modal.php +++ b/edit_expense_modal.php @@ -2,7 +2,7 @@ - + Edit Expense × @@ -11,7 +11,9 @@ + + Date @@ -21,6 +23,7 @@ + Amount @@ -30,6 +33,10 @@ + + + + Account @@ -39,23 +46,23 @@ - selected value=""> [$] + selected value=""> [$] - - + Vendor @@ -74,12 +80,12 @@ - selected value=""> + selected value=""> + + + + + Description + + + + + Category @@ -96,12 +112,12 @@ - selected value=""> + selected value=""> - - - Description - - - - Reference - - - + + + Reference + + + + + - + + Receipt +