Arghyaashu
Arghyaashu
FFilament
Created by Arghyaashu on 8/23/2024 in #❓┊help
Close action modal with event
OK, thanks for helping me out
16 replies
FFilament
Created by Arghyaashu on 8/23/2024 in #❓┊help
Close action modal with event
when user click on 'x' button
16 replies
FFilament
Created by Arghyaashu on 8/23/2024 in #❓┊help
Close action modal with event
like in inspect it dispatch from x-on:click but in my blade file I didn't mentioned any button. so, How can I use x-on:click? to dispatch the event
16 replies
FFilament
Created by Arghyaashu on 8/23/2024 in #❓┊help
Close action modal with event
..
16 replies
FFilament
Created by Arghyaashu on 8/23/2024 in #❓┊help
Close action modal with event
No description
16 replies
FFilament
Created by Arghyaashu on 8/23/2024 in #❓┊help
Close action modal with event
No description
16 replies
FFilament
Created by Arghyaashu on 8/23/2024 in #❓┊help
Close action modal with event
It worked Perfectly but when event dispatched from second action's form it closes both modals Is there any way to dispatch the even from 'X' button of modal
16 replies
FFilament
Created by Sujay Barma on 8/26/2024 in #❓┊help
How to trigger a click event on 'next' button click in Wizard Step form.
Just dispatch any event from nextAction, when the next button is clicked it will work
6 replies
FFilament
Created by Sujay Barma on 8/26/2024 in #❓┊help
How to trigger a click event on 'next' button click in Wizard Step form.
6 replies
FFilament
Created by Arghyaashu on 8/23/2024 in #❓┊help
Close action modal with event
..
16 replies
FFilament
Created by Arghyaashu on 8/23/2024 in #❓┊help
Close action modal with event
Just to keep it on
16 replies
FFilament
Created by Arghyaashu on 7/12/2024 in #❓┊help
Modal on action
can give an example Action::make('refund') ->label(' Refund') ->requiresConfirmation() ->action(function ($record) { if ($paymentGateway == 'Payment Terminals') { $response = json_decode(ValorVirtualTerminal::issueRefundAPI($record->id), true);
Action::make('refund') ->label(' Refund') ->modalContent(fn ($record) => view('livewire.refund-response-modal', ['record' => $record])) ->requiresConfirmation(); Notification::make() ->title('Refunded Successfully.') ->body($response['msg']) ->persistent() ->send(); } }) ->icon('heroicon-o-arrow-uturn-left') ->disabled(fn ($record) => $record->status === 'refund' ? true : false) ->extraAttributes(fn () => ['class' => 'mfm-box-shadow p-2 refund-action']), It's not opening any modal and I don't know if I am doing any thing wrong
6 replies
FFilament
Created by Arghyaashu on 6/29/2024 in #❓┊help
Multiple Joins and filter with QueryBuilder
It seems like filter is working separately from table. If didn't joined tables than that output would be understandable.
18 replies
FFilament
Created by Arghyaashu on 6/29/2024 in #❓┊help
Multiple Joins and filter with QueryBuilder
It simply checks which contact is Buyer than give all the status of that contact even if other status in not buyer.
18 replies
FFilament
Created by Arghyaashu on 6/29/2024 in #❓┊help
Multiple Joins and filter with QueryBuilder
nope, it accepts relationship.column and gives same result as before.
18 replies
FFilament
Created by Arghyaashu on 6/29/2024 in #❓┊help
Multiple Joins and filter with QueryBuilder
nope, I tried that by using QueryBuilder::make() ->filters([]), but there no filters method in query builder
18 replies
FFilament
Created by Arghyaashu on 6/29/2024 in #❓┊help
Multiple Joins and filter with QueryBuilder
No description
18 replies
FFilament
Created by Arghyaashu on 6/29/2024 in #❓┊help
Multiple Joins and filter with QueryBuilder
but the custom filter works fine it gives all status as buyer
18 replies
FFilament
Created by Arghyaashu on 6/29/2024 in #❓┊help
Multiple Joins and filter with QueryBuilder
No description
18 replies
FFilament
Created by Arghyaashu on 6/29/2024 in #❓┊help
Multiple Joins and filter with QueryBuilder
I am doing it like this QueryBuilder::make() ->constraints([ SelectConstraint::make('status') ->options([ 'Registered' => 'Registered', 'Checked In' => 'Checked In', 'Buyer' => 'Buyer', ]), ]) which result in this error SELECT count(*) AS aggregate FROM "contacts" LEFT JOIN "contact_event" ON "contacts"."mfm_contact_id" = "contact_event"."contact_id" LEFT JOIN "events" ON "contact_event"."event_id" = "events"."mfm_event_id" LEFT JOIN "coaching_contact" ON "contacts"."id" = "coaching_contact"."contact_id" LEFT JOIN "coachings" ON "coaching_contact"."coaching_id" = "coachings"."id" LEFT JOIN "invoices" ON "invoices"."contact_id" = "contacts"."mfm_contact_id" LEFT JOIN "services" ON "invoices"."service_id" = "services"."id" WHERE ("contacts"."status" = Buyer) AND "contacts"."deleted_at" IS NULL here it is searching for status in contacts but status is in contact_event how can I specify the table name
18 replies