Hoan thien core finance v2
This commit is contained in:
@@ -31,6 +31,12 @@ class PaymentResource extends Resource
|
||||
return PaymentsTable::configure($table);
|
||||
}
|
||||
|
||||
public static function getEloquentQuery(): \Illuminate\Database\Eloquent\Builder
|
||||
{
|
||||
return parent::getEloquentQuery()
|
||||
->with(['scheduleItem.payments']);
|
||||
}
|
||||
|
||||
public static function getPages(): array
|
||||
{
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user