31 lines
1.4 KiB
PHP
31 lines
1.4 KiB
PHP
<div class="tab-pane" id="supplychain_tab">
|
|
<div class="row" style="margin-bottom:15px;">
|
|
<div class="col-md-12">
|
|
@can('supplychain.scorecard.create')
|
|
<form method="POST" action="{{ action([\Modules\SupplyChain\Http\Controllers\SupplierScorecardController::class, 'calculateSupplier'], $contact->id) }}" style="display:inline;">
|
|
@csrf
|
|
<button type="submit" class="btn btn-primary btn-sm pull-left">
|
|
<i class="fa fa-calculator"></i> @lang('supplychain::lang.calculate_scorecards')
|
|
</button>
|
|
</form>
|
|
@endcan
|
|
</div>
|
|
</div>
|
|
<div class="table-responsive">
|
|
<table class="table table-bordered table-striped" id="sc_contact_scorecards_table">
|
|
<thead>
|
|
<tr>
|
|
<th>@lang('supplychain::lang.period')</th>
|
|
<th>@lang('supplychain::lang.overall_score')</th>
|
|
<th>@lang('supplychain::lang.otif_score')</th>
|
|
<th>@lang('supplychain::lang.quality_score')</th>
|
|
<th>@lang('supplychain::lang.risk_level')</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="sc_contact_scorecards_body">
|
|
<tr><td colspan="5" class="text-center text-muted">@lang('supplychain::lang.loading')</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|