![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /home/fdshops/public_html/resources/views/activity_log/ |
@if(!empty($activities)) <table class="table table-condensed"> <tr> <th>@lang('lang_v1.date')</th> <th>@lang('messages.action')</th> <th>@lang('lang_v1.by')</th> <th>@lang('brand.note')</th> </tr> @forelse($activities as $activity) <tr> <td>{{@format_datetime($activity->created_at)}}</td> <td> {{__('lang_v1.' . $activity->description)}} </td> <td> {{$activity->causer->user_full_name ?? ''}} @if(!empty($activity->getExtraProperty('from_api'))) <br> <span class="label bg-gray">{{$activity->getExtraProperty('from_api')}}</span> @endif @if(!empty($activity->getExtraProperty('is_automatic'))) <span class="label bg-gray">@lang('lang_v1.automatic')</span> @endif </td> <td> @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 @endif @if(!empty($activity->getExtraProperty('email'))) <b>@lang('business.email'): </b> {{$activity->getExtraProperty('email')}} @endif @if(!empty($activity->getExtraProperty('mobile'))) <b>@lang('business.mobile'): </b> {{$activity->getExtraProperty('mobile')}} @endif </td> </tr> @empty <tr> <td colspan="4" class="text-center"> @lang('purchase.no_records_found') </td> </tr> @endforelse </table> @endif