@extends('layouts.guest') @include('layouts.profilestyle') @section('content')

Sales Inquiry

@if (Session::has('success')) @endif
{{--

Add Employee

--}}
@if(auth()->user()->can('inquiry_create')) Add @endif
{{ $dataTable->table(['class' => 'table table-bordered table-hover table-striped w-100']) }} {{-- @foreach ($inquiry as $inq) @endforeach --}} {{ $dataTable->scripts(attributes: ['type' => 'module']) }} @endsection
Inquiry No Inquiry Date Client Contact Number Status Action
{{ $inq->inquiry_no }} {{ $inq->inquiry_datetime }} {{ $inq->client_name }} {{ $inq->contact_number }} @if ($inq->assign_inquiry_employee_id > 0) Assign @else Pending @endif @can('inquiry_view') @endcan @can('inquiry_edit') @endcan @can('inquiry_delete') @endcan @can('inquiry_approve') @if($inq->reject_status == 1) Assign @else Assign @endif @endcan