new admin dashboard
This commit is contained in:
@@ -1,36 +1,43 @@
|
|||||||
@extends('layouts.admin.b4')
|
@extends('layouts.admin.b4')
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<table class="table table-striped">
|
<div class="card">
|
||||||
<thead>
|
<div class="card-header">
|
||||||
<th>Code</th>
|
<h2>SRP Cost Codes</h2>
|
||||||
<th>Description</th>
|
</div>
|
||||||
<th>Payout Percentage</th>
|
<div class="card-body">
|
||||||
<th>Modify</th>
|
<table class="table table-striped table-bordered">
|
||||||
</thead>
|
<thead>
|
||||||
<tbody>
|
<th>Code</th>
|
||||||
@foreach($costcodes as $code)
|
<th>Description</th>
|
||||||
<tr>
|
<th>Payout Percentage</th>
|
||||||
{!! Form::open(['action' => 'SRP\SRPAdminController@modifyCostCodes', 'method' => 'POST']) !!}
|
<th>Modify</th>
|
||||||
<td>
|
</thead>
|
||||||
{{ $code['code'] }}
|
<tbody>
|
||||||
{{ Form::hidden('code', $code['code']) }}
|
@foreach($costcodes as $code)
|
||||||
</td>
|
<tr>
|
||||||
<td>
|
{!! Form::open(['action' => 'SRP\SRPAdminController@modifyCostCodes', 'method' => 'POST']) !!}
|
||||||
{{ $code['description'] }}
|
<td>
|
||||||
{{ Form::text('description', null, ['class' => 'form-control', 'placeholder' => $code['description']]) }}
|
{{ $code['code'] }}
|
||||||
</td>
|
{{ Form::hidden('code', $code['code']) }}
|
||||||
<td>
|
</td>
|
||||||
{{ $code['payout'] }}
|
<td>
|
||||||
{{ Form::text('payout', null, ['class' => 'form-control', 'placeholder' => $code['payout']]) }}
|
{{ $code['description'] }}
|
||||||
</td>
|
{{ Form::text('description', null, ['class' => 'form-control', 'placeholder' => $code['description']]) }}
|
||||||
<td>
|
</td>
|
||||||
{{ Form::submit('Modify', ['class' => 'btn btn-primary']) }}
|
<td>
|
||||||
</td>
|
{{ $code['payout'] }}
|
||||||
</tr>
|
{{ Form::text('payout', null, ['class' => 'form-control', 'placeholder' => $code['payout']]) }}
|
||||||
{!! Form::close() !!}
|
</td>
|
||||||
@endforeach
|
<td>
|
||||||
</tbody>
|
{{ Form::submit('Modify', ['class' => 'btn btn-primary']) }}
|
||||||
</table>
|
</td>
|
||||||
|
</tr>
|
||||||
|
{!! Form::close() !!}
|
||||||
|
@endforeach
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
Reference in New Issue
Block a user