From 6360fdf4712c3786526a74db3c02852ff3f21d53 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Mon, 03 Aug 2015 15:24:41 -0400 Subject: [PATCH] - ported some patches --- interface/web/client/form/reseller.tform.php | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/interface/web/client/form/reseller.tform.php b/interface/web/client/form/reseller.tform.php index 1b18f3d..daba140 100644 --- a/interface/web/client/form/reseller.tform.php +++ b/interface/web/client/form/reseller.tform.php @@ -380,7 +380,12 @@ 'class' => 'validate_client', 'function' => 'check_vat_id', 'errmsg'=> 'invalid_vat_id'), - ), + ), + 'filters' => array( 0 => array( 'event' => 'SAVE', + 'type' => 'TRIM'), + 1 => array( 'event' => 'SAVE', + 'type' => 'TOUPPER') + ), ), 'company_id' => array ( 'datatype' => 'VARCHAR', @@ -446,7 +451,12 @@ 'width' => '30', 'maxlength' => '255', 'rows' => '', - 'cols' => '' + 'cols' => '', + 'filters' => array( 0 => array( 'event' => 'SAVE', + 'type' => 'TRIM'), + 1 => array( 'event' => 'SAVE', + 'type' => 'TOUPPER') + ), ), 'bank_account_swift' => array ( 'datatype' => 'VARCHAR', @@ -457,7 +467,12 @@ 'width' => '30', 'maxlength' => '255', 'rows' => '', - 'cols' => '' + 'cols' => '', + 'filters' => array( 0 => array( 'event' => 'SAVE', + 'type' => 'TRIM'), + 1 => array( 'event' => 'SAVE', + 'type' => 'TOUPPER') + ), ), 'notes' => array ( 'datatype' => 'TEXT', -- Gitblit v1.9.1