@can('view', $archive)
{{ $archive->order_number }}
@else
{{ $archive->order_number }}
@endcan
|
{{ $archive->created_at->toDayDateTimeString() }} |
{{ get_formated_currency($archive->grand_total, 2, $archive->currency_id) }} |
{!! $archive->paymentStatusName() !!} |
{!! $archive->orderStatus() !!} |
{{ $archive->deleted_at->diffForHumans() }} |
@can('archive', $archive)
@endcan
@can('delete', $archive)
{!! Form::open(['route' => ['admin.order.order.destroy', $archive->id], 'method' => 'delete', 'class' => 'data-form']) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'confirm ajax-silent', 'title' => trans('app.delete_permanently'), 'data-toggle' => 'tooltip', 'data-placement' => 'top']) !!}
{!! Form::close() !!}
@endcan
|
@endforeach