@extends(isset($print) && $print==1 ? 'layouts.general' : 'layouts.app') @section('link') @if(isset($print) && $print==1) @endif @endsection @section('content')
@include('shared.messages')
@if(!isset($print))

{{__('texte.product_prices_arr.hand_changes.price_change_products')}}


@else

Условия на ценова промяна {{$price->id}}

@endif
@foreach ($price->conditions as $price_condition) @endforeach
{{strtoupper(__('texte.product_prices_arr.hand_changes.id'))}} {{__('texte.product_prices_arr.hand_changes.product')}} {{__('texte.product_prices_arr.hand_changes.price_from')}} {{__('texte.product_prices_arr.hand_changes.price_to')}} {{__('texte.product_prices_arr.hand_changes.price')}} {{__('texte.product_prices_arr.hand_changes.old_value')}} {{__('texte.product_prices_arr.hand_changes.change')}} {{__('texte.product_prices_arr.hand_changes.direction')}} {{__('texte.product_prices_arr.hand_changes.new_value')}}
{{ $price_condition->product_id}} {{ $price_condition->product->name }} {{ $price->change_mode==1 ? __('texte.table_price_arr')[$price->price_from] : ''}} {{ $price->change_mode==1 ? __('texte.table_price_arr')[$price->price_to] : ''}} {{ $price->change_mode==0 ? __('texte.table_price_arr')[$price->price_to] : ''}} {{ number_format($price_condition->old_value*1.2,5,'.','') }} {{ $price->change_value }} {{ $price->change_mode==1 ? ($price->change_type==1 ? __('texte.product_prices_arr.hand_changes.bgn') : __('texte.product_prices_arr.hand_changes.percent') ) : ''}} {{ $price->change_mode==1 ? ($price->direction==1 ? __('texte.product_prices_arr.hand_changes.increase') : __('texte.product_prices_arr.hand_changes.decrease')) :'' }} {{ number_format($price_condition->new_value*1.2,5,'.','') }}
@endsection