@extends('template.layoutAdmin', ['activeButton'=>'pagos']) @section('title') {{ trans('payments.pagosTarjetaTitulo') }} @endsection @section('cabecera') @include('system.payments.cabecera') @endsection @section('style') @endsection @section('contenido')
@if(Session::has('message')) @endif @if(Session::has('message_error')) @endif @if(count($errors) > 0)
@endif
{{--
--}}

{{ trans('payments.configPagosTarjeta') }} {{-- {{auth()->user()->userName}} --}}

{{--
--}}
@foreach ($tipoPagoGeneral as $item) @if ($item->idServicio == 22 && $item->electronico != 2 )
{{ trans('payments.ordenar') }}
@endif @if ($item->idServicio == 23 && $item->electronico != 2)
{{ trans('payments.paraLlevar') }}
@endif @if ($item->idServicio == 24 && $item->electronico != 2)
{{ trans('payments.domicilio') }}
@endif @endforeach

@if (env('MULTISERVER') == "US")
{{--
--}}
{{--

Delivery pilot since Apr 2021

--}}

{{ $dataUser->business_profile->name ?? Auth::user()->userName}}

{{ trans('payments.balancePendiente') }}

$ {{ $balancePending }}

{{ trans('payments.balanceDisponible') }}

$ {{ $balanceAvailable == 0 ? '0.00':$balanceAvailable }}

@if ($dataUser != null) @if ($infoStripe->state_stripe == "ACTIVE")

{{ trans('payments.cuentaVerificada') }}

@else

{{ trans('payments.verificacion') }}

@endif @else @endif
@if ($dataUser != null) @if ($infoStripe->state_stripe == "ACTIVE")
@if (count($pagos) > 0) @foreach ($pagos as $item) @php $dataJson = json_decode($item->message, true); // dd($dataJson['metadata']['nombreUsuario']); @endphp @endforeach @else @endif
{{ trans('payments.referencia') }} {{ trans('payments.nombreCliente') }} {{ trans('payments.dia') }} {{ trans('payments.monto') }} {{ trans('payments.estado') }}
# {{ $item->orderId }} {{ $dataJson['metadata']['nombreUsuario'] ?? "" }} {{ date('d/m/Y h:m a', $dataJson['created']) }} $ {{ $dataJson['amount'] / 100 }} {{ $item->state }}
{{ trans('payments.sinPagosRealizados') }}
@else
@if (!$dataUser->details_submitted || !$dataUser->charges_enabled || !$dataUser->payouts_enabled) @if (count($dataUser->requirements->errors) > 0) @endif {{-- Login in Stripe --}}
{{ trans('payments.loginStripe') }}

{{ trans('payments.visitaStripe') }}

@endif
@endif @else {{-- Connect with --}} @endif
@endif @if(env('MULTISERVER') == "CO")
@include('system.payments.online.novuepay')
{{--
En construcciรณn...
--}} @endif
{{--
Activar por servicio
--}} @endsection @section('js') @endsection