wip on mfs

This commit is contained in:
2024-09-08 19:17:34 +05:00
parent 34b463370d
commit b46dad2183
5 changed files with 191 additions and 16 deletions

View File

@@ -4,6 +4,7 @@ namespace App\Modules\VisaMasterPaymentOrder\Nova\Resources;
use App\Models\Branch\Branch;
use App\Modules\VisaMasterPaymentOrder\Models\VisaMasterPaymentOrder;
use App\Modules\VisaMasterPaymentOrder\Nova\Resources\Concerns\VisaMasterPaymentOrderFieldsForDetail;
use App\Modules\VisaMasterPaymentOrder\Nova\Resources\Concerns\VisaMasterPaymentOrderFieldsForIndex;
use App\Nova\Resource;
use App\Repos\Order\Card\CardOrderRepo;
@@ -102,6 +103,14 @@ class NovaVisaMasterPaymentOrder extends Resource
return VisaMasterPaymentOrderFieldsForIndex::make($this);
}
/**
* Get the fields for detail
*/
public function fieldsForDetail(): array
{
return VisaMasterPaymentOrderFieldsForDetail::make($this);
}
/**
* Get the fields displayed by the resource.
*