Deploy Ladill Care / deploy (push) Failing after 13s
Healthcare management app: patients, appointments, consultations, lab, pharmacy inventory, billing, and reports at care.ladill.com. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
556 B
PHP
25 lines
556 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use App\Models\Concerns\BelongsToOwner;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
class BillLineItem extends Model
|
|
{
|
|
use BelongsToOwner;
|
|
|
|
protected $table = 'care_bill_line_items';
|
|
|
|
protected $fillable = [
|
|
'owner_ref', 'bill_id', 'type', 'description', 'quantity',
|
|
'unit_price_minor', 'total_minor', 'source_type', 'source_id',
|
|
];
|
|
|
|
public function bill(): BelongsTo
|
|
{
|
|
return $this->belongsTo(Bill::class, 'bill_id');
|
|
}
|
|
}
|