mirror of
https://github.com/itflow-org/itflow
synced 2026-11-11 15:07:24 +00:00
11 lines
410 B
PHP
11 lines
410 B
PHP
<?php
|
|
defined('FROM_POST_HANDLER') || die("Direct file access is not allowed");
|
|
|
|
$date = escapeSql($_POST['date']);
|
|
$category = intval($_POST['category']);
|
|
$scope = escapeSql($_POST['scope'] ?? '');
|
|
$invoice_discount = round(floatval($_POST['invoice_discount'] ?? 0), 2);
|
|
$recurring_discount = round(floatval($_POST['recurring_discount'] ?? 0), 2);
|
|
|
|
$config_invoice_prefix = escapeSql($config_invoice_prefix);
|