@can('admin_enrollment_add_student_to_items')
{{ trans('update.add_student_to_product') }}
@endcan
{{ trans('update.manual_added_products') }}
@if(!empty($manualAddedProducts)) @foreach($manualAddedProducts as $manualAddedProduct) @endforeach @endif
{{ trans('update.product') }} {{ trans('admin/main.type') }} {{ trans('admin/main.price') }} {{ trans('update.seller') }} {{ trans('update.added_date') }} {{ trans('admin/main.actions') }}
{{ !empty($manualAddedProduct->productOrder->product) ? $manualAddedProduct->productOrder->product->title : trans('update.deleted_item') }} @if(!empty($manualAddedProduct->productOrder->product)) {{ trans('update.product_type_'.$manualAddedProduct->productOrder->product->type) }} @endif @if(!empty($manualAddedProduct->productOrder->product)) {{ !empty($manualAddedProduct->productOrder->product->price) ? handlePrice($manualAddedProduct->productOrder->product->price) : '-' }} @else {{ !empty($manualAddedProduct->amount) ? handlePrice($manualAddedProduct->amount) : '-' }} @endif @if(!empty($manualAddedProduct->productOrder->product))

{{ $manualAddedProduct->productOrder->product->creator->full_name }}

@else

{{ !empty($manualAddedProduct->seller) ? $manualAddedProduct->seller->full_name : trans('update.deleted_seller') }}

@endif
{{ dateTimeFormat($manualAddedProduct->created_at,'j M Y | H:i') }} @can('admin_enrollment_block_access') @include('admin.includes.delete_button',[ 'url' => getAdminPanelUrl().'/enrollments/'. $manualAddedProduct->id .'/block-access', 'tooltip' => trans('update.block_access'), 'btnIcon' => 'fa-times-circle' ]) @endcan

{{ trans('update.manual_add_hint') }}

{{ trans('update.manual_disabled_products') }}
@if(!empty($manualDisabledProducts)) @foreach($manualDisabledProducts as $manualDisabledProduct) @endforeach @endif
{{ trans('update.product') }} {{ trans('admin/main.type') }} {{ trans('admin/main.price') }} {{ trans('update.seller') }} {{ trans('admin/main.actions') }}
{{ !empty($manualDisabledProduct->productOrder->product) ? $manualDisabledProduct->productOrder->product->title : trans('update.deleted_item') }} @if(!empty($manualDisabledProduct->productOrder->product)) {{ trans('update.product_type_'.$manualDisabledProduct->productOrder->product->type) }} @endif @if(!empty($manualDisabledProduct->productOrder->product)) {{ !empty($manualDisabledProduct->productOrder->product->price) ? handlePrice($manualDisabledProduct->productOrder->product->price) : '-' }} @else {{ !empty($manualDisabledProduct->amount) ? handlePrice($manualDisabledProduct->amount) : '-' }} @endif @if(!empty($manualDisabledProduct->productOrder->product))

{{ $manualDisabledProduct->productOrder->product->creator->full_name }}

@else

{{ $manualDisabledProduct->seller->full_name }}

@endif
@can('admin_enrollment_block_access') @include('admin.includes.delete_button',[ 'url' => getAdminPanelUrl().'/enrollments/'. $manualDisabledProduct->id .'/enable-access', 'tooltip' => trans('update.enable-student-access'), ]) @endcan

{{ trans('update.manual_remove_hint') }}

{{ trans('panel.purchased') }}
@if(!empty($purchasedProducts)) @foreach($purchasedProducts as $purchasedProduct) @endforeach @endif
{{ trans('update.product') }} {{ trans('admin/main.type') }} {{ trans('admin/main.price') }} {{ trans('update.seller') }} {{ trans('panel.purchase_date') }} {{ trans('admin/main.actions') }}
{{ !empty($purchasedProduct->productOrder->product) ? $purchasedProduct->productOrder->product->title : trans('update.deleted_item') }} @if(!empty($purchasedProduct->productOrder->product)) {{ trans('update.product_type_'.$purchasedProduct->productOrder->product->type) }} @endif @if(!empty($purchasedProduct->productOrder->product)) {{ !empty($purchasedProduct->productOrder->product->price) ? handlePrice($purchasedProduct->productOrder->product->price) : '-' }} @else {{ !empty($purchasedProduct->amount) ? handlePrice($purchasedProduct->amount) : '-' }} @endif @if(!empty($purchasedProduct->productOrder->product))

{{ $purchasedProduct->productOrder->product->creator->full_name }}

@else

{{ !empty($purchasedProduct->seller) ? $purchasedProduct->seller->full_name : trans('update.deleted_seller') }}

@endif
{{ dateTimeFormat($purchasedProduct->created_at,'j M Y | H:i') }} @can('admin_enrollment_block_access') @include('admin.includes.delete_button',[ 'url' => getAdminPanelUrl().'/enrollments/'. $purchasedProduct->id .'/block-access', 'tooltip' => trans('update.block_access'), 'btnIcon' => 'fa-times-circle' ]) @endcan

{{ trans('update.purchased_hint') }}