wip
This commit is contained in:
1 parent
b79be739fe
commit
a14a99b04a
2 files changed
+13
-2
No files matched your search
+13
@@ -6,6 +6,7 @@
|
||||
use App\Nova\Resources\Branch\Branch;
|
||||
use App\Repos\Order\OrderRepo;
|
||||
use App\Repos\System\Settings\Location\RegionRepo;
|
||||
use Closure;
|
||||
use Laravel\Nova\Fields\Badge;
|
||||
use Laravel\Nova\Fields\BelongsTo;
|
||||
use Laravel\Nova\Fields\DateTime;
|
||||
@@ -61,6 +62,18 @@ public static function make($resource): array
|
||||
->withIcons()
|
||||
->icons(OrderRepo::statusIcons())
|
||||
->sortable(),
|
||||
|
||||
Text::make(__('Paid'), static::paidField()),
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Paid field
|
||||
*/
|
||||
public static function paidField(): Closure
|
||||
{
|
||||
return function () {
|
||||
return 'OK';
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user