30 lines
1.5 KiB
PHP
30 lines
1.5 KiB
PHP
@extends('portal::layouts.customer')
|
|
@section('title', __('industrialengineering::lang.portal_cpq'))
|
|
@section('content')
|
|
<section class="content-header">
|
|
<h1>@lang('industrialengineering::lang.portal_cpq')
|
|
<a href="{{ route('customer.cpq.create') }}" class="btn btn-primary pull-right">@lang('industrialengineering::lang.portal_new_configuration')</a>
|
|
</h1>
|
|
</section>
|
|
<section class="content">
|
|
<div class="box box-primary"><div class="table-responsive">
|
|
<table class="table table-bordered table-striped">
|
|
<thead><tr><th>@lang('industrialengineering::lang.ref_no')</th><th>@lang('industrialengineering::lang.name')</th><th>@lang('portal::lang.status')</th><th>@lang('sale.total')</th><th></th></tr></thead>
|
|
<tbody>
|
|
@forelse($configurations as $config)
|
|
<tr>
|
|
<td>{{ $config->ref_no }}</td>
|
|
<td>{{ $config->name }}</td>
|
|
<td>{{ $config->status }}</td>
|
|
<td class="display_currency" data-currency_symbol="true">{{ $config->quoted_price }}</td>
|
|
<td><a href="{{ route('customer.cpq.show', $config->id) }}" class="btn btn-xs btn-info">@lang('portal::lang.view_details')</a></td>
|
|
</tr>
|
|
@empty
|
|
<tr><td colspan="5" class="text-center text-muted">@lang('portal::lang.no_records')</td></tr>
|
|
@endforelse
|
|
</tbody>
|
|
</table>
|
|
</div>{{ $configurations->links() }}</div>
|
|
</section>
|
|
@endsection
|