@use('App\Services\Date') @extends('companyuser::layouts.master') @section('title', __('sales::invoice_returns.create_new')) @section('extra-styles') @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')