@extends('layouts.app') @php $moduleName = __('lang.rebate_payment'); $createItemName = __('lang.bulk_upload') . $moduleName; $breadcrumbCurrentName = __('lang.bulk_upload'); $breadcrumbMainName = $moduleName; $breadcrumbMainIcon = 'account_balance_wallet'; $breadcrumbCurrentIcon = 'add_box'; @endphp @section('title') {{ $moduleName }}->{{ $createItemName }} @stop @section('top-bar') @include('includes.top-bar') @stop @section('left-sidebar') @include('includes.left-sidebar') @stop @section('content')

{{ __('lang.instructions_for_bulk_upload') }} {{ $moduleName }}


  • {{ __('lang.registration_entered_in_excel_file_should_be_exist_in_system') }}
  • {{ __('lang.make_sure_the_attributes_entered_in_excel_file_should_be_exist_in_system') }}
  • {{ __('lang.date_format_entered_in_excel_file_should_be_like_01_feb_2021') }}
  • {{ __('lang.check_sample_excel_file_format_mentioned_below_and_put_your_data_accordingly') }}



{{ __('lang.bulk_import_rebate_payment') }}


@csrf


{{ __('lang.please_check_sample_file') }} {{ __('lang.download') }}


@if (count($data ?? []) > 0)
{{ csrf_field() }} @php unset($data[0]) @endphp @foreach ($data as $item) @php $branch_name = $item[0]; $mode_of_payment = $item[1]; $bank_account = $item[2]; $cheque_no = $item[3]; $cheque_date = $item[4]; $voucher_date = $item[5]; $payee_name = $item[6]; $reference_no_1 = $item[7]; $reference_no_2 = $item[8]; $registration_no = $item[9]; $dealer_type = $item[10]; $dealer_name = $item[11]; $amount = $item[12]; $references = [$reference_no_1, $reference_no_2]; $data_arr = [ 'row' => $loop->iteration + 1, 'branch_name' => $branch_name, 'mode_of_payment' => $mode_of_payment, 'bank_account' => $bank_account, 'cheque_no' => $cheque_no, 'cheque_date' => $cheque_date, 'voucher_date' => $voucher_date, 'payee_name' => $payee_name, 'registration_no' => $registration_no, 'dealer_type' => $dealer_type, 'dealer_name' => $dealer_name, 'amount' => $amount, 'references' => $references, ]; @endphp @endforeach
{{ __('lang.project') }} {{ __('lang.mode_of_payment') }} {{ __('lang.bank_cash_account') }} {{ __('lang.cheque_no') }} {{ __('lang.cheque_date') }} {{ __('lang.voucher_date') }} {{ __('lang.payee_name') }} {{ __('lang.reference_no') }} 1 {{ __('lang.reference_no') }} 2 {{ __('lang.registration_no') }} {{ __('lang.dealer_type') }} {{ __('lang.dealer_name') }} {{ __('lang.amount') }}
{{ $branch_name }} {{ $mode_of_payment }} {{ $bank_account }} {{ $cheque_no }} {{ $cheque_date }} {{ $voucher_date }} {{ $payee_name }} {{ $reference_no_1 }} {{ $reference_no_2 }} {{ $registration_no }} {{ $dealer_type }} {{ $dealer_name }} {{ $amount }}
{{ __('lang.project') }} {{ __('lang.mode_of_payment') }} {{ __('lang.bank_cash_account') }} {{ __('lang.cheque_no') }} {{ __('lang.cheque_date') }} {{ __('lang.voucher_date') }} {{ __('lang.payee_name') }} {{ __('lang.reference_no') }} 1 {{ __('lang.reference_no') }} 2 {{ __('lang.registration_no') }} {{ __('lang.dealer_type') }} {{ __('lang.dealer_name') }} {{ __('lang.amount') }}
@endif
@include('layouts.components.error_modal' , ['erro_heading' => __('lang.bulk_import_rebate_payment')]) @endsection @push('include-css') @endpush @push('include-js') @endpush