@if ($lab->invoice_item->invoice->status == 0)
@php
$text_color_invoice = 'cancel-color-btn';
$msg_invoice = __('basic.not paid');
@endphp
@elseif ($lab->invoice_item->invoice->status == 1)
@php
$text_color_invoice = 'pend-color-btn';
$msg_invoice = __('basic.pending');
@endphp
@elseif ($lab->invoice_item->invoice->status == 2)
@php
$text_color_invoice = 'done-color-btn';
$msg_invoice = __('basic.paid');
@endphp
@endif
{{ __('basic.payment status') }}
{{ $msg_invoice
}}
{{ __('basic.payment code') }}
{{ $lab->invoice_item->invoice->code }}