Keika
Keika
FFilament
Created by Keika on 7/30/2024 in #❓┊help
Import Action Examples
The job part. From what I understand, the job associated with the importer does the actual processing (creating/updating) of the record. As I want to update based on a comparision and not simply from a column in the CSV, I think I need to create a new job for that. I can't find what to put in the constructor and handle methods of the the newly created job
4 replies
FFilament
Created by varovas on 7/30/2024 in #❓┊help
Eager loaded relationships filter
I Hope this will help, I was actually looking for that for a trend today. I found this post which basically says to use whereBetween with 2 dates https://www.larahints.com/#how-to-get-records-within-a-quarter Hopefully that's what you need too
14 replies
FFilament
Created by PabloZagni on 7/30/2024 in #❓┊help
badge color from color field
When you have a hexadecimal value you can use: Color::hex(); https://filamentphp.com/docs/3.x/support/colors#generating-a-custom-color-from-a-hex-code To help you to the end result: >color(fn ($record) => Color::hex($record->priority->color))
12 replies
FFilament
Created by Keika on 7/29/2024 in #❓┊help
How to create navigation with groups liked to subqueries
Ah ok. I see. I guess I’m not married to the idea of navigation links. It’s the same amount of clicks as anyway to expand a group it needs to be clicked. Thanks for pointing it out
5 replies
FFilament
Created by Keika on 7/24/2024 in #❓┊help
How to get current viewing resource ID in a Widget
Obviously not. Didn't even think to look in the Panel for info about the widgets. Thanks a lot for that, works like a charm
5 replies
FFilament
Created by Wim on 1/3/2024 in #❓┊help
Conditionally display Form TextInput
How would you progamatically know if there is a voucher?
4 replies
FFilament
Created by Keika on 1/3/2024 in #❓┊help
Description text is same size as TextColumn
Im guessing it's just an illusion, as the code for it on text-column.blade.php:287 is text-sm, like for the regular text
8 replies
FFilament
Created by Keika on 1/3/2024 in #❓┊help
Description text is same size as TextColumn
No description
8 replies
FFilament
Created by Keika on 1/3/2024 in #❓┊help
Description text is same size as TextColumn
No description
8 replies