hrank8t
hrank8t
FFilament
Created by hrank8t on 10/3/2024 in #❓┊help
Refresh Heading and Subheading
return new HtmlString( '<div><strong>Age:</strong> ' . $this->record->ageInYears . '<a href="tel:' . $this->record->mobile . '"> <strong>Mob:</strong> ' . $this->record->mobile . '</a>' . $mc . '</div><div>' . '<span title="Total Cost">' . '<strong> TC:</strong> ' . Number::currency($this->record->treatment->sum('cost'), 'INR') . '</span>' . '<span title="Total Paid">' . '<strong> TP:</strong> ' . Number::currency($this->record->payment->sum('amount'), 'INR') . '</span>' . '<span title="Balance" style="color:#ff6b6b">' . '<strong> B:</strong> ' . Number::currency(($this->record->treatment->sum('cost') - $this->record->payment->sum('amount')), 'INR') . '</span></div>' ); This is the code in function getSubHeading() of the View page of a resource. This page also has Many Relation Managers. I want to refresh the Cost, Paid and Balance once the RM table is updated. Any way to do that?
2 replies
FFilament
Created by hrank8t on 6/28/2024 in #❓┊help
select with loading indicator
Any way to make this? While options are being populated, show a loader or some type of text
6 replies
FFilament
Created by hrank8t on 6/23/2024 in #❓┊help
Add another button to Action requiresConfirmation()
Is it possible. I want to show 3 buttons, Yes/No/Maybe button to the modal. Can it be done?
4 replies
FFilament
Created by hrank8t on 5/9/2024 in #❓┊help
Is there any way to make Multiline Select in v3?
As in a title and description in select??
2 replies
FFilament
Created by hrank8t on 5/7/2024 in #❓┊help
One Relationship Manager firing created notification twice
No description
9 replies