srp admin controller update
This commit is contained in:
@@ -104,7 +104,9 @@ class SRPAdminController extends Controller
|
||||
'id' => 'required',
|
||||
'approved' => 'required',
|
||||
'paid_value' => 'required',
|
||||
|
||||
]);
|
||||
|
||||
//Get the paid value from the form
|
||||
$paidValue = str_replace(',', '', $request->paid_value);
|
||||
//If the notes are not null update like this.
|
||||
|
||||
@@ -49,8 +49,7 @@
|
||||
{{ $row['fleet_type'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ number_format($row['actual_srp'], 2, ".", ",") }}
|
||||
{{ Form::hidden('paid_value', $row['actual_srp'], ['class' => 'form-control']) }}
|
||||
{{ Form::text('paid_value', number_format($row['actual_srp'], 2, ".", ","), ['class' => 'form-control']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::textarea('notes', null, ['class' => 'form-control', 'id' => 'notes', 'rows' => 2, 'cols' => 15, 'style' => 'resize:none']) }}
|
||||
|
||||
Reference in New Issue
Block a user