@extends('layouts.' . $template_name) @section('own-content') {{-- se incluye el contenedor sidebar y subheader --}} @include('shared.commons.container-sidebar-subheader', ['windows_side' => true, 'page_subheader' => true, 'page_subheader_title' => 'CHECKOUT', 'background' => '#c0bebf', 'loadingMessage' => trans('orders.wait')]) @if (isset($response_gateway)) @php $response_gateway = (object) $response_gateway; @endphp @if (isset($response_gateway->status)) @endif @endif 0) :is_coupon="1" @if ($autoCoupon !== null) :coupons_auto="{{ json_encode($autoCoupon) }}" @endif :n_manual_coupon="{{ $manualCoupon }}" @endif :data_convert_currency="{{ getDataConvertCurrency() }}" is_not_auth="{!! auth()->check() !!}" is_disabled_login_reorder="{!! config('resto.is_disabled_login_reorder') !!}" :route_get_menu="{{ json_encode($parameters_get_menu) }}" :payment_groups="{{ json_encode($payment_groups) }}" :branch_closed="{{ json_encode($branch_closed) }}" :data_payment_gateway="{{ json_encode($data_payment_gateway) }}" type_device="{{ $type_device }}" ref="checkout"> @endsection @section('extra-head') @parent {!! Html::style(app()->environment('production') ? mix('css/checkout.css') : asset('css/checkout.css'), [], $isSSL) !!} @if($data_payment_gateway && $data_payment_gateway->code_gateway === 'clover') @endif @if($data_payment_gateway && $data_payment_gateway->code_gateway === 'mercadopago') @endif @endsection @section('extra-scripts') @parent {!! Html::style(app()->environment('production') ? mix('css/checkout.css') : asset('css/checkout.css'), [], $isSSL) !!} @endsection