@extends('master.app') @section('title', 'Edit Customer Advance') @section('body') {{-- Page Header --}} Edit Advance Update customer prepayment information safely. Back @include('general.valert') Edit Customer Advance Modify fields and click update. Invoice No {{ $data->invoice_number }} @csrf @method('put') {{-- Invoice Number --}} Number * Invoice / reference number. {{-- Date --}} Date * @if ($bdate == 1) @else @endif Transaction date. {{-- Amount --}} Amount * Advance amount. {{-- Customer --}} Customer * Choose Customer @foreach ($customers as $row) id == $data->customer_id) selected @endif> {{ $row->name }} @endforeach Select the customer. {{-- Title --}} Title * Short note about this advance. {{-- Currency --}} Currency * Choose Currency @foreach ($currencies as $row) id == $data->currency_id) selected @endif> {{ $row->title_en }} @endforeach If not default currency, exchange rate will show. {{-- Exchange Rate --}} Exchange Rate Update only if needed. {{-- Cash Target --}} Cash Target * Define Cash Target c_target == 1) selected @endif>Target Cash: YES c_target == 2 || $data->c_target == null) selected @endif>Target Cash: NO YES = update/create cash journal, NO = delete it. {{-- Details --}} Details {{ $data->details }} Optional notes. {{-- Actions --}} Cancel Update Advance @endsection @section('pageJs') @endsection