Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/send ticket #270

Merged
merged 26 commits into from
Dec 3, 2024
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5ef2711
feat: new email system
DevNono Nov 6, 2024
e170827
feat: add General Mail route
DevNono Nov 6, 2024
4ca6419
feat: back to street legal
tuturd Nov 7, 2024
fe0413a
feat: add sendTemplate
DevNono Nov 7, 2024
22c9f9f
fix: it's better with .fr
tuturd Nov 7, 2024
cb3484b
fix: update email template topics
Nov 25, 2024
38427ce
fix: add return and fix preview undefined
DevNono Nov 25, 2024
e509fe3
fix: change minor mail target
Suboyyy Nov 25, 2024
ec2fe99
Merge branch 'dev' into feat/send-ticket
Suboyyy Nov 26, 2024
8ee0c68
fix: lint
Nov 26, 2024
f7603a4
fix: lint2
Nov 26, 2024
194c650
test: disable mail tests
Nov 26, 2024
a6ae230
test: disable other mail test
Nov 26, 2024
95dc58f
feat: mail smtp
Nov 27, 2024
6a9ee04
Merge remote-tracking branch 'origin/dev' into feat/send-ticket
Nov 27, 2024
e690ac0
Update .env.example
Suboyyy Nov 27, 2024
ca079df
Update notPaid.ts
Suboyyy Nov 27, 2024
c67b279
Update env.ts
Suboyyy Nov 27, 2024
1b37953
fix: serialized mail now handle attachment
Dec 2, 2024
e4f6407
Merge branch 'dev' into feat/send-ticket
Suboyyy Dec 2, 2024
8e00b32
fix: lint
Dec 2, 2024
ea31daa
Merge branch 'feat/send-ticket' of github.com:ungdev/UA-api into feat…
Dec 2, 2024
5dcd232
feat: update ticket generation with new design and layout adjustments
Dec 2, 2024
1cfb949
Merge branch 'dev' into feat/send-ticket
Suboyyy Dec 2, 2024
d3175cb
fix: adjust text positioning for place in ticket generation
Suboyyy Dec 3, 2024
1038fa9
Merge remote-tracking branch 'origin/dev' into feat/send-ticket
Suboyyy Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/utils/ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const generateTicket = async (cartItem: DetailedCartItem): Promise<EmailA
if (user.place) {
const place = `Siège ${user.place}`;
const placeWidth = document.widthOfString(place);
textFormat.text(place, textX - placeWidth / 2, height - lineSpaceCorrection * 2);
textFormat.text(place, textX - placeWidth / 2, height - fontSize - lineSpaceCorrection * 4);
}
// Place the QR Code
document.image(qrcode, qrCodeX, qrCodeY, { width: qrCodeSize });
Expand Down