@extends('layouts.admin') @section('title', 'Repair '.$order->tracking_code) @section('content')

{{ $order->tracking_code }}

{{ $order->customer_name }} · {{ $order->customer_phone }} · Status: {{ str_replace('_',' ',$order->status) }}

Edit · Invoice {{ $order->invoice_number }}

@csrf @method('PATCH')

Invoice

@foreach($services as $service)@endforeach
{{ $service->service_name }}${{ number_format((float)$service->price,2) }}
Discount-${{ number_format($invoice['discount']/100,2) }}
Tax${{ number_format($invoice['tax']/100,2) }}
Total${{ number_format($invoice['grand']/100,2) }}
Balance due${{ number_format($invoice['balance']/100,2) }}

Take payment

@csrf

Payments

Deposit receipts

@endsection