wip
This commit is contained in:
commit
ae480cf2f6
2768 files changed
+1485826
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Nova\Repeater;
|
||||
|
||||
use Laravel\Nova\Fields\Repeater\Repeatable;
|
||||
use Laravel\Nova\Http\Requests\NovaRequest;
|
||||
use Nurmuhammet\InventoryHistoryItems\InventoryHistoryItems;
|
||||
|
||||
class InventoryHistoryItemRepeater extends Repeatable
|
||||
{
|
||||
/**
|
||||
* Get the fields displayed by the repeatable.
|
||||
*/
|
||||
public function fields(NovaRequest $request): array
|
||||
{
|
||||
return [
|
||||
InventoryHistoryItems::make(__('Products'), 'quantity')
|
||||
->fullWidth()
|
||||
->options([])
|
||||
->fillUsing(function ($request, $model, $attribute, $requestAttribute) {}),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user