File tree Expand file tree Collapse file tree 10 files changed +26
-4
lines changed
Expand file tree Collapse file tree 10 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 1+
2+ -- Add bank account owner
3+ ALTER TABLE ` client` ADD ` bank_account_owner` varchar (255 ) DEFAULT NULL AFTER ` notes` ;
4+
Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ CREATE TABLE `client` (
160160 ` internet` varchar (255 ) NOT NULL ,
161161 ` icq` varchar (16 ) DEFAULT NULL ,
162162 ` notes` text ,
163+ ` bank_account_owner` varchar (255 ) DEFAULT NULL ,
163164 ` bank_account_number` varchar (255 ) DEFAULT NULL ,
164165 ` bank_code` varchar (255 ) DEFAULT NULL ,
165166 ` bank_name` varchar (255 ) DEFAULT NULL ,
Original file line number Diff line number Diff line change 339339 'rows ' => '' ,
340340 'cols ' => ''
341341 ),
342+ 'bank_account_owner ' => array (
343+ 'datatype ' => 'VARCHAR ' ,
344+ 'formtype ' => 'TEXT ' ,
345+ 'default ' => '' ,
346+ 'value ' => '' ,
347+ 'separator ' => '' ,
348+ 'width ' => '30 ' ,
349+ 'maxlength ' => '255 ' ,
350+ 'rows ' => '' ,
351+ 'cols ' => ''
352+ ),
342353 'bank_account_number ' => array (
343354 'datatype ' => 'VARCHAR ' ,
344355 'formtype ' => 'TEXT ' ,
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ $wb['web_php_options_notempty'] = 'Keine PHP-Option ausgewählt. Wähle mindeste
120120$wb['ssh_chroot_notempty'] = 'Keine SSH chroot-Option ausgewählt. Wähle mindestens eine SSH-Option.';
121121$wb['username_error_collision'] = 'Der Benutzername sollte nicht mit dem Wort -web- oder -web- gefolgt von einer Nummer anfangen.';
122122$wb['bank_account_number_txt'] = 'Kontonr.';
123+ $wb["bank_account_owner_txt"] = 'Kontoinhaber';
123124$wb['bank_code_txt'] = 'BLZ';
124125$wb['bank_name_txt'] = 'Bank';
125126$wb['bank_account_iban_txt'] = 'IBAN';
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ $wb["web_php_options_notempty"] = 'No PHP option(s) selected. Select at least on
123123$wb["ssh_chroot_notempty"] = 'No SSH chroot option selected. Select at least one SSH option.';
124124$wb["username_error_collision"] = 'The username may not start with the word -web- or -web- followed by a number.';
125125$wb["bank_account_number_txt"] = 'Bank account no.';
126+ $wb["bank_account_owner_txt"] = 'Bank account owner';
126127$wb["bank_code_txt"] = 'Bank code';
127128$wb["bank_name_txt"] = 'Bank name';
128129$wb["bank_account_iban_txt"] = 'IBAN';
Original file line number Diff line number Diff line change @@ -102,6 +102,10 @@ <h2><tmpl_var name="list_head_txt"></h2>
102102 < label for ="company_id "> {tmpl_var name='company_id_txt'}</ label >
103103 < input name ="company_id " id ="company_id " value ="{tmpl_var name='company_id'} " size ="30 " maxlength ="255 " type ="text " class ="textInput " />
104104 </ div >
105+ < div class ="ctrlHolder ">
106+ < label for ="bank_account_owner "> {tmpl_var name='bank_account_owner_txt'}</ label >
107+ < input name ="bank_account_owner " id ="bank_account_owner " value ="{tmpl_var name='bank_account_owner'} " size ="30 " maxlength ="255 " type ="text " class ="textInput " />
108+ </ div >
105109 < div class ="ctrlHolder ">
106110 < label for ="bank_account_number "> {tmpl_var name='bank_account_number_txt'}</ label >
107111 < input name ="bank_account_number " id ="bank_account_number " value ="{tmpl_var name='bank_account_number'} " size ="30 " maxlength ="255 " type ="text " class ="textInput " />
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ function onSubmit() {
193193
194194 $ sql = "SELECT domain_id, domain FROM domain WHERE domain_id = " . $ app ->functions ->intval ($ this ->dataRecord ['domain ' ]);
195195 if ($ _SESSION ["s " ]["user " ]["typ " ] != 'admin ' ) {
196- $ sql .= "AND sys_groupid = " . $ client_group_id ;
196+ $ sql .= " AND sys_groupid = " . $ client_group_id ;
197197 }
198198 $ domain_check = $ app ->db ->queryOneRecord ($ sql );
199199 if (!$ domain_check ) {
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ function onSubmit() {
128128
129129 $ sql = "SELECT domain_id, domain FROM domain WHERE domain_id = " . $ app ->functions ->intval ($ this ->dataRecord ['domain ' ]);
130130 if ($ _SESSION ["s " ]["user " ]["typ " ] != 'admin ' ) {
131- $ sql .= "AND sys_groupid = " . $ client_group_id ;
131+ $ sql .= " AND sys_groupid = " . $ client_group_id ;
132132 }
133133 $ domain_check = $ app ->db ->queryOneRecord ($ sql );
134134 if (!$ domain_check ) {
Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ function onSubmit() {
467467
468468 $ sql = "SELECT domain_id, domain FROM domain WHERE domain_id = " . $ app ->functions ->intval ($ this ->dataRecord ['domain ' ]);
469469 if ($ _SESSION ["s " ]["user " ]["typ " ] != 'admin ' ) {
470- $ sql .= "AND sys_groupid = " . $ client_group_id ;
470+ $ sql .= " AND sys_groupid = " . $ client_group_id ;
471471 }
472472 $ domain_check = $ app ->db ->queryOneRecord ($ sql );
473473 if (!$ domain_check ) {
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ function onSubmit() {
304304
305305 $ sql = "SELECT domain_id, domain FROM domain WHERE domain_id = " . $ app ->functions ->intval ($ this ->dataRecord ['sel_domain ' ]);
306306 if ($ _SESSION ["s " ]["user " ]["typ " ] != 'admin ' ) {
307- $ sql .= "AND sys_groupid = " . $ client_group_id ;
307+ $ sql .= " AND sys_groupid = " . $ client_group_id ;
308308 }
309309 $ domain_check = $ app ->db ->queryOneRecord ($ sql );
310310 if (!$ domain_check ) {
You can’t perform that action at this time.
0 commit comments