@extends('layout.header') @section('title') ALIAN | Admin-Order-Detail @endsection @section('main')

@if(isset($users[0]->invoice_no)) Order # {{$users[0]->invoice_no}} @endif

Client Information
@if(isset($users[0]->invoice_date)) @if(!$users[0]->invoice_date) {{$users[0]->created_at}} @else {{$users[0]->invoice_date}} @endif @endif
@php $check=false; @endphp Client Name: @if(isset($client_name[0]->store_name))

{{$client_name[0]->store_name== ""?'':$client_name[0]->store_name}}

@else

@php $check=true; @endphp

@endif @if(count($productname) == 0) @if(!isset($productname[0]->product_name))

@php $check=true; @endphp

@endif @endif @if($check == true) @endif
Country

@if(isset($users[0]->store_address)) {{$users[0]->store_address}} @endif

Contact Information:

@if(isset($users[0]->store_mobile) || isset($users[0]->store_email)) {{$users[0]->store_mobile}}, {{$users[0]->store_email}} @else - @endif

Order Information
Product(s)
Total Amount
@foreach($users as $sale)
{{$sale->product_name}}
Project Name: {{$project_name}}

Project Type: {{$milestone_detail[0]->project_type}}

{{ $_ENV['APP_MONEY_SYMBOL'] }}{{$sale->total_price}}
@endforeach
@if(isset($users[0]))
@endif
Payment Information
@if(isset($users[0]->payment_type))
Payment Type:

{{$users[0]->payment_type}}

@endif @if(isset($users[0]->paid_amount))
Received Amount:

{{ $_ENV['APP_MONEY_SYMBOL'] }}{{$users[0]->paid_amount}}

@endif @if(isset($users[0]->rem_amount))
Remaining Amount:

{{ $_ENV['APP_MONEY_SYMBOL'] }}{{$users[0]->rem_amount}}

@endif
@if($milestone_detail[0]->project_type == "Fix")
Milestone Details
@endif
@if($milestone_detail[0]->project_type == "Fix")
Milestone Title
Milestone Amount
@endif
Milestone Release date
Milestone Awarded date
Milestone Amount
@if($milestone_detail[0]->project_type == "Fix")
Add New Milestone
@else
Add Hour
@endif
@if(count($milestone_detail)> 0) @foreach($milestone_detail as $milestone)
@if($milestone->project_type == "Fix")
{{$milestone->milestone_title}}
${{$milestone->milestone_amount}}
@if($milestone->paid_type == "paid")
Paid
@else @endif @else @php $houe_dec =explode(':',$milestone->total_hours); $val = $houe_dec[0] + round($houe_dec[1] / 60, 2); @endphp
@if($milestone->paid_type == "paid")
Paid
@else @if($val != 0)
@endif @endif
@endif
@endforeach @endif @foreach($custom_led as $custon_id) @endforeach

Milestone:


Hourly Detail:


Salesperson Information
@if(isset($users[0]))
@if(!file_exists(public_path("sales_images/".$users[0]->profile_image))) @else @endif {{-- --}}

{{$users[0]->name}} {{$users[0]->user_city}}

Phone Number:

{{$users[0]->mobile_no}}

@endif
@include('includes.scripts_print') @endsection