javascript test for srp admin dashboard

This commit is contained in:
2020-03-06 20:12:12 -06:00
parent fb44225163
commit 4299ec13da

View File

@@ -22,8 +22,8 @@
<tbody>
@foreach($requests as $row)
{!! Form::open(['action' => 'SRP\SRPAdminController@processSRPRequest', 'method' => 'POST']) !!}
<tr>
{!! Form::open(['action' => 'SRP\SRPAdminController@processSRPRequest', 'method' => 'POST']) !!}
<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>