ζ͜͡Gurthang
ζ͜͡Gurthang
FFilament
Created by ζ͜͡Gurthang on 10/14/2024 in #❓┊help
Sumarize IF.....
I have this column in my table:
TextColumn::make('detalles.total')
->label('Total Detalle')
->getStateUsing(fn ($record) => $record->anulado? 0 : $record->detalles->sum('total'))
->money('ARS')
->summarize([
Sum::make('total')->money('ARS')
]),
TextColumn::make('detalles.total')
->label('Total Detalle')
->getStateUsing(fn ($record) => $record->anulado? 0 : $record->detalles->sum('total'))
->money('ARS')
->summarize([
Sum::make('total')->money('ARS')
]),
this sum every proformas_detalles total where anulado = 0, but when i tried to summarize the total its sums everything. any idea?
4 replies
FFilament
Created by ζ͜͡Gurthang on 9/20/2024 in #❓┊help
Form method executing before mount method?
i have this class in an EditFilament component:
40 replies
FFilament
Created by ζ͜͡Gurthang on 9/11/2024 in #❓┊help
Livewire component in blade template
i have a livewire component table made following the documentation in this link: https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component now i need to add this table or component in a blade file:
<x-filament-panels::page>
{{ $this->table1 }}
</x-filament-panels::page>
<x-filament-panels::page>
{{ $this->table1 }}
</x-filament-panels::page>
i think this is not correct but i dont know how to add it... any help would be apreciated!
6 replies
FFilament
Created by ζ͜͡Gurthang on 9/6/2024 in #❓┊help
Multiple Forms in a Resource Page
Is it posible to have two forms in a Resource??? i have the next resource page where i followed the documentation like that:
6 replies