diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index 8e360c2..c210aaf --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -default: env prepare up key-generate populate +default: env prepare up npm key-generate populate @echo "--> Your environment is ready to use! Access http://laravel.test and enjoy it!" .PHONY: env @@ -17,6 +17,11 @@ up: @./vendor/bin/sail up --force-recreate -d @./vendor/bin/sail art storage:link +.PHONY: npm +npm: + @echo "--> Installing NPM dependencies......" + @./vendor/bin/sail npm install + .PHONY: key-generate key-generate: @echo "--> Generating new laravel key..." @@ -37,4 +42,4 @@ restart: down up .PHONY: play play: - @./vendor/bin/sail art play \ No newline at end of file + @./vendor/bin/sail art play diff --git a/app/Filament/Resources/ProductTransactionResource/Pages/CreateProductTransaction.php b/app/Filament/Resources/ProductTransactionResource/Pages/CreateProductTransaction.php index 0559742..18d0b52 100644 --- a/app/Filament/Resources/ProductTransactionResource/Pages/CreateProductTransaction.php +++ b/app/Filament/Resources/ProductTransactionResource/Pages/CreateProductTransaction.php @@ -7,6 +7,7 @@ use App\Enums\ProductTransactionTypeEnum; use App\Filament\Resources\ProductTransactionResource; use App\Models\Product; +use Filament\Actions\Action; use Filament\Notifications\Notification; use Filament\Resources\Pages\CreateRecord; use Illuminate\Support\Facades\Auth;