srp form
This commit is contained in:
@@ -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'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user