Collect Sum Total

PHOTO EMBED

Tue Dec 07 2021 02:22:13 GMT+0000 (Coordinated Universal Time)

Saved by @GodFather #php

$totalPayment = collect($billingData['payment_not_distirbute'])->sum('balance');
content_copyCOPY