| Server IP : 14.225.204.176 / Your IP : 216.73.216.169 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/thanhphuong/app/ |
Upload File : |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class ProductPurchase extends Model
{
protected $table = 'product_purchases';
protected $fillable = [
"purchase_id",
"product_id",
"variant_id",
"qty",
"recieved",
"purchase_unit_id",
"net_unit_cost",
"discount_percent",
"discount",
"total_cost_unit",
"tax_rate",
"tax",
"total", // Thành tiền
"package_number", //Số lô
"made_in", //Xuất xứ
"lot_number", //Số lot
"serial_number", //Số serial
"batch_number", //Số batch
"manufacturing_date", //Ngày sản xuất (MFG)
"expiry_date", // Hạn sử dụng
"circulation_number", //Số lưu hành
"classify", // Phân loại
"manufacturer", //Nhà sản xuất
"address_manufacturer", //Địa chỉ nhà sản xuất
"owner_circulation_number", //Chủ sở hữu số lưu hành
"address_circulation", //Địa chỉ chủ sở hữu lưu hành
"contract_number",
"invoice_number",
"invoice_date",
"oc_number", //Số order confirmation
"tr_number",
"unit_price", // Đơn giá EUR/USD
"created_at",
"updated_at",
"tax_import",
"allocation_cost"
];
}