biz9-logic 4.8.173 → 4.8.175
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/biz9_config +1 -1
- package/index.js +8 -2
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -916,8 +916,14 @@ class PageType {
|
|
|
916
916
|
static VALUE_19='value_19';
|
|
917
917
|
}
|
|
918
918
|
class DataType {
|
|
919
|
-
static
|
|
920
|
-
|
|
919
|
+
static get_data_type_title = (data_type,get_plural) => {
|
|
920
|
+
let r_data_type = (!data_type) ? "" : String(Str.get_title(data_type.replaceAll('_',' ').replaceAll('dt','').replace('biz',''))).trim();
|
|
921
|
+
if(get_plural){
|
|
922
|
+
return r_data_type + "s";
|
|
923
|
+
}else{
|
|
924
|
+
return r_data_type;
|
|
925
|
+
}
|
|
926
|
+
|
|
921
927
|
}
|
|
922
928
|
static get_data_type_url(data_type){
|
|
923
929
|
switch(data_type){
|