Skip to content

Commit

Permalink
Added telephone number to user detail
Browse files Browse the repository at this point in the history
invoice address info

remp/respekt#278
  • Loading branch information
zoldia committed Aug 27, 2024
1 parent 44e9980 commit 3a266c5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lang/users.cs_CZ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ admin:
last_market_at: Naposledy kontaktován
basic_info: Základní info
email: E-mail
phone_number: Telefon
first_name: Křestní jméno
last_name: Příjmení
unconfirmed: Nepotvrzený
Expand Down
1 change: 1 addition & 0 deletions src/lang/users.de_DE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ admin:
last_market_at: Zuletzt markiert am
basic_info: Basisinformationen
email: E-Mail
phone_number: Telefonnummer
first_name: Vorname
last_name: Nachname
unconfirmed: Nicht bestätigt
Expand Down
1 change: 1 addition & 0 deletions src/lang/users.en_US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ admin:
last_market_at: Last market at
basic_info: Basic info
email: E-mail
phone_number: Phone number
first_name: First name
last_name: Last name
unconfirmed: Unconfirmed
Expand Down
1 change: 1 addition & 0 deletions src/lang/users.hu_HU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ admin:
last_market_at: Last market at
basic_info: Általános információk
email: E-mail cím
phone_number: Telefonszám
first_name: Keresztnév
last_name: Vezetéknév
unconfirmed: Nem megerősített
Expand Down
1 change: 1 addition & 0 deletions src/lang/users.sk_SK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ admin:
last_market_at: Naposledy kontaktovaný
basic_info: Základné info
email: E-mail
phone_number: Telefón
first_name: Krstné meno
last_name: Priezvisko
unconfirmed: Nepotvrdený
Expand Down
4 changes: 4 additions & 0 deletions src/templates/UsersAdmin/show.latte
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@
<b>{_users.admin.show.company_tax_id}:</b> {$invoiceAddress->company_tax_id}<br>
<b>{_users.admin.show.company_vat_id}:</b> {$invoiceAddress->company_vat_id}<br>

{if $invoiceAddress->phone_number}
<b>{_users.admin.show.phone_number}:</b> {$invoiceAddress->phone_number}<br>
{/if}

{capture $address}
{$invoiceAddress->address|breaklines|noescape} {$invoiceAddress->number}
<br>
Expand Down

0 comments on commit 3a266c5

Please sign in to comment.