@extends('master.app') @section('title', 'Add Customer Advance') @section('body') {{-- Page Header --}} Add Advance Record customer prepayment and (optional) target cash journal. Back @include('general.valert') Customer Advance Form Fill the fields below and save. Invoice No {{ $number }} @csrf @method('post') {{-- Invoice Number --}} Number * Auto generated. You can edit if needed. {{-- Date --}} Date * @if ($bdate == 1) @else @endif Select the transaction date. {{-- Amount --}} Amount * Enter advance amount. {{-- Customer --}} Customer * Choose Customer @foreach ($customers as $row) {{ $row->name }} @endforeach Select the customer who paid this advance. {{-- Title --}} Title * Short description for this advance. {{-- Currency --}} Currency * Choose Currency @foreach ($currencies as $row) id == 1) selected @endif> {{ $row->title_en }} @endforeach Exchange rate loads automatically. {{-- Exchange Rate --}} Exchange Rate Visible only if currency is not default. {{-- Cash Target --}} Cash Target * Define Cash Target Target Cash: YES Target Cash: NO If YES, it will create cash journal entry. {{-- Details --}} Details Optional notes for internal use. {{-- Actions --}} Cancel Save Advance @endsection @section('pageJs') @endsection