@extends('core/base::forms.form-tabs') @section('form_end')
@include('plugins/ecommerce::customers.addresses.form', ['address' => new \Botble\Ecommerce\Models\Address()])
@include('core/table::partials.modal-item', [ 'type' => 'danger', 'name' => 'modal-confirm-delete', 'title' => trans('core/base::tables.confirm_delete'), 'content' => trans('core/base::tables.confirm_delete_msg'), 'action_name' => trans('core/base::tables.delete'), 'action_button_attributes' => [ 'class' => 'delete-crud-entry', ], ]) @endsection @section('form_main_end') @if ($customerId = $form->getModel()->id)

{{ trans('plugins/ecommerce::review.name') }}

{!! app(\Botble\Ecommerce\Tables\CustomerReviewTable::class) ->customerId($customerId) ->setAjaxUrl(route('customers.ajax.reviews', $customerId)) ->renderTable() !!}
@endif @endsection