@if(UserRole::has('detail_quotation') || UserRole::has('delete_quotation')) @endif @foreach($quotations as $quotation) @if(UserRole::has('detail_quotation') || UserRole::has('delete_quotation')) @endif @endforeach
{{ trans('quotations.id')}} {{ trans('quotations.total_price')}} {{ trans('dashboard.others.status')}} {{ trans('quotations.created_at')}}{{ trans('dashboard.crud.actions')}}
{{ $quotation->id }} {{ money(CustomerQuotation::getTotal($customer->id,$quotation->id)) }} {{ $quotation->status }} {{ $quotation->created_at }} @if(UserRole::has('detail_quotation')) {{trans('dashboard.others.detail')}} @endif @if(UserRole::has('delete_quotation')) {{Trans("dashboard.crud.remove")}} @include('layouts.includes.modals.danger', ['model' => $quotation,'toRoute'=>'delete.quotation','attribute'=>'id']) @endif