@php($line = $snapshot['line'])
{{ __('messages.phone') }}: {{ $line->phone_number }}
{{ __('messages.customer') }}: {{ $snapshot['customer']?->name ?: '—' }}
{{ __('messages.national_id') }}: {{ $snapshot['customer']?->national_id ?: '—' }}
@if($line->mainAccount || $line->subAccount){{ __('messages.main_account') }}: {{ $line->mainAccount?->name ?: '—' }}
{{ __('messages.sub_account') }}: {{ $line->subAccount?->name ?: '—' }}
@endif{{ __('messages.plan') }}: {{ $snapshot['plan']?->name }} {{ $snapshot['plan'] ? money($snapshot['plan_price']).' / '.__('messages.month') : '' }}
{{ __('messages.package_year') }}: @if($snapshot['year_start']) {{ __('messages.package_year_n', ['n' => $snapshot['year_number'] ?? 1]) }} — {{ $snapshot['year_start']->translatedFormat('F Y') }} / {{ $snapshot['year_end']->translatedFormat('F Y') }} @else — @endif
@if(! empty($snapshot['new_year_opened'])){{ __('messages.new_year_opened') }}
@endif{{ __('messages.paid_through') }}: {{ $snapshot['paid_through']?->label() ?: '—' }}
{{ __('messages.outstanding') }}: {{ money($snapshot['outstanding']) }}