Importacion de reparacion
This commit is contained in:
@@ -111,16 +111,18 @@
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="space-y-1">
|
||||
<Label for="valor_det" class="text-xs">Valor Det:</Label>
|
||||
<Input
|
||||
id="valor_det"
|
||||
type="number"
|
||||
step="0.00000001"
|
||||
bind:value={lineItem.valuation_determined_value}
|
||||
class="h-7 text-xs"
|
||||
/>
|
||||
</div>
|
||||
{#if visibility.showLabelingValuationValue}
|
||||
<div class="space-y-1">
|
||||
<Label for="valor_det" class="text-xs">Valor Det:</Label>
|
||||
<Input
|
||||
id="valor_det"
|
||||
type="number"
|
||||
step="0.00000001"
|
||||
bind:value={lineItem.valuation_determined_value}
|
||||
class="h-7 text-xs"
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -159,7 +161,7 @@
|
||||
{/if}
|
||||
|
||||
|
||||
{#if visibility.showLabelingStandard}
|
||||
{#if visibility.showLabelingObservations}
|
||||
<div class="space-y-1">
|
||||
<Label for="observaciones_etiqueta" class="text-xs">Observations:</Label>
|
||||
<textarea
|
||||
|
||||
@@ -43,6 +43,10 @@ export interface InvoiceItemVisibility {
|
||||
showLabelingStandard: boolean;
|
||||
/** Etiquetado tab: Quantity field. */
|
||||
showLabelingQuantity: boolean;
|
||||
/** Etiquetado tab: Observations field. */
|
||||
showLabelingObservations: boolean;
|
||||
/** Etiquetado tab: Valuation field (Valor Det). */
|
||||
showLabelingValuationValue: boolean;
|
||||
}
|
||||
|
||||
const defaultVisibility: InvoiceItemVisibility = {
|
||||
@@ -68,7 +72,9 @@ const defaultVisibility: InvoiceItemVisibility = {
|
||||
showLabelingTab: true,
|
||||
showUsageReason: false,
|
||||
showLabelingStandard: true,
|
||||
showLabelingQuantity: false
|
||||
showLabelingQuantity: false,
|
||||
showLabelingObservations: true,
|
||||
showLabelingValuationValue: false
|
||||
};
|
||||
|
||||
function normalizeInvoiceType(invoiceType?: string | null): string {
|
||||
@@ -146,7 +152,9 @@ export function getVisibility(
|
||||
showCrTrackingHeader: false,
|
||||
showFdaFcc: false,
|
||||
showLabelingEnhanced: true,
|
||||
showLabelingQuantity: true
|
||||
showLabelingQuantity: true,
|
||||
showLabelingObservations: true,
|
||||
showLabelingValuationValue: true
|
||||
};
|
||||
|
||||
case 'CR':
|
||||
@@ -158,7 +166,8 @@ export function getVisibility(
|
||||
showUsageReason: true,
|
||||
showLabelingEnhanced: true,
|
||||
showLabelingQuantity: false,
|
||||
showLabelingStandard: false
|
||||
showLabelingStandard: false,
|
||||
showLabelingObservations: false
|
||||
};
|
||||
|
||||
case 'REP':
|
||||
@@ -179,7 +188,12 @@ export function getVisibility(
|
||||
showContinuationOwnOmitAnnex: false,
|
||||
showContinuationLotEntry: false,
|
||||
showContinuationConsiderA31: false,
|
||||
showContinuationExtraDescription: true
|
||||
showContinuationExtraDescription: true,
|
||||
showLabelingEnhanced: true,
|
||||
showLabelingQuantity: true,
|
||||
showLabelingStandard: true,
|
||||
showLabelingObservations: false,
|
||||
showLabelingValuationValue: false
|
||||
};
|
||||
|
||||
case 'MEX':
|
||||
|
||||
Reference in New Issue
Block a user