'int', 'quantity' => 'int', // 'unit_price' => 'float', // 'insured_paid_amount' => 'float', // 'insurer_paid_amount' => 'float', 'billed' => 'boolean' ]; protected $fillable = [ 'drug_or_device_id', 'dosage', 'quantity', 'unit_price', 'insured_paid_amount', 'insurer_paid_amount', 'billed', 'created_at', 'updated_at' ]; public function drug_or_device() { return $this->belongsTo(NhDrugsAndDevice::class, 'drug_or_device_id'); } }