diff --git a/public/js/components/Stv/Studentenverwaltung/Details/Kontakt.js b/public/js/components/Stv/Studentenverwaltung/Details/Kontakt.js index 0ed0fcb35..2adc5129d 100644 --- a/public/js/components/Stv/Studentenverwaltung/Details/Kontakt.js +++ b/public/js/components/Stv/Studentenverwaltung/Details/Kontakt.js @@ -23,17 +23,17 @@ export default { template: `
- Adressen + {{this.$p.t('person', 'adressen')}}

- Kontakt + {{this.$p.t('global', 'kontakt')}}

- Bankverbindungen + {{this.$p.t('person', 'bankverbindungen')}}
` diff --git a/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Address.js b/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Address.js index 834f857e6..2b9f9c0fe 100644 --- a/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Address.js +++ b/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Address.js @@ -41,9 +41,9 @@ export default{ } }, {title:"Abweich.Empf", field:"co_name"}, - {title:"Name", field:"name"}, {title:"Firma", field:"firmenname"}, {title:"Firma_id", field:"firma_id", visible:false}, + {title:"Name", field:"name"}, {title:"Adresse_id", field:"adresse_id", visible:false}, {title:"Person_id", field:"person_id", visible:false}, {title:"Name", field:"name", visible:false}, @@ -263,15 +263,60 @@ export default{ console.error(err.response.data || err.message); }); }, + async mounted() { + await this.$p.loadCategory(['notiz','global','person']); + + let cm = this.$refs.table.tabulator.columnManager; + + cm.getColumnByField('bezeichnung').component.updateDefinition({ + title: this.$p.t('global', 'typ') + }); + cm.getColumnByField('strasse').component.updateDefinition({ + title: this.$p.t('person', 'strasse') + }); + cm.getColumnByField('plz').component.updateDefinition({ + title: this.$p.t('person', 'plz') + }); + cm.getColumnByField('ort').component.updateDefinition({ + title: this.$p.t('person', 'ort') + }); + cm.getColumnByField('gemeinde').component.updateDefinition({ + title: this.$p.t('person', 'gemeinde') + }); + cm.getColumnByField('nation').component.updateDefinition({ + title: this.$p.t('person', 'nation') + }); + cm.getColumnByField('heimatadresse').component.updateDefinition({ + title: this.$p.t('person', 'heimatadresse') + }); + cm.getColumnByField('co_name').component.updateDefinition({ + title: this.$p.t('person', 'co_name') + }); + cm.getColumnByField('name').component.updateDefinition({ + title: this.$p.t('person', 'firma_zusatz') + }); + cm.getColumnByField('firmenname').component.updateDefinition({ + title: this.$p.t('person', 'firma') + }); + cm.getColumnByField('updateamum').component.updateDefinition({ + title: this.$p.t('notiz', 'letzte_aenderung') + }); + cm.getColumnByField('rechnungsadresse').component.updateDefinition({ + title: this.$p.t('person', 'rechnungsadresse') + }); + cm.getColumnByField('anmerkung').component.updateDefinition({ + title: this.$p.t('notiz', 'document') + }); + }, template: `
- +
- +
- +
- +
@@ -324,7 +369,7 @@ export default{
- +
@@ -333,7 +378,7 @@ export default{
- +
@@ -342,14 +387,14 @@ export default{
- +
- +
@@ -358,37 +403,37 @@ export default{
- +
- +
- +
- +
- +
- +
- +
- +
- +
@@ -454,7 +499,7 @@ export default{
- +
@@ -463,14 +508,14 @@ export default{
- +
- +
@@ -479,7 +524,7 @@ export default{
- +
@@ -493,14 +538,14 @@ export default{
- +
- +
@@ -508,19 +553,19 @@ export default{ - + diff --git a/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Bankaccount.js b/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Bankaccount.js index d8e3227c6..c4f457260 100644 --- a/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Bankaccount.js +++ b/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Bankaccount.js @@ -184,12 +184,33 @@ export default{ this.bankverbindungData = this.initData; }, }, + async mounted() { + await this.$p.loadCategory(['global','person']); + + let cm = this.$refs.table.tabulator.columnManager; + + cm.getColumnByField('anschrift').component.updateDefinition({ + title: this.$p.t('person', 'anschrift') + }); + cm.getColumnByField('kontonr').component.updateDefinition({ + title: this.$p.t('person', 'kontonr') + }); + cm.getColumnByField('blz').component.updateDefinition({ + title: this.$p.t('person', 'blz') + }); + cm.getColumnByField('typ').component.updateDefinition({ + title: this.$p.t('global', 'typ') + }); + cm.getColumnByField('verrechnung').component.updateDefinition({ + title: this.$p.t('person', 'verrechnung') + }); + }, template: `
- +
@@ -198,7 +219,7 @@ export default{
- +
@@ -217,28 +238,28 @@ export default{
- +
- +
- +
- +
@@ -247,14 +268,14 @@ export default{
- +
@@ -264,7 +285,7 @@ export default{
- +
@@ -282,28 +303,28 @@ export default{
- +
- +
- +
- +
@@ -312,19 +333,19 @@ export default{
- + diff --git a/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Contact.js b/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Contact.js index 27d84bc34..806f07fdd 100644 --- a/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Contact.js +++ b/public/js/components/Stv/Studentenverwaltung/Details/Kontakt/Contact.js @@ -187,16 +187,40 @@ export default{ console.error(err.response.data || err.message); }); }, + async mounted() { + await this.$p.loadCategory(['notiz','global','person']); + + let cm = this.$refs.table.tabulator.columnManager; + + cm.getColumnByField('kontakttyp').component.updateDefinition({ + title: this.$p.t('global', 'typ') + }); + cm.getColumnByField('kontakt').component.updateDefinition({ + title: this.$p.t('global', 'kontakt') + }); + cm.getColumnByField('zustellung').component.updateDefinition({ + title: this.$p.t('person', 'zustellung') + }); + cm.getColumnByField('anmerkung').component.updateDefinition({ + title: this.$p.t('global', 'anmerkung') + }); + cm.getColumnByField('kurz_bz').component.updateDefinition({ + title: this.$p.t('person', 'firma') + }); + cm.getColumnByField('updateamum').component.updateDefinition({ + title: this.$p.t('notiz', 'letzte_aenderung') + }); + }, template: `
- +
- +
- +
- +
@@ -227,24 +251,24 @@ export default{
- +
- +
- +
- +
- +
@@ -277,7 +301,7 @@ export default{
- +
@@ -287,19 +311,19 @@ export default{
- + diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index c7f3659fb..df493751f 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -2081,6 +2081,166 @@ $phrases = array( ) ) ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'adressen', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Adressen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'addresses', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'bankverbindungen', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Bankverbindungen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'bank details', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'rechnungsadresse', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Rechnungsadresse', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'billing address', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'heimatadresse', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Heimatadresse', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'home address', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'co_name', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'abweichender Empfänger', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'c/o', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'gemeinde', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Gemeinde', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'municipality', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'gemeinde_waehlen', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Bitte gültige Gemeinde wählen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Please select a valid municipality', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'plz_waehlen', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Bitte gültige PLZ wählen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Please select a valid zip code', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), array( 'app' => 'core', 'category' => 'person', @@ -2121,6 +2281,26 @@ $phrases = array( ) ) ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'plz', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'plz', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'code', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), array( 'app' => 'core', 'category' => 'person', @@ -2141,6 +2321,26 @@ $phrases = array( ) ) ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'zustellung', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Zustellung', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'delivery', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), array( 'app' => 'core', 'category' => 'person', @@ -21915,6 +22115,444 @@ array( ) ) ), + array( + 'app' => 'core', + 'category' => 'notiz', + 'phrase' => 'error_fieldRequired', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Das Eingabefeld {field} ist erforderlich', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'The Input Field {field} is required', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'notiz', + 'phrase' => 'error_textFieldRequired', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Das Eingabefeld textField ist erforderlich', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'The Field textField is required', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'firma_zusatz', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Firmenzusatz', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'add.company info', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'firma', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Firma', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'company', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'standort', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Standort', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'location', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'adresse_new', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Adresse anlegen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'create address', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'adresse_edit', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Adresse bearbeiten', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'edit address', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'adresse_delete', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Adresse löschen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'delete address', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'adresse_confirm_delete', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Adresse wirklich löschen?', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Really delete address?', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'kontakt_new', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Kontakt anlegen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'create contact data', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'kontakt_edit', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Kontakt bearbeiten', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'edit contact data', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'kontakt_delete', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Kontakt löschen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'delete contact data', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'kontakt_confirm_delete', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Kontakt wirklich löschen?', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Really delete contact data?', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'kontonr', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Kontonummer', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Address', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'anschrift', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Anschrift', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Bank account number', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'verrechnung', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Verrechnung', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Billing', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'blz', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'BLZ', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Bank code', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'privatkonto', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Privatkonto', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Private account', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'firmenkonto', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Firmenkonto', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Company Account', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'bankvb_new', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Bankverbindung anlegen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'create bank details', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'bankvb_edit', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Bankverbindung bearbeiten', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'edit bank details', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'bankvb_delete', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Bankverbindung löschen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'delete bank details', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'person', + 'phrase' => 'bankvb_confirm_delete', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Bankverbindung wirklich löschen?', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Really delete bank details?', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + );