belongsTo('App\Models\Banking\Account'); } public function bill() { return $this->belongsTo('App\Models\Expense\Bill'); } public function item() { return $this->belongsTo('App\Models\Item\Item'); } public function tax() { return $this->belongsTo('App\Models\Setting\Tax'); } public function scopeLatest($query) { return $query->orderBy('paid_at', 'desc'); } }