mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Update constructs to not have parenthesis.
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
|
||||
if (isset($_POST['add_transfer'])) {
|
||||
|
||||
require_once('post/transfer_model.php');
|
||||
require_once 'post/transfer_model.php';
|
||||
|
||||
|
||||
mysqli_query($mysqli,"INSERT INTO expenses SET expense_date = '$date', expense_amount = $amount, expense_currency_code = '$session_company_currency', expense_vendor_id = 0, expense_category_id = 0, expense_account_id = $account_from");
|
||||
$expense_id = mysqli_insert_id($mysqli);
|
||||
@@ -27,7 +28,8 @@ if (isset($_POST['add_transfer'])) {
|
||||
|
||||
if (isset($_POST['edit_transfer'])) {
|
||||
|
||||
require_once('post/transfer_model.php');
|
||||
require_once 'post/transfer_model.php';
|
||||
|
||||
|
||||
$transfer_id = intval($_POST['transfer_id']);
|
||||
$expense_id = intval($_POST['expense_id']);
|
||||
|
||||
Reference in New Issue
Block a user