<?php

namespace App\Model\sale;

use Illuminate\Database\Eloquent\Model;

class SaleHistoryModel extends Model
{
    protected $table = "nso007_sales_history";

    protected $fillable = [
        'driver_id',
        'sale_id',
        'edited_by',
        'edited_at',
        'customer_id',
        'user_id',
        'request_by',
        'warehouse_id',
        'rate',
        'rate_baht',
        'invoice_number',
        'year',
        'sale_date',
        'paid_amount_kh',
        'paid_amount_usd',
        'paid_amount_baht',
        'refund_amount',
        'refund_currency',
        'refund_reason',
        'refund_status',
        'discount',
        'payment_status',
        'status',
        'note',
        'return_status',
        'is_role',
        'sale_type',
        'request_type',
        'seen_at',
        'delivery_fee',
        'delivery_note',
        'delivery_phone',
        'delivery_status',
        'done_date',
        'daily_order_number',
        'created_at',
        'updated_at',
    ];
}
