@@ -13,6 +13,12 @@ export type OrderPartFrame = {
|
||||
justification?: string;
|
||||
};
|
||||
native_preparation: {
|
||||
exchange_basis?: {
|
||||
rate: string;
|
||||
quoted_on: string;
|
||||
source: string;
|
||||
} | null;
|
||||
reference_amounts?: { total_minor: number };
|
||||
approved_reference?: { subtotal_minor: number; total_minor: number };
|
||||
items: {
|
||||
quotation_item_id: number;
|
||||
@@ -97,6 +103,33 @@ export function OrderPartsSummary({ sources }: { sources: OrderPartFrame[] }) {
|
||||
Fundamento: {source.award.justification}
|
||||
</p>
|
||||
)}
|
||||
{source.native_preparation.exchange_basis &&
|
||||
source.native_preparation.reference_amounts && (
|
||||
<p className="break-words">
|
||||
Taxa desta origem:{' '}
|
||||
{
|
||||
source.native_preparation.exchange_basis
|
||||
.rate
|
||||
}{' '}
|
||||
MZN
|
||||
{' · '}
|
||||
{
|
||||
source.native_preparation.exchange_basis
|
||||
.quoted_on
|
||||
}
|
||||
{' · '}
|
||||
{
|
||||
source.native_preparation.exchange_basis
|
||||
.source
|
||||
}
|
||||
{' · '}Referência da parcela:{' '}
|
||||
{money(
|
||||
source.native_preparation
|
||||
.reference_amounts.total_minor,
|
||||
'MZN',
|
||||
)}
|
||||
</p>
|
||||
)}
|
||||
<Link
|
||||
href={`/requisicoes/${source.requisition.id}/adjudicacao`}
|
||||
className="underline"
|
||||
|
||||
Reference in New Issue
Block a user