@extends('layouts.app') @php if($action == 'create'){ $form_action = route($parentRouteName.'.store_multiple'); $createItemName = __('lang.create') ." " .$moduleName; $breadcrumbCurrentName = __('lang.create'); $submit_button_text = __('lang.save'); $submit_new_button_text = __('lang.save_and_new'); if(!checkRolePermission('Receipts.Edit')){ $redirection_url = route('actual_received.all'); } } else if($action == 'edit'){ $form_action = route($parentRouteName.'.update_multiple',$item->id); $createItemName = __('lang.edit') ." " . $moduleName; $breadcrumbCurrentName = __('lang.edit'); $submit_button_text = __('lang.update'); $submit_new_button_text = __('lang.update_and_new'); $type = $item->type; $voucher_attachments = $item->voucher_attachments; $branch_id = $item->branch_id; $total_receipt_amount = $item->actual_amount ?? 0; $is_multi_receipt = $item->is_multiple; $branch_name = $item->branch_name; $drawnBankselected = $item->drawn_bank; $particulars = $item->particulars; } $breadcrumbCurrentIcon = "add_box"; $drawn_bank = App\Models\Common::ALL_BANKS(); $save_and_new = route($parentRouteName.'.create_multiple'); @endphp @section('title') {{ $moduleName }}->{{ $createItemName }} @stop @section('top-bar') @include('includes.top-bar') @stop @section('left-sidebar') @include('includes.left-sidebar') @stop @section('content') @push('include-css') @endpush

{{ $createItemName }} @if($action=='edit') ( {{$item->receipt_no}} ) @endif


@csrf
@include('admin.partials.officialUnofficial',[ 'data'=>[ 'branch_id' => $item->general_receipt_items[0]->branch_id ?? null , 'is_official' => $item->is_official ?? null, 'type' => 'receipts', ]])
@include('admin.general-receipts.partials.basic_data')
@include('admin.general-receipts.partials.image_upload',['voucher_attachments'=>$voucher_attachments])
@include('admin.general-receipts.partials.general')
{{__('lang.total_receipt_amount')}} {{$transaction->systemSettingCurrency()}}
0
@include('admin.partials.approval', ['save_and_new' => $save_and_new, 'redirection_url' => $redirection_url,'submit_and_pdf'=>true]) @if($action =="edit") @endif {{__('lang.back')}}
@if($action == 'edit')

@endif
@stop @push('include-css') @endpush @push('include-js') @endpush