@if (phase === enum_phases.cart_view) {
{{ 'checkout.riepilogo' | translate }}
@if (description) {
{{ 'checkout.descrizione' | translate }} {{ description }}
}
{{ 'checkout.importo' | translate }} {{ formatAmount(amount) }}
} @if (phase === enum_phases.select_payment) {
{{ 'checkout.metodo_pagamento' | translate }}
{{ 'checkout.totale' | translate }} {{ formatAmount(amount) }}
@for (type of paymentTypes; track type) {
}
@if (configsForSelectedType.length > 1) {
}
@if (puoFatturare) { } @else { La fattura può essere richiesta solo saldando l'intero importo. } @if (richiediFattura && datiFiscali) { @if (!showFiscalForm) {
Dati fattura pronti
} @else {
@if (datiFiscali.tipo === 'AZIENDA') { } @else { }
@if (!datiFiscaliValidi) { Serve P.IVA (azienda) o Codice Fiscale (privato) e almeno PEC o Codice Destinatario. }
} }
@if (view_paypal && (selectedPccId > 0 || configsForSelectedType.length === 0)) {
} @if (!view_paypal) {
@if (selectedTypeCode === 'NEXI' && !nexiScriptReady) { Caricamento gateway... }
}
} @if (phase === enum_phases.payment_done) {
@if (paymentSuccess) {
{{ 'checkout.pagamento_ok' | translate }}
{{ 'checkout.rif_transazione' | translate }}: {{ lastUid }} } @if (!paymentSuccess) {
{{ 'checkout.pagamento_ko' | translate }}
}
}