@extends('layouts.app') @push('style') @endpush @section('main')

Edit Sale #{{ $sale->id }}

Edit Sale Information

@if(session('success')) @endif @if($errors->any()) @endif
@csrf @method('PUT')
@php $transactions = $sale->sellTransactions; @endphp @if($transactions && $transactions->count() > 0) @foreach($transactions as $index => $transaction)
@endforeach @else
No products found for this sale. Please add products.
@endif

Sale Summary

Subtotal: {{ $all_settings->currency ?? 'BDT' }} {{ number_format($sale->total_amount, 2) }}
Tax (if any): {{ $all_settings->currency ?? 'BDT' }} 0.00
Total: {{ $all_settings->currency ?? 'BDT' }} {{ number_format($sale->total_amount, 2) }}

Sale Information

Sale ID: #{{ $sale->id }}

Created: {{ $sale->created_at->format('d M Y, H:i A') }}

Payment Status: {{ ucfirst($sale->payment_status) }}

@endsection @push('script') @endpush