@include('contact.partials.ledger_tab')
@if(in_array($contact->type, ['both', 'supplier']))
{!! Form::label('purchase_list_filter_date_range', __('report.date_range') . ':') !!}
{!! Form::text('purchase_list_filter_date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'readonly']); !!}
@include('purchase.partials.purchase_table')
@include('contact.partials.stock_report_tab')
@endif
@if(in_array($contact->type, ['both', 'customer']))
@component('components.widget')
@include('sell.partials.sell_list_filters', ['only' => ['sell_list_filter_payment_status', 'sell_list_filter_date_range', 'only_subscriptions']])
@endcomponent
@include('sale_pos.partials.sales_table')
@if(in_array('subscription', $enabled_modules))
@include('contact.partials.subscriptions')
@endif
@endif
@include('contact.partials.documents_and_notes_tab')
@if( in_array($contact->type, ['customer', 'both']) && session('business.enable_rp'))
@if($reward_enabled)
{{session('business.rp_name')}}
{{$contact->total_rp ?? 0}}
@endif
@lang('messages.date') |
@lang('sale.invoice_no') |
@lang('lang_v1.earned') |
@lang('lang_v1.redeemed') |
@endif
@include('activity_log.activities')
@if(!empty($contact_view_tabs))
@foreach($contact_view_tabs as $key => $tabs)
@foreach ($tabs as $index => $value)
@if(!empty($value['tab_content_path']))
@php
$tab_data = !empty($value['tab_data']) ? $value['tab_data'] : [];
@endphp
@include($value['tab_content_path'], $tab_data)
@endif
@endforeach
@endforeach
@endif