yeonjih
yeonjih
FFilament
Created by yeonjih on 7/31/2023 in #❓┊help
Update other table from repeater.
didn't know where I put the update code. I try to put the code in AfterCreate() but I got an error.
6 replies
FFilament
Created by yeonjih on 7/31/2023 in #❓┊help
Update other table from repeater.
up
6 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
update data in other tables
Thank you. It works
10 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
update data in other tables
@pboivin Hello regarding this matter 🙂 thank you
10 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
update data in other tables
Hello, my problem now is how to fetch from input text. I got an error if I use fn($get)=>get('field_name') ->actions([ Tables\Actions\Action::make('Qty')

->name('Quantity') // ->iconButton() ->form([Forms\Components\TextInput::make('update_qty') ->name('') ->numeric() ->required() ]) ->action(function($record){ Item::where('id',$record->id) ->update([ "item_qty" => //I need to post here ]); })
10 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
update data in other tables
I will try later. Thank you for response
10 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
update data in other tables
->actions([ Tables\Actions\Action::make('Qty') ->name('Quantity') // ->iconButton() ->form([Forms\Components\TextInput::make('udpate_qty') ->name('') ->numeric() ]) // ->action(function (array $data): void{ // Item::updated([$data]); // }) ->action(function ($get, $state) { DB::table('items') ->where('item_code',$get('item_code')) ->update(['item_qty'=> $get('item_qty')+ $state]); }) ->modalWidth('sm') is this ok to use ?
10 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
Computation from separate repeater
Thank you very much. your code works 🙂
10 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
Computation from separate repeater
10 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
Computation from separate repeater
Thanks. I will try this,
10 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
Computation from separate repeater
10 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
Computation from separate repeater
up
10 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
Hide repeater when edit mode
Thank you 🙂 I will try on this
6 replies
FFilament
Created by yeonjih on 7/27/2023 in #❓┊help
Hide repeater when edit mode
Sorry, I'm newbie in filament. can you elaborate more regarding in ->hidden ?
6 replies
FFilament
Created by yeonjih on 7/26/2023 in #❓┊help
Get the sum of 2 values.
Thank you for the response
9 replies
FFilament
Created by yeonjih on 7/26/2023 in #❓┊help
Get the sum of 2 values.
9 replies
FFilament
Created by yeonjih on 7/26/2023 in #❓┊help
Get the sum of 2 values.
yes,
9 replies