Compare commits
3 Commits
d1031d8a6e
...
renovate/a
| Author | SHA1 | Date | |
|---|---|---|---|
| e501e91673 | |||
| 8a0e7d6878 | |||
|
|
81d2f4bd2c |
@@ -458,9 +458,9 @@ class ProcessOrderResource extends Resource
|
|||||||
->options([0 => 'No', 1 => 'Yes'])
|
->options([0 => 'No', 1 => 'Yes'])
|
||||||
->reactive()
|
->reactive()
|
||||||
->afterStateUpdated(function (callable $set, callable $get, ?string $state) {
|
->afterStateUpdated(function (callable $set, callable $get, ?string $state) {
|
||||||
// if ($get('id') && $get('rework_status') == 1) {
|
if ($state == 0) {
|
||||||
// $set('rework_status', 1);
|
$set('scrap_quantity', '0');
|
||||||
// }
|
}
|
||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$set('updated_by', Filament::auth()->user()?->name);
|
||||||
})
|
})
|
||||||
->rule(function (callable $get, callable $set) {
|
->rule(function (callable $get, callable $set) {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^8.2",
|
"php": "^8.2",
|
||||||
"alperenersoy/filament-export": "^3.0",
|
"alperenersoy/filament-export": "^3.0",
|
||||||
"althinect/filament-spatie-roles-permissions": "^2.3",
|
"althinect/filament-spatie-roles-permissions": "^3.0",
|
||||||
"erag/laravel-pwa": "^1.9",
|
"erag/laravel-pwa": "^1.9",
|
||||||
"filament/filament": "^3.3",
|
"filament/filament": "^3.3",
|
||||||
"intervention/image": "^3.11",
|
"intervention/image": "^3.11",
|
||||||
|
|||||||
Reference in New Issue
Block a user