stan errors
This commit is contained in:
1 parent
8ce5db8df0
commit
dea84541ef
15 files changed
+65
-160
No files matched your search
+1
-1
@@ -23,7 +23,7 @@ class TuitionPaymentOrderFieldsForDetail
|
||||
/**
|
||||
* Get fields for detail view
|
||||
*
|
||||
* @return array<int, Panel|\Laravel\Nova\Fields\Field|array<int, \Laravel\Nova\Fields\Field>>
|
||||
* @return array<int, \Laravel\Nova\Panel>
|
||||
*/
|
||||
public static function make(NovaTuitionPaymentOrder $resource): array
|
||||
{
|
||||
|
||||
+4
-1
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Modules\TuitionPaymentOrder\Nova\Resources\Concerns;
|
||||
|
||||
use App\Modules\TuitionPaymentOrder\Nova\Resources\NovaTuitionPaymentOrder;
|
||||
use App\Nova\Resources\Branch\Branch;
|
||||
use App\Repos\Order\OrderRepo;
|
||||
use App\Repos\System\Settings\Location\RegionRepo;
|
||||
@@ -16,8 +17,10 @@ class TuitionPaymentOrderFieldsForIndex
|
||||
{
|
||||
/**
|
||||
* Loan Order fields for "create"
|
||||
*
|
||||
* @return array<int, \Laravel\Nova\Fields\Field>
|
||||
*/
|
||||
public static function make($resource): array
|
||||
public static function make(NovaTuitionPaymentOrder $resource): array
|
||||
{
|
||||
return [
|
||||
ID::make()->hide(),
|
||||
|
||||
@@ -24,9 +24,6 @@
|
||||
use Nurmuhammet\NovaInputmask\NovaInputmask;
|
||||
use Outl1ne\NovaSimpleRepeatable\SimpleRepeatable;
|
||||
|
||||
/**
|
||||
* @template TModel of \App\Modules\TuitionPaymentOrder\Models\TuitionPaymentOrder
|
||||
*/
|
||||
class NovaTuitionPaymentOrder extends Resource
|
||||
{
|
||||
/**
|
||||
@@ -96,6 +93,8 @@ public static function afterCreate(NovaRequest $request, Model $model): void
|
||||
|
||||
/**
|
||||
* Get the fields for index.
|
||||
*
|
||||
* @return array<int, \Laravel\Nova\Fields\Field>
|
||||
*/
|
||||
public function fieldsForIndex(): array
|
||||
{
|
||||
@@ -104,6 +103,8 @@ public function fieldsForIndex(): array
|
||||
|
||||
/**
|
||||
* Get the fields for detail
|
||||
*
|
||||
* @return array<int, \Laravel\Nova\Panel>
|
||||
*/
|
||||
public function fieldsForDetail(): array
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user