javascript test for srp admin dashboard
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
<tbody>
|
||||
|
||||
@foreach($requests as $row)
|
||||
<tr>
|
||||
{!! Form::open(['action' => 'SRP\SRPAdminController@processSRPRequest', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'SRP\SRPAdminController@processSRPRequest', 'method' => 'POST']) !!}
|
||||
<tr>
|
||||
<td><!-- Timestamp -->
|
||||
{{ Form::hidden('id', $row['id'], ['class' => 'form-control']) }}
|
||||
{{ $row['created_at'] }}
|
||||
@@ -38,7 +38,7 @@
|
||||
<a href="{{ $row['zkillboard'] }}" target="_blank">zKill Link</a>
|
||||
</td>
|
||||
<td><!-- Total Loss -->
|
||||
{{ Form::text('total_loss', number_format($row['loss_value'], 2, ".", ","), ['class' => 'form-control', 'onchange' => 'UpdateTotalLoss(this.value,id.value)']) }}
|
||||
{{ Form::text('total_loss', number_format($row['loss_value'], 2, ".", ","), ['class' => 'form-control', 'id' => "1", 'onchange' => 'UpdateTotalLoss(this.value,)']) }}
|
||||
</td>
|
||||
<td><!-- Ship Type -->
|
||||
{{ Form::select('ship_type', $viewShipTypes, $row['cost_code'], ['class' => 'form-control', 'onchange' => 'UpdateShipType(this.value)']) }}
|
||||
@@ -64,8 +64,8 @@
|
||||
<td><!-- Update the row -->
|
||||
{{ Form::submit('Process', ['class' => 'btn btn-primary']) }}
|
||||
</td>
|
||||
{!! Form::close() !!}
|
||||
</tr>
|
||||
{!! Form::close() !!}
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user