 <?php $__env->startSection('page_title','Customer Receipt'); ?> <?php $__env->startSection('content'); ?><form method="POST" action="<?php echo e(route('customer-receipts.store')); ?>"><?php echo csrf_field(); ?><div class="card top-card"><div class="card-body"><div class="row g-3"><div class="col-md-4"><label>Date</label><input type="date" name="receipt_date" value="<?php echo e(date('Y-m-d')); ?>" class="form-control" required></div><div class="col-md-4"><label>Customer</label><select name="customer_id" class="form-select"><?php $__currentLoopData = $customers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><option value="<?php echo e($c->id); ?>"><?php echo e($c->name); ?></option><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></select></div><div class="col-md-4"><label>Currency</label><select name="currency_id" class="form-select"><?php $__currentLoopData = $currencies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cur): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><option value="<?php echo e($cur->id); ?>"><?php echo e($cur->code); ?></option><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></select></div><input type="hidden" name="exchange_rate" value="1"><div class="col-md-6"><label>Amount</label><input type="number" step="0.01" name="amount" class="form-control" required></div><div class="col-md-6"><label>Payment Method</label><input name="payment_method" value="cash" class="form-control" required></div><div class="col-12"><label>Notes</label><textarea name="notes" class="form-control"></textarea></div><div class="col-12 text-end"><button class="btn btn-success">Save Receipt</button></div></div></div></div></form><?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\petrolmump\resources\views/receipts/customer_create.blade.php ENDPATH**/ ?>