@extends('layouts.app') {{--Important Variable--}} @php $moduleName = "Fixing Screen"; $createItemName = __('lang.all'). $moduleName; $breadcrumbMainName = $moduleName; $breadcrumbCurrentName =__('lang.all'); $breadcrumbMainIcon = "account_balance_wallet"; $breadcrumbCurrentIcon = "add_box"; $voucher_types = [ ['id' => 'PV', 'name' => 'Payment Vouhcer'], ['id' => 'JV', 'name' => 'Journal Vouhcer'], ['id' => 'RV', 'name' => 'Receipt Vouhcer'], ]; @endphp @section('title') {{ $moduleName }} -> {{ $breadcrumbCurrentName }} @stop @section('top-bar') @include('includes.top-bar') @stop @section('left-sidebar') @include('includes.left-sidebar') @stop @section('content') @push('include-css') @endpush

Update Voucher Codes


@include('layouts.components.select_field', [ 'col' => 3, 'name' => 'branch_id', 'options' => App\Models\Branch::get(), 'default_option'=> __('lang.select_project'), 'label' => __('lang.project'), 'labelClass' => 'required', ]) @include('layouts.components.date_field', [ 'col' => 3, "name" => "date", "label" => __('lang.voucher_date'), ]) @include('layouts.components.select_field', [ 'col' => 3, 'name' => 'voucher_type', 'options' => $voucher_types, 'default_option'=> __('lang.select_voucher_type'), 'label' => __('lang.voucher_type'), 'labelClass' => 'required', ]) @include('layouts.components.input_field',[ 'col' => 3, 'name' => 'no_of_codes', 'label' => 'No of Codes', 'labelClass' => 'required', ]) @include('admin.partials.unofficial_buttons')
{{__('lang.clear')}}
@csrf @if(count($voucher_codes ??[]) == 0 ) @endif @foreach ($voucher_codes ?? [] as $voucher_code) @endforeach
{{__('lang.sno')}} {{__('lang.voucher_no')}} voucher ID
{{__('lang.there_has_no_data')}}
{{ $loop->iteration }} {{ $voucher_code }}
@if(count($voucher_codes ??[]) != 0 )
@endif
@stop @push('include-css') @endpush @push('include-js') {{----}} {{--All datagrid --}} @endpush