@extends('panel.layouts.app') @section('content')

{{ $title }} Given Information

Edit Id {{ $edit->edit_number }}
Edit Name {{ $edit->order_name }}
Old Order ID {{ $edit->Order_id }}
Created Date {{ $edit->created_at }}
Status @if(!$edit->IsCancelled && !$edit->IsReleased && !$edit->IsDeleted) In Process @endif @if(!$edit->IsCancelled && $edit->IsReleased && !$edit->IsDeleted) Completed @endIf
Instructions {{ $edit->instructions }}
Attachments @foreach($edit->orderAttachments as $attachment) @endforeach

Old Order Details

Order Id {{ $edit->Order_id }}
Order Type {{ $edit->order['Type'] }}
Name {{ $edit->order['NameDesign'] }}
Additional Information {{ $edit->order['AdditionalInfo'] }}

Received Information

@if($edit->IsReleased) @foreach($edit->edit_releases as $i => $release)
Option{{$i+1}}
Width {{$release->Width}}
Height {{$release->Height}}
Stitches {{$release->Stitches}}
Number of colors {{$release->NumberOfColors}}
Attachments @foreach($edit->orderAttachments as $attachment) @endforeach
@endforeach @endif @if(!$edit->IsReleased)

Edit Details not released yet

@endif
@role('admin')

Customer Details

Customer Name {{ $edit->User['name'] }}
Email {{ $edit->User['email'] }}
State {{ $edit->User['state'] }}
Country {{ $edit->User['country_id'] }}
Agent
Working Status Active
Additional Info
@if( !$edit->IsCancelled && !$edit->IsReleased) Edit Release @endif @if( !$edit->IsCancelled && $edit->IsReleased) Delete @endif @endrole @if( !$edit->IsCancelled && !$edit->IsReleased)
@csrf
@endif
@endsection