@extends('auth.master') @section('title', 'Pagar') @section('content')
@if($total <= $userEvento->user->saldoRaw()) {{ Form::open(['route' => ['entrada.carta.pagar.saldo', Hashids::encode($userEvento->id, time())], 'method'=>'POST']) }} @else {{ Form::open(['route' => ['entrada.carta.pagar.mp', Hashids::encode($userEvento->id, time())], 'method'=>'POST']) }} @endif @foreach ($productos as $producto) {{ Form::hidden('cantidad_'.$producto->id, $producto->cantidad) }} @endforeach
Producto Cantidad Subtotal
{{ $producto->nombre }} {{ $producto->cantidad }}$ {{ number_format($producto->precio * $producto->cantidad, 0, '', '.') }}
Total $ {{ number_format($total, 0, '', '.') }}
@if($total <= $userEvento->user->saldoRaw()) {{ Form::submit('Pagar con Saldo', array('class'=> 'btn btn-outline-success btn-block btn-lg')) }} @else {{ Form::submit('Pagar con Mercado Pago', array('class'=> 'btn btn-outline-success btn-block btn-lg')) }} @endif {{ Form::close() }}
Volver

Tengo Dudas

@endsection