@extends('layouts.admin') @push('title', get_phrase('Invoice')) @section('content')
{{ get_phrase('Invoice') }}

{{ $invoice->invoice }}

  • {{ get_phrase('Issue Date') }} {{ date('d M, Y') }}
  • {{ get_phrase('Purchase Date') }} {{ date('d M, Y', strtotime($invoice->created_at)) }}

{{ get_phrase('Invoice To') }}

@php $user = get_user_info($invoice->user_id); @endphp
  • {{ $user->name }}
  • {{ $user->email }}
  • {{ $user->address }}
  • {{ $user->phone }}

{{ get_phrase('Payment Details') }}

  • {{ get_phrase('Total') }} {{ currency(number_format($invoice->price, 2)) }}
  • {{ get_phrase('Due') }} {{ currency(number_format($invoice->price, 2)) }}
  • {{ get_phrase('Payment Method') }} {{ $invoice->payment_method }}
{{ get_phrase('Description') }} {{ get_phrase('Quantity') }} {{ get_phrase('Price') }} {{ get_phrase('Amount') }}
{{ $invoice->title }} 1 {{ currency(number_format($invoice->price, 2)) }} {{ currency(number_format($invoice->price, 2)) }}
{{ get_phrase('Print') }}
@endsection