@if ($product->stock > 0)
{{-- @if ($product->descuent && !Request::query('rmt'))
@endif --}}
Pagando con Efectivo
@php
$price = $product->price;
$price2 = 0;
$price3 = $product->price_increment;
$price_dis=$product->prod_priceone;
if ($product->descuent) {
$price = ($product->descuent->affect_price == 0) ? $product->price : $product->descuent->amount;
$price2 = ($product->descuent->affect_price == 0) ? $product->descuent->amount : $product->price;
$price3 = ($product->descuent->affect_price == 0) ? $price3 : ($product->descuent->amount + (($product->descuent->amount * $configGeneral->targetprice))) ;
}
if (request('rmt') && !is_null($product->liquidation)) {
$price = $product->liquidation->price;
$price2 = $product->price;
$price3 = $product->liquidation->price + ($product->liquidation->price * $configGeneral->targetprice);
}
@endphp
${{ number_format($price, 2, '.', ' ') }} -
S/{{ number_format(($price * $configGeneral->cambio), 2, '.', ' ') }}
@if ($price2 > 0)
antes ${{ number_format(($price2), 2) }}
@endif
@if (isset(Auth::user()->id) && ( Auth::user()->id_account_types == 6 || Auth::user()->id == '11125' || Auth::user()->id == '53003' || Auth::user()->id == '5'|| Auth::user()->id == '51859'))
Precio para Tiendas
${{ number_format($price_dis, 2, '.', ' ') }} -
S/{{ number_format(($price_dis * $configGeneral->cambio), 2, '.', ' ') }}
Pagando con Tarjeta (+{{ $configGeneral->targetprice * 100 }}%)
${{ number_format($price3, 2, '.', ' ') }} -
S/{{ number_format(($price3 * $configGeneral->cambio), 2, '.', ' ') }}
Ver mas
@else
Pagando con Tarjeta (+{{ $configGeneral->targetprice * 100 }}%)
${{ number_format($price3, 2, '.', ' ') }} -
S/{{ number_format(($price3 * $configGeneral->cambio), 2, '.', ' ') }}
El precio incluye IGV.
@endif
@if (!Request::query('rmt') || is_null($product->liquidation))
@endif
@else
No hay Stock disponible u.u
@endif
{{-- CARRITO 2 --}}
{{--