| Server IP : 45.94.215.241 / Your IP : 216.73.216.243 Web Server : Apache/2.4.66 (Ubuntu) System : Linux srv2937474766 7.0.0-28-generic #28-Ubuntu SMP PREEMPT_DYNAMIC Sun Jun 21 01:01:36 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.5.4 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/nikooacademy_crm/functions/ |
Upload File : |
<?php
function good_log($arguments)
{
global $db;
$transaction_type=$arguments['transaction_type'];
$invoice_date=$arguments['invoice_date'];
$good_id=$arguments['good_id'];
$number=$arguments['number'];
$price_one_buy=$arguments['price_one_buy'];
$price_one_sell=$arguments['price_one_sell'];
$invoice_no_buy=$arguments['invoice_no_buy'];
$buyer_id=$arguments['buyer_id'];
$buyer_invoice_id=$arguments['buyer_invoice_id'];
$comment=$arguments['comment'];
$db->query("insert into goods_log set
transaction_type='".$transaction_type."',
invoice_date='".$invoice_date."',
good_id='".$good_id."',
number='".$number."',
price_one_buy='".$price_one_buy."',
price_one_sell='".$price_one_sell."',
invoice_no_buy='".$invoice_no_buy."',
buyer_id='".$buyer_id."',
buyer_invoice_id='".$buyer_invoice_id."',
comment='".$comment."'
");
}
?>