@extends('layouts.admin') @section('style') @endSection @php $store_detail = $store->storeDetails[0]; $demo_receipt_value = $store_detail['demo_receipt_value'] ?? []; @endphp @section('script') @endSection @section('content') @php $page_title = $title.' '.$store->name.''.isset($store_detail) ? ' - ' . $store_detail->label : ''.''; @endphp @csrf Details Label * @if ($errors->has('label')) {{ $errors->first('label') }} @endif Image * {{ __('admin_setting.labelFilePicker') }} @if($errors->has('image')) {{ $errors->first('image') }} @endif @if($is_demo_receipt) Content * {{ old('content') ?? $demo_receipt_value['content'] }} @if($errors->has('content')) {{ $errors->first('content') }} @endif Is a Receipt? * @if($errors->has('is_receipt')) {{ $errors->first('is_receipt') }} @endif Simulate Duplicate Receipt? * @if($errors->has('is_simulate_duplicate')) {{ $errors->first('is_simulate_duplicate') }} @endif Simulate Same Day Same Branch Receipt? * @if($errors->has('is_simulate_same_day_same_brand_receipt')) {{ $errors->first('is_simulate_same_day_same_brand_receipt') }} @endif @if(config('sys.smart_receipt_active')) Simulate Pending Approval? * @if($errors->has('is_simulate_pending_approval')) {{ $errors->first('is_simulate_pending_approval') }} @endif Reward Group * Select Reward Group @foreach ($reward_groups ?? [] as $reward_group) {{ $reward_group['name'] }} @endforeach @if($errors->has('reward_item')) {{ $errors->first('reward_item') }} @endif @endif Merchant (Actual) * Select Merchant @foreach ($assets as $asset) {{ $asset['name'] }} @endforeach @if($errors->has('merchant_actual')) {{ $errors->first('merchant_actual') }} @endif Merchant (Demo Auto Selected) @if($errors->has('merchant_demo')) {{ $errors->first('merchant_demo') }} @endif Products (Actual) * Select Product {{-- @foreach ($products as $product) {{ $product['name'] }} @endforeach --}} @if($errors->has('products_actual')) {{ $errors->first('products_actual') }} @endif Products (Demo Auto Selected) Select Product @if($errors->has('products_demo')) {{ $errors->first('products_demo') }} @endif Transaction Amount @if($errors->has('transaction_amount')) {{ $errors->first('transaction_amount') }} @endif @if(config('sys.smart_receipt_active')) Minimum Amount @if($errors->has('min_amount')) {{ $errors->first('min_amount') }} @endif @endif @endif @component('components.utility.modal_confirmation_delete') @endcomponent @endsection