Skip to content

Commit

Permalink
Adapt to new font
Browse files Browse the repository at this point in the history
  • Loading branch information
kronn committed Nov 15, 2024
1 parent c21727b commit 45747c3
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions spec/domain/export/pdf/invoice_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,28 @@
context "without billing address" do
it "does not render Leistungsbezüger" do
invoice_text = [
[347, 687, "Rechnungsnummer:"],
[457, 687, "1-1"],
[347, 674, "Rechnungsdatum:"],
[457, 674, "26.09.2022"],
[347, 662, "Fällig bis:"],
[457, 662, "26.10.2022"],
[347, 649, "Rechnungssteller:"],
[457, 649, "Top Leader"],
[347, 637, "MwSt. Nummer:"],
[457, 637, "CH 1234"],
[57, 688, "Top Leader"],
[57, 676, "Teststrasse 23"],
[57, 665, "3007 Bern"],
[57, 539, "Rechnungsartikel"],
[363, 539, "Anzahl"],
[419, 539, "Preis"],
[464, 539, "Betrag"],
[515, 539, "MwSt."],
[389, 526, "Zwischenbetrag"],
[505, 526, "0.00 CHF"],
[389, 510, "Gesamtbetrag"],
[490, 510, "1'500.00 CHF"]
[347, 685, "Rechnungsnummer:"],
[453, 685, "1-1"],
[347, 672, "Rechnungsdatum:"],
[453, 672, "26.09.2022"],
[347, 659, "Fällig bis:"],
[453, 659, "26.10.2022"],
[347, 646, "Rechnungssteller:"],
[453, 646, "Top Leader"],
[347, 632, "MwSt. Nummer:"],
[453, 632, "CH 1234"],
[57, 686, "Top Leader"],
[57, 674, "Teststrasse 23"],
[57, 662, "3007 Bern"],
[57, 537, "Rechnungsartikel"],
[362, 537, "Anzahl"],
[419, 537, "Preis"],
[462, 537, "Betrag"],
[515, 537, "MwSt."],
[389, 522, "Zwischenbetrag"],
[506, 522, "0.00 CHF"],
[389, 504, "Gesamtbetrag"],
[490, 504, "1'500.00 CHF"]
]

text_with_position.each_with_index do |l, i|
Expand All @@ -82,30 +82,30 @@

it "renders Leistungsbezüger" do
invoice_text = [
[347, 687, "Rechnungsnummer:"],
[457, 687, "1-1"],
[347, 674, "Rechnungsdatum:"],
[457, 674, "26.09.2022"],
[347, 662, "Fällig bis:"],
[457, 662, "26.10.2022"],
[347, 649, "Rechnungssteller:"],
[457, 649, "Top Leader"],
[347, 637, "MwSt. Nummer:"],
[457, 637, "CH 1234"],
[347, 624, "Leistungsbezüger:"],
[457, 624, "Top Leader"],
[57, 688, "Max Mustermann"],
[57, 676, "Musterweg 2"],
[57, 665, "8000 Hitobitingen"],
[57, 539, "Rechnungsartikel"],
[363, 539, "Anzahl"],
[419, 539, "Preis"],
[464, 539, "Betrag"],
[515, 539, "MwSt."],
[389, 526, "Zwischenbetrag"],
[505, 526, "0.00 CHF"],
[389, 510, "Gesamtbetrag"],
[490, 510, "1'500.00 CHF"]
[347, 685, "Rechnungsnummer:"],
[453, 685, "1-1"],
[347, 672, "Rechnungsdatum:"],
[453, 672, "26.09.2022"],
[347, 659, "Fällig bis:"],
[453, 659, "26.10.2022"],
[347, 646, "Rechnungssteller:"],
[453, 646, "Top Leader"],
[347, 632, "MwSt. Nummer:"],
[453, 632, "CH 1234"],
[347, 619, "Leistungsbezüger:"],
[453, 619, "Top Leader"],
[57, 686, "Max Mustermann"],
[57, 674, "Musterweg 2"],
[57, 662, "8000 Hitobitingen"],
[57, 537, "Rechnungsartikel"],
[362, 537, "Anzahl"],
[419, 537, "Preis"],
[462, 537, "Betrag"],
[515, 537, "MwSt."],
[389, 522, "Zwischenbetrag"],
[506, 522, "0.00 CHF"],
[389, 504, "Gesamtbetrag"],
[490, 504, "1'500.00 CHF"]
]

text_with_position.each_with_index do |l, i|
Expand Down

0 comments on commit 45747c3

Please sign in to comment.