- Changed payment recap link in OrdiniModal to point to the new receipt page. - Added new PaymentRecapPage for displaying receipt details. - Updated PaymentsTable to set paid_at date based on payment status. - Introduced manual payment type in PaymentType and updated related strings. - Refactored getOrdineRicevutaData to use overridableProcedure for access control. - Enhanced mail sending functionality to include PDF attachments for receipts and conditions. - Updated PDF generation service to handle new receipt PDF generation. - Cleaned up context checking utilities by removing unnecessary session checks.
34 lines
952 B
TypeScript
34 lines
952 B
TypeScript
import { Heading, Row, Section, Text } from "@react-email/components";
|
|
import Base from "./base";
|
|
export type ServizioAttivato_NewMail = {
|
|
mailType: "servizioAttivato";
|
|
};
|
|
|
|
const ServizioAttivato = () => {
|
|
return (
|
|
<Base noreply preview="Conferma Servizio Attivato">
|
|
<>
|
|
<Heading className="text-center text-3xl leading-8">
|
|
Conferma Attivazione Servizio
|
|
</Heading>
|
|
<Section className="px-5 text-left text-base md:px-12">
|
|
<Row>
|
|
<Text>
|
|
Gentile Cliente, ti informiamo che il pagamento è stato confermato
|
|
con successo e il servizio è stato attivato.
|
|
</Text>
|
|
<Text>
|
|
Puoi controllare lo stato del tuo account nella sezione dedicata.
|
|
</Text>
|
|
<Text>
|
|
In allegato troverai una ricevuta di cortesia e le condizioni
|
|
contrattuali accettate relative al servizio attivato.
|
|
</Text>
|
|
</Row>
|
|
</Section>
|
|
</>
|
|
</Base>
|
|
);
|
|
};
|
|
|
|
export default ServizioAttivato;
|