How to display the sum of total amount for selected records with bulk action?
Hello,
I am struggling to find a way to show the sum from the amounts column when I select the rows using the bulkaction.
I want to show the total sum: $1000 like this besides the text 10 records selected just above the table.
Please let me know how can I do that?
Thank you so much.
I am struggling to find a way to show the sum from the amounts column when I select the rows using the bulkaction.
I want to show the total sum: $1000 like this besides the text 10 records selected just above the table.
Please let me know how can I do that?
Thank you so much.

Solution
@98.dev I got it to work
I added these values in the amounts column
then added thsi in ManageDriverPayments.php file
and then finally added this in driver-payment-selected-total-sum.php
and it works great.
I added these values in the amounts column
then added thsi in ManageDriverPayments.php file
and then finally added this in driver-payment-selected-total-sum.php
and it works great.