<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class SaleOrder extends Model
{
    use HasFactory,SoftDeletes;

    protected $fillable = [
		'main_order_no',
		'branch_order_no',
		'voucher_type_code',
		'patient_id',
		'doctor_id',
		'order_type',
		'collection_agent_id',
		'refferal_lab_id',
		'reff_no',
		'bussiness_source_id',
		'payment_term_id',
		'billing_amount',
		'received_amount',
		'discount_amount',
		'due_amount',
		'order_date',
		'remarks',
		'broker_id',
		'operator_id',
		'company_id',
		'status',
		'financial_year_id',
		'industry_type_id',
		'dispatch_from_id',
		'ship_to_id',
		'tracking_id',
		'special_case_id',
		'last_voucher_count',
		'last_voucher_type_count'
	];
}
