Skip to content

Commit

Permalink
partial poste
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopocarlini committed Jun 13, 2024
1 parent 98bae23 commit fc739af
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 23 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Java Azure Function that exposes REST API to generate a PDFA/2a document based o
+ [Integration testing](#integration-testing)
+ [Performance testing](#performance-testing)
- [Contributors 👥](#contributors-)
* [Mainteiners](#mainteiners)
* [Maintainers](#maintainers)

---
## API Documentation 📖
Expand Down Expand Up @@ -162,10 +162,10 @@ From `./integration-test/src`
2. `yarn test`
#### Performance testing

---


## Contributors 👥
Made with ❤️ by PagoPa S.p.A.

### Mainteiners
See `CODEOWNERS` file
### Maintainers
See `CODEOWNERS` file
42 changes: 23 additions & 19 deletions node/pdf-generate/partials/notices/paymentPoste.hbs
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
<section class="notice-poste-payment-data {{#if compact}}compact{{/if}}">
<div class="header-bollettino-postale unique-separator">
<div class="title">
<h3 class="small-caps-title">Bollettino postale PA</h3>
<div class="header-bollettino-postale unique-separator">
<div class="title">
<h3 class="small-caps-title">Bollettino postale PA</h3>
</div>
<div class="logo-and-date">
<img class="logo-bancoposta" src="assets/poste/banco-posta.svg" alt="BancoPosta"/>
{{#if showCurrentInstalment}}
<p class="h4">Rata {{add @index 1}} entro {{expiryDate}}</p>
{{else}}
{{#if subtitle}}
{{{subtitle}}}
{{else}}
{{#if expiryDate}}
<p class="h4">Rata unica entro {{expiryDate}}</p>
{{else}}
<p class='h4'>Rata unica</p>
{{/if}}
{{/if}}
{{/if}}
<img class="poste-scissors" src="assets/poste/scissors.svg" aria-hidden="true"/>
</div>
</div>
<div class="logo-and-date">
<img class="logo-bancoposta" src="assets/poste/banco-posta.svg" alt="BancoPosta" />
{{#if showCurrentInstalment}}
<p class="h4">Rata {{add @index 1}} entro {{expiryDate}}</p>
{{else}}
{{#if subtitle}}
{{{subtitle}}}
{{else}}
<p class="h4">Rata unica entro {{expiryDate}}</p>
{{/if}}
{{/if}}
<img class="poste-scissors" src="assets/poste/scissors.svg" aria-hidden="true" />
</div>
</div>

{{> paymentBollettino }}
{{> paymentBollettino }}

</section>
</section>

0 comments on commit fc739af

Please sign in to comment.