srp payout

This commit is contained in:
2019-06-30 02:58:43 -05:00
parent a9734c90d9
commit 741a707994
2 changed files with 2 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ class SRPAdminController extends Controller
foreach($payouts as $p) {
if($r['ship_type'] == $p->code) {
$temp['actual_srp'] = $temp['loss_value'] * ($p->payout / 100.00 );
$temp['actual_srp'] = number_format($temp['actual_srp'], 2, '.', ',');
}
}