@extends('layouts.app') @section('title', 'عنوان صفحه') @section('styles') @endsection @section('scripts') @endsection @section('content')
| شناسه | مشتری | مبلغ فروش | ثبتکننده | تخصیص به خرید | وضعیت | تاریخ ثبت | عملیات |
|---|---|---|---|---|---|---|---|
| {{ $sale->id }} | {{ $sale->customer_name }} | {{ number_format($sale->amount) }} | {{ $sale->user->name }} |
@foreach($sale->allocations as $allocation)
به خرید #{{ $allocation->purchase_id }}: {{ number_format($allocation->allocated_amount) }}
@endforeach
|
@if ($sale->status === 'پرداخت شده') {{ $sale->status }} @else {{ $sale->status }} @endif | {{ $sale->created_at->format('Y-m-d') }} | @if ($sale->status !== 'پرداخت شده') آپلود رسید و نهاییسازی @endif |