Laravel-backpack show total of column #253
-
Is there a way to calculate all the durations and display them at the bottom using backpack? Thanks ! |
Beta Was this translation helpful? Give feedback.
Answered by
tabacitu
Dec 30, 2022
Replies: 1 comment 3 replies
-
you can create a custom function inside your setupListOperation or maybe create Accessor inside your model please provide more details so maybe I can help you with the code Thanks |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm... I don't think that would work. I think what they were trying to achieve (6 months ago, mind you 👀😔) was a TOTAL, placed after the table. In the past, I've only done something like that by creating a custom Widget.