@php /** * @name Sidebar cambi e resi\Dettagli cambi e resi * @version 1.0.0 */ @endphp @php $info = $exchange->get_info(); @endphp @if(!empty($info)) @php $title_cart = __t('Informazioni cambio'); if($exchange->is_current('return')){ $title_cart = __t('Informazioni reso'); } $cart_total = (!empty($info->get_cart_total())) ? $info->get_cart_total()->get_amount_format(false) : 0; $exchange_total = (!empty($info->get_exchange_total())) ? $info->get_exchange_total()->get_amount_format(false) : 0; $cart_quantity = (!empty($info->get_cart_quantity())) ? $info->get_cart_quantity() : 0; $cart_status= (!empty($info->get_cart_status())) ? $info->get_cart_status() : false; $cart_progress = (!empty($info->get_cart_progress())) ? $info->get_cart_progress() : 0; $cart_preogress_status = (!empty($info->get_cart_progress_status())) ? $info->get_cart_progress_status() : 'success'; if($exchange->is_current('change')){ $cart_restock_total = (!empty($info->get_cart_restock_total())) ? $info->get_cart_restock_total()->get_amount_format(false) : 0; $exchange_restock_total = (!empty($info->get_exchange_restock_total())) ? $info->get_exchange_restock_total()->get_amount_format(false) : 0; $cart_restock_quantity = (!empty($info->get_cart_restock_quantity())) ? $info->get_cart_restock_quantity() : 0; $cart_restock_status= (!empty($info->get_cart_restock_status())) ? $info->get_cart_restock_status() : false; $cart_restock_progress = (!empty($info->get_cart_restock_progress())) ? $info->get_cart_restock_progress() : 0; $cart_restock_preogress_status = (!empty($info->get_cart_restock_progress_status())) ? $info->get_cart_restock_progress_status() : 'alert'; } @endphp
| {!! $title_cart !!} | ||
| {{ __t('Imponibile massimo') }} |
{!! $cart_total . '/' . $exchange_total . '' !!}
|
|
| {{ get_default_um_description() }} | {!! $cart_quantity !!} | |
| {{ __t('Informazioni riassortimento') }} | ||
| {{ __t('Imponibile minimo') }} |
{!! $cart_restock_total . '/' . $exchange_restock_total . '' !!}
|
|
| {{ get_default_um_description() }} | {!! $cart_restock_quantity !!} | |