mirror of
https://github.com/itflow-org/itflow
synced 2026-03-05 21:34:51 +00:00
Fix Editing Recurring Expenses, update Changelog
This commit is contained in:
@@ -25,12 +25,14 @@ All notable changes to ITFlow will be documented in this file.
|
|||||||
- Added Asset Interface Linking / Connections to determine what interface is connected to what interface port of another asset
|
- Added Asset Interface Linking / Connections to determine what interface is connected to what interface port of another asset
|
||||||
- Added Force Recurring Ticket in more places instead of just recurring tickets
|
- Added Force Recurring Ticket in more places instead of just recurring tickets
|
||||||
- Row span and center devices that take up multiple units in a rack
|
- Row span and center devices that take up multiple units in a rack
|
||||||
|
- Added Tooltips to main nav badge counts to show what its actually counting
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fixed ticket edit modal not showing multi-client/no-client projects
|
- Fixed ticket edit modal not showing multi-client/no-client projects
|
||||||
- Fixed asset interface losing DHCP setting
|
- Fixed asset interface losing DHCP setting
|
||||||
- Fixed creating / editing recurring expenses causing 500 error due to incorrect var name
|
- Fixed creating / editing recurring expenses causing 500 error due to incorrect var name
|
||||||
- Fixed tickets created via portal/email not being marked as billable
|
- Fixed tickets created via portal/email not being marked as billable
|
||||||
|
- Fixed editing Recurring Expense
|
||||||
|
|
||||||
### Removed / Deprecated
|
### Removed / Deprecated
|
||||||
- Deprecated the current cron scripts in the root directory - change cron to use the ones in the scripts subfolder instead
|
- Deprecated the current cron scripts in the root directory - change cron to use the ones in the scripts subfolder instead
|
||||||
|
|||||||
@@ -395,8 +395,6 @@ if (isset($_POST['edit_recurring_expense'])) {
|
|||||||
|
|
||||||
mysqli_query($mysqli,"UPDATE recurring_expenses SET recurring_expense_frequency = $frequency, recurring_expense_day = $day, recurring_expense_month = $month, recurring_expense_next_date = '$start_date', recurring_expense_description = '$description', recurring_expense_reference = '$reference', recurring_expense_amount = $amount, recurring_expense_currency_code = '$session_company_currency', recurring_expense_vendor_id = $vendor, recurring_expense_client_id = $client_id, recurring_expense_category_id = $category, recurring_expense_account_id = $account WHERE recurring_expense_id = $recurring_expense_id");
|
mysqli_query($mysqli,"UPDATE recurring_expenses SET recurring_expense_frequency = $frequency, recurring_expense_day = $day, recurring_expense_month = $month, recurring_expense_next_date = '$start_date', recurring_expense_description = '$description', recurring_expense_reference = '$reference', recurring_expense_amount = $amount, recurring_expense_currency_code = '$session_company_currency', recurring_expense_vendor_id = $vendor, recurring_expense_client_id = $client_id, recurring_expense_category_id = $category, recurring_expense_account_id = $account WHERE recurring_expense_id = $recurring_expense_id");
|
||||||
|
|
||||||
$recurring_expense_id = mysqli_insert_id($mysqli);
|
|
||||||
|
|
||||||
//Logging
|
//Logging
|
||||||
logAction("Recurring Expense", "Edit", "$session_name edited recurring expense $description", $client_id, $recurring_expense_id);
|
logAction("Recurring Expense", "Edit", "$session_name edited recurring expense $description", $client_id, $recurring_expense_id);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user