@extends('layouts.master') @section('title', \Lang::get('merchandise.merchandise')) @section('css') @stop @section('content')

@lang('dashboard.different_billing_address')? @lang('dashboard.click_here')


@if($form) @include('form.partials.form', ['form' => $form, 'invoice' => true])
@endif
{!! $invoice['result']['template']['value'] !!}

@php $payment_lock = false; @endphp @if($invoice['result']['invoice_status_type_id'] == 3 || $invoice['result']['invoice_status_type_id'] == 7 || $invoice['result']['invoice_status_type_id'] == 4 || $invoice['result']['invoice_status_type_id'] == 2 || $invoice['result']['invoice_status_type_id'] == 9 || $invoice['result']['invoice_status_type_id'] == 10) @php $payment_lock = true; @endphp @endif @if(Request::session()->get('event')) @php $event = Api::retrieveEvent(Request::session()->get('event')); @endphp @if($event['status'] == 200) @if(isset(json_decode($event['result']['parameter'], true)['payment'])) @if(json_decode($event['result']['parameter'], true)['payment'] == 0) @php $payment_lock = true; @endphp @endif @endif @endif @endif @if(!$payment_lock) @if($list_payment_gateway['status'] == 200)
@foreach($list_payment_gateway['result'] as $gateway) @php $gateway_parameter = json_decode($gateway['parameters'], true); $show_gateway = false; if(isset($gateway_parameter['display'])){ if($gateway_parameter['display'] == 1){ $show_gateway = true; } }else{ $show_gateway = true; } @endphp @if($show_gateway) @endif @endforeach
@lang('dashboard.accepted_payment_methods')
{{ $gateway['name'] }}
@php if($gateway['additional_percentage'] != 0){ @endphp (@lang('dashboard.additional_admin_charge') @php echo $gateway['additional_percentage']."%)"; } @endphp @php if($gateway['additional_fixed_charge'] != 0){ @endphp (@lang('dashboard.additional_fixed_rate_charge') @php echo $gateway['additional_fixed_charge'].")"; } @endphp
@lang('dashboard.pay_now')
@endif @endif
@lang('global.print') {{-- Download --}} @if(Request::get('preview') == "") @if(isset($booth)) get('event') : "/dashboard" }}" class='btn btn-default' >@lang('global.back') @else get('event') : "/dashboard#new_order" }}" class='btn btn-default' >@lang('global.back') @endif @endif

@stop @section('javascript') @stop