@extends('core/base::forms.form-tabs') @section('form_end') {!! \Botble\Ecommerce\Forms\Fronts\Customer\AddressForm::create() ->add('customer_id', 'hidden', ['value' => $form->getModel()->id]) ->renderForm() !!} {{ trans('core/base::tables.cancel') }} {{ trans('plugins/ecommerce::addresses.add') }} {{ trans('core/base::tables.cancel') }} {{ trans('plugins/ecommerce::addresses.save') }} {{ trans('core/base::tables.confirm_delete_msg') }} {{ trans('core/base::tables.cancel') }} {{ trans('core/base::tables.delete') }} @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