@extends('layouts.app') @section('title', $purchase->invoice_no) @section('content')

{{ $purchase->invoice_no }}

{{ __('app.back') }}
{{ __('app.date') }}{{ $purchase->invoice_date?->format('Y-m-d') }}
{{ __('app.type') }}{{ __('app.'.$purchase->purchase_type) }}
{{ __('app.party') }}{{ $purchase->supplier->name ?? $purchase->customerSeller->name ?? '-' }}
{{ __('app.total') }}{{ number_format($purchase->total,2) }}
{{ __('app.paid') }}{{ number_format($purchase->paid,2) }}
{{ __('app.due') }}{{ number_format($purchase->due,2) }}
@foreach($purchase->mobiles as $m)@endforeach
IMEI{{ __('app.mobile') }}{{ __('app.status') }}{{ __('app.cost') }}
{{ $m->imei_1 }}{{ $m->title() }}{{ __('app.'.$m->stock_status) }}{{ number_format($m->total_cost,2) }}
@endsection