@extends('dashboard.base') @section('content')

Child Invoices

@php $isTitaniumCustomer = checkIsCustomerTitanium($invoice->customer_id); $badgeHtml = ''; if($isTitaniumCustomer){ $badgeHtml = ''; } @endphp

Parent : {{ "#".$invoice->number ?? "" }}

IG Handle:
{!! ($invoice->ig_handle." ".$badgeHtml) ?? "" !!}
Order status:
{{ config('constants.invoice_order_status')[$invoice->order_status] ?? "-" }}
Total Shipped:
{{ $invoice->customer->getTotalShippedCount() ?? "0" }}
@if($errors->any())
{!! implode('', $errors->all('')) !!} @endif @if(session()->has('message'))
@endif @if(session()->has('error'))
@endif
{{$dataTable->table(['class' => 'table table-striped table-bordered dt-responsive', 'style' => 'width:100%;'])}}
@endsection @section('javascript') @push('scripts') {{$dataTable->scripts()}} @endpush @endsection