Compare commits
2 Commits
d1031d8a6e
...
8a0e7d6878
| Author | SHA1 | Date | |
|---|---|---|---|
| 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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user