@use('App\Services\Date') @extends('companyuser::layouts.master') @section('title', __('sales::invoices.create_debit_note')) @section('extra-styles') @if (app()->getLocale() == 'en') @else @endif @endsection @php if (array_keys(request()->query()) && array_keys(request()->query())[0] != 'type') { request()->merge(['type' => array_keys(request()->query())[0]]); } $queryType = request()->query()['type']; $isSimplifiedType = false; if (in_array($queryType, Modules\Sales\Enums\InvoiceTypesEnum::SIMPLIFIED_TYPES) && $isNotSimplifiedOnlyInvoiceCompany) { $isSimplifiedType = true; } @endphp @section('breadcrumb')
@endsection @section('content')