@extends('admin.layouts.app') @section('panel')
@php $hostings = $order->hostings; $domains = $order->domains; $invoice = $order->invoice; @endphp @permit('admin.order.notes')
@lang('Additional Information or Notes')
@csrf
@endpermit
@csrf
@foreach($hostings as $hosting) @php $product = $hosting->product; @endphp @if(@$hosting->status == 2 && $order->status == 2 && @$product->process() != 'manual') {{-- For hosting/service automation --}} @endif @endforeach @foreach($domains as $domain) @if(@$domain->status == 2 && $order->status == 2 && $domainRegisters) {{-- For domain automation --}} @endif @endforeach {{-- For domain renew --}} @foreach($invoice->items()->where('item_type', 1)->where('next_due_date', '!=', null)->groupBy('domain_id')->cursor() as $renewDomain) @php $domain = $renewDomain->domain; @endphp @endforeach
@lang('Service') @lang('Description') @lang('Billing Cycle') @lang('Amount') @lang('Payment Status') @lang('Status')
@permit('admin.order.hosting.details') {{ __(@$product->item) }} @else {{ __(@$product->item) }} @endpermit {{ __(@$product->serviceCategory->name) }} - @permit('admin.product.update.page') {{ __(@$product->name) }} @else {{ __(@$product->name) }} @endpermit {{ @billingCycle(@$hosting->billing_cycle, true)['showText'] }} {{ showAmount(@$hosting->recurring_amount) }} @php echo $invoice->showStatus; @endphp @php echo $hosting->showStatus; @endphp
@lang('Username')
@lang('Password')
@lang('Server')
@if($product->welcome_email != 0)
@endif
@permit('admin.order.domain.details') @lang('Domain') @else @lang('Domain') @endpermit @lang('Registration') - {{ $domain->domain }} @if($domain->id_protection)
+ @lang('ID Protection') @endif
{{ __($domain->reg_period) }} @lang('Year/s') {{ showAmount(@$domain->recurring_amount) }} @php echo $invoice->showStatus; @endphp @php echo $domain->showStatus; @endphp
@lang('Register')
@permit('admin.order.domain.details') @lang('Domain') @else @lang('Domain') @endpermit @lang('Renew') - {{ $domain->domain }} {{ __($renewDomain->reg_period) }} @lang('Year/s') {{ showAmount(@$renewDomain->recurring_amount) }} @php echo $invoice->showStatus; @endphp @php echo $domain->showStatus; @endphp
@if($order->status == 2)
@permit('admin.order.cancel') @endpermit @permit('admin.order.accept') @endpermit
@endif
{{-- Accept Modal --}} {{-- Cancel Modal --}} {{-- Mark as Modal --}} @endsection @push('breadcrumb-plugins')
@if($order->status != 2) @permit('admin.order.mark.pending') @endpermit @endif @permit('admin.invoices.details') @lang('Invoice') @endpermit
@endpush @push('style') @endpush @push('script') @endpush