@extends('layouts.master') @section('title', 'Quotation Entry | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', __('basic.quotations')) @section('css') @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('basic.quotation') }}
{{ __('basic.new quotation') }} {{ __('basic.search filter') }}
{{ __('basic.quotations') }}
{{ __('basic.quotations') }}
@foreach ($quotation as $item) @endforeach
{{ __('basic.client') }} {{ __('basic.date') }} {{ __('basic.due date') }} {{ __('basic.total amount') }} {{ __('basic.worker') }} {{ __('basic.status') }} {{ __('basic.handle') }}
@if($item->receivable_type === "App\Models\Patient\Patient") {{ $item->receivable->full_name }} @else {{ $item->receivable->company_name }} @endif {{ $item->quot_date }} @if($item->due_date) {{ $item->due_date }} @else {{ __('basic.no due date') }} @endif
{{ $item->final_price . " " . $item->currency->code }}
@if($item->creator) {{ $item->creator->full_name }} @endif @if ($item->status == 1) @php $text_color = 'not_accepted-color-btn'; $msg = __('basic.in progress'); @endphp @elseif ($item->status == 2) @php $text_color = 'pend-color-btn'; $msg = __('basic.send'); @endphp @elseif ($item->status == 3) @php $text_color = 'done-color-btn'; $msg = __('basic.accepted'); @endphp @elseif ($item->status == 4) @php $text_color = 'cancel-color-btn'; $msg = __('basic.rejected'); @endphp @endif {{ $msg }} @role('Super-admin|Accountant-manager|Operation-manager') @endrole
@endsection @section('js') {{-- data table --}} @php $chart_color = ['#1a78f1', '#38dfa8', '#d13c62', '#12c7d9', '#03c2c3', '#5035df', '#17a673', '#2e59d9', '#9aeded', '#f3d56a', '#7c859d', '#a4adc5', '#80142f', '#33d293', '#bed233', '#3958e9', '#10c86f', '#654fb6', '#a44fb6', '#89728e', '#c85110', '#6d769d', '#1b6954', '#204494', '#94206b', '#948320', '#209493', '#292094', '#203a65', '#4e6fa5', '#e29031', '#e23168', '#31e0e2', '#e29131', '#319fe2', '#8131e2', '#31a8e2', '#31e2c0', '#31c3e2', '#e2a931', '#3157e2']; @endphp @endsection