@if(!empty($activities))
| @lang('lang_v1.date') | @lang('messages.action') | @lang('lang_v1.by') | @lang('brand.note') |
|---|---|---|---|
| {{@format_datetime($activity->created_at)}} | @php $translationKey = 'lang_v1.' . $activity->description; $translation = __($translationKey); @endphp @if($translation !== $translationKey) {{ $translation }} @else {{ str_replace('lang_v1.', '', $translationKey) }} @endif |
{{$activity->causer->user_full_name ?? ''}}
@if(!empty($activity->getExtraProperty('from_api')))
{{$activity->getExtraProperty('from_api')}} @endif @if(!empty($activity->getExtraProperty('is_automatic'))) @lang('lang_v1.automatic') @endif |
@if(!empty($activity_type))
@if($activity_type == 'sell')
@include('sale_pos.partials.activity_row')
@elseif($activity_type == 'purchase')
@include('sale_pos.partials.activity_row')
@endif
@else
@php
$update_note = $activity->getExtraProperty('update_note');
@endphp
@if(!empty($update_note))
@if(!is_array($update_note))
{{$update_note}}
@endif
@endif
{{-- Opening Balance Activity Details --}}
@if($activity->description == 'opening_balance_edited')
@lang('contact.contact_name'): {{$activity->getExtraProperty('contact_name')}}
@if($activity->getExtraProperty('contact_id'))
({{$activity->getExtraProperty('contact_id')}})
@endif
@endif
@if($activity->description == 'opening_balance_deleted')
@format_currency($activity->getExtraProperty('old_amount')) @format_currency($activity->getExtraProperty('new_amount'))
@lang('contact.contact_name'): {{$activity->getExtraProperty('contact_name')}}
@if($activity->getExtraProperty('contact_id'))
({{$activity->getExtraProperty('contact_id')}})
@endif
@endif
@endif
@if(!empty($activity->getExtraProperty('email')))
@lang('business.email'): {{$activity->getExtraProperty('email')}}
@endif
@if(!empty($activity->getExtraProperty('mobile')))
@lang('business.mobile'): {{$activity->getExtraProperty('mobile')}}
@endif
@lang('lang_v1.deleted_amount'): @format_currency($activity->getExtraProperty('deleted_amount')) |
| @lang('purchase.no_records_found') | |||