{{-- A good traveler has no fixed plans and is not intent upon arriving. --}}
@livewire('general.loader')
@livewire('client.components.toolbar', [$confirm_invoice]) @if (session()->get('LoggedClient') != null) @if (session()->has('success'))
{{ session('success-modal') }} {{-- Anyone with a link can now view this file --}}
@endif @if (session()->has('error'))
{{ session('error-modal') }} {{-- Anyone with a link can now view this file --}}
@endif @if ($activity != '' )
Confirm Invoice of ${{ $activity->value }} per page for this task
@endif @elseif(auth()->user() != null) @if ($InvoiceAccepted)
Invoice Accepted.
@endif @if ($InvoiceRejected)
Your was invoice rejected.
@endif @endif @livewire('client.components.order-sum-with-chatbox', [$orderDetails, $revisions, $clientFiles, $confirm_invoice, $total_fee, $user_type, $orderId ])
{{-- @livewire('client.components.order-submision', [$orderDetails, $revisions, $clientFiles, $orderStatus, $companyFiles, $writerFiles]) --}} @guest @if (!$orderStatus)
Get Your Order Here

@if (count($companyFiles) > 0) @foreach ($companyFiles as $companyFile) @endforeach @elseif(count($writerFiles)>0) @foreach ($writerFiles as $writerFile) @endforeach @else

*** Yet to be uploaded ***

@endif
@if (count($companyFiles) > 0 || count($writerFiles)> 0)
@if ($this->orderCurrentStatus($orderDetails->id) == "Client")

Accepting Order From Writer

Before accepting the order, preview the work and assertain that everything is okay.

@if ($acceptBtn)
@endif @if ($accept_section)

Leave a comment (Optional)

@endif

Rejecting Order

Before rejecting the order, preview the work and assertain that instructions you gave were not followed.

@if ($rejectBtn)
@endif @if ($reject_section)

Add Files (Optional)

@endif
@else @endif
@endif
@endif @endguest @auth @if (!$orderStatus)
Order Submision

@foreach ($companyFiles as $companyFile)
@if (session()->has('message'))
{{ session('message') }}
@endif
@endforeach
@if (session()->has('success'))
{{ session('success') }}
@endif

Add Files

Attached Files

@foreach ($writerFiles as $writerFile)
@if (session()->has('message'))
{{ session('message') }}
@endif
@if(($this->orderCurrentStatus($writerFile->order_id) ) === auth()->user()->role || $orderNextLevel) @else

***No Files Found***

@endif
@endforeach
@if ($showOperationSection)

Accepting Order From Writer

Before accepting the order, preview the work and assertain that everything is okay.

@if ($acceptBtn)
@endif @if ($accept_section)

Leave a comment (Optional)

@endif

Rejecting Order

Before rejecting the order, preview the work and assertain that instructions you gave were not followed.

@if ($rejectBtn)
@endif @if ($reject_section)

Add Files (Optional)

@endif
@else @endif
@endif @endauth