Pablo Torres
Summary to calculate VAT if not exempt.
Thank you for help and time...
I have followed your advice and now I have it working:
From:
https://filamentphp.com/docs/3.x/panels/resources/relation-managers#importing-related-records
Thank you Tim.
4 replies
In a table display custom text when column is null. Works on v2 but not on v3.
Hi, Implementing '->default('Not yet')' I get the following error:
Could not parse 'Not yet': Failed to parse time string (Not yet) at position 0 (N): The timezone could not be found in the database
4 replies
Browser does not refresh on file save (Docker)
Working by adding the following on AppServiceProvider.php
Following:
https://www.answeroverflow.com/m/1162045851183611945#solution-1162066119511789659
Thanks.
3 replies
Tooltip available only if return has value.
Thank you @leandro_ferreira ,
Following your advice...
It works nicely.
I hope you don't mind...
I hope I'm learning the right way.
The first "?" is there to check if a value type string is returned (date/time cast)
The second "?" is there working with ":" checking if the value is returned, if yes I show my text and date/time otherwise empty
Correct?
Thank you.
5 replies
Customizing data before saving
Thank you...
I think I had my code wrong...
By default "is_ready" is false.
So, I have to check if it is false:
"if ( ! $this->record->is_ready) ..."
not:
"if ( $this->record->is_ready) ..."
Thanks for your time.
9 replies
Customizing data before saving
Thanks...
I'll look at that, just one question if you have the time, please.
The "mutateFormDataBeforeSave" approach you consider not good for the case?
Thanks.
https://filamentphp.com/docs/2.x/admin/resources/editing-records#customizing-data-before-saving
9 replies
Cents on DB how to show in money?
The solution here
https://filamentphp.com/docs/2.x/admin/resources/viewing-records#customizing-data-before-filling-the-form
3 replies
Form, Grid to have Sections on main area with side area.
Looks like the answer is here
https://github.com/filamentphp/demo/blob/main/app/Filament/Resources/Shop/ProductResource.php
3 replies