'int', 'quantity' => 'int', // 'unit_price' => 'float', // 'insured_paid_amount' => 'float', // 'insurer_paid_amount' => 'float', 'billed' => 'boolean' ]; protected $fillable = [ 'act_id', 'description', 'quantity', 'unit_price', 'unit_quantity', 'insured_paid_amount', 'insurer_paid_amount', 'billed' ]; public function act() { return $this->belongsTo(NhAct::class, 'act_id'); } }