@foreach($content as $row) @endforeach
Concepto Detalle Importe ¥ Editar Eliminar
{{ strtoupper($row->name) }} {{ strtoupper($row->options->detalle) }} ¥{{ number_format($row->price) }} @if( \Auth::user()->role_id == \App\Http\Controllers\BaseController::EMBARCADOR) @endif @if( \Auth::user()->role_id == \App\Http\Controllers\BaseController::EMBARCADOR) @endif
 
@if( \Session::get('editGto', 0) == 1 )
SUBTOTAL: ¥{{ number_format( \Session::get('totalInvoice', 0), 2 ) }}
GASTOS: ¥{{ number_format( \Cart::instance('gastos')->total(), 2 ) }}
TOTAL: ¥{{ number_format( \Session::get('totalInvoice', 0) + \Cart::instance('gastos')->total() , 2 ) }}
@if( \Auth::user()->role_id == \App\Http\Controllers\BaseController::EMBARCADOR) @endif @else
SUBTOTAL: ¥{{ number_format( \Cart::instance('referencias')->total(), 2 ) }}
GASTOS: ¥{{ number_format( \Cart::instance('gastos')->total(), 2 ) }}
TOTAL: ¥{{ number_format( \Cart::instance('referencias')->total() + \Cart::instance('gastos')->total() , 2 ) }}
@endif