|
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ $posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_seg ?? '' }}"
@else
value=""
@endif
onchange="atualizarPrecoPraticar(this.value, 'seg_{{ $posto->id }}_{{ $item->produto->id }}')"
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto + ($posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_seg ?? 0), 3) }}"
@else
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto, 3) }}"
@endif
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
|
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ $posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_ter ?? '' }}"
@else
value=""
@endif
onchange="atualizarPrecoPraticar(this.value, 'ter_{{ $posto->id }}_{{ $item->produto->id }}')"
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto + ($posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_ter ?? 0), 3) }}"
@else
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto, 3) }}"
@endif
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
|
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ $posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_qua ?? '' }}"
@else
value=""
@endif
onchange="atualizarPrecoPraticar(this.value, 'qua_{{ $posto->id }}_{{ $item->produto->id }}')"
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto + ($posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_qua ?? 0), 3) }}"
@else
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto, 3) }}"
@endif
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
|
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ $posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_qui ?? '' }}"
@else
value=""
@endif
onchange="atualizarPrecoPraticar(this.value, 'qui_{{ $posto->id }}_{{ $item->produto->id }}')"
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto + ($posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_qui ?? 0), 3) }}"
@else
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto, 3) }}"
@endif
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
|
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ $posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_sex ?? '' }}"
@else
value=""
@endif
onchange="atualizarPrecoPraticar(this.value, 'sex_{{ $posto->id }}_{{ $item->produto->id }}')"
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto + ($posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_sex ?? 0), 3) }}"
@else
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto, 3) }}"
@endif
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
|
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ $posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_sab ?? '' }}"
@else
value=""
@endif
onchange="atualizarPrecoPraticar(this.value, 'sab_{{ $posto->id }}_{{ $item->produto->id }}')"
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto + ($posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_sab ?? 0), 3) }}"
@else
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto, 3) }}"
@endif
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
|
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ $posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_dom ?? '' }}"
@else
value=""
@endif
onchange="atualizarPrecoPraticar(this.value, 'dom_{{ $posto->id }}_{{ $item->produto->id }}')"
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach
@foreach ($posto->combustiveis as $item)
ultimoPreco)
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto + ($posto->ultimoPreco->descontos_diarios_produtos->where('produtos_id', '=', $item->produto->id)->first()->desc_dom ?? 0), 3) }}"
@else
value="{{ number_format($posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto, 3) }}"
@endif
data-prod="{{ $item->produto->artigo }}" data-vali="{{ $posto->pvp_posto_preco->pvps_postos_produtos->where('produtos_id', '=', $item->produto->id)->first()->valor_produto }}"
>
|
@endforeach