This commit is contained in:
2019-06-30 23:13:39 -05:00
parent c3eeadece5
commit 3c993c576e
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -45,7 +45,7 @@
{{ $row['fleet_type'] }} {{ $row['fleet_type'] }}
</td> </td>
<td> <td>
{{ $row['actual_srp'] }} {{ number_format($row['actual_srp'], 2, ".", ",") }}
{{ Form::hidden('paid_value', $row['actual_srp'], ['class' => 'form-control']) }} {{ Form::hidden('paid_value', $row['actual_srp'], ['class' => 'form-control']) }}
</td> </td>
<td> <td>