@@ -53,6 +53,20 @@
|
||||
@endif
|
||||
@endforeach
|
||||
<table class="totals"><tr><td>Subtotal sem IVA</td><td>{{ $money($order->subtotal_minor) }}</td></tr><tr><td>IVA</td><td>{{ $money($order->tax_minor) }}</td></tr><tr><th>Total com IVA</th><th>{{ $money($order->total_minor) }}</th></tr></table>
|
||||
@if(!empty($snapshot['agreement_bindings']))
|
||||
<h2>Acordos e limites preservados por ordem</h2>
|
||||
@foreach(collect($snapshot['agreement_bindings'])->pluck('contract')->filter()->unique('id') as $contract)
|
||||
<p>Contrato global: {{ $contract['reference'] }} · versão {{ $contract['version'] }} · Total com impostos dos artigos ligados: {{ $money($contract['checked_order_value_minor'], $contract['currency']) }};
|
||||
limite global por ordem: {{ $contract['max_order_value_minor'] === null ? 'Não definido' : $money($contract['max_order_value_minor'], $contract['currency']) }}.</p>
|
||||
@endforeach
|
||||
<p>Cada ordem pode utilizar o limite completo. Conferência apenas das linhas ligadas ao mesmo acordo; sem acumular outras ordens.</p>
|
||||
@foreach(collect($snapshot['agreement_bindings'])->unique('agreement_id') as $binding)
|
||||
<p>{{ $binding['reference'] }} · versão {{ $binding['version'] }} · Total com impostos conferido: {{ $money($binding['checked_order_value_minor'], $binding['currency']) }};
|
||||
limite por ordem: {{ $binding['max_order_value_minor'] === null ? 'Não definido' : $money($binding['max_order_value_minor'], $binding['currency']) }}.<br>
|
||||
Quantidade conferida: {{ str_replace('.', ',', (string)\Brick\Math\BigDecimal::of($binding['checked_order_quantity_milli'])->dividedBy(1000, 3)) }} {{ $binding['unit'] }};
|
||||
limite por ordem: {{ $binding['max_order_quantity_milli'] === null ? 'Não definido' : str_replace('.', ',', (string)\Brick\Math\BigDecimal::of($binding['max_order_quantity_milli'])->dividedBy(1000, 3)) . ' ' . $binding['unit'] }}.</p>
|
||||
@endforeach
|
||||
@endif
|
||||
<h2>Justificação da adjudicação</h2><p class="pre">{{ $snapshot['award']['justification'] }}</p>
|
||||
<h2>Matriz de avaliação congelada</h2>
|
||||
@if(!empty($snapshot['comparison_policy']))
|
||||
|
||||
Reference in New Issue
Block a user