zet-lib 1.0.74 → 1.0.77

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/lib/zRoute.js CHANGED
@@ -1031,7 +1031,7 @@ zRoute.handleSession = async (req, user) => {
1031
1031
  })
1032
1032
 
1033
1033
  if (!userCompany.length) {
1034
- req.session.user = {}
1034
+ //req.session.user = {}
1035
1035
  } else {
1036
1036
  const userCompanyObject = Util.arrayToObject(userCompany, 'company_id')
1037
1037
  const role = await connection.result({
@@ -2943,11 +2943,11 @@ $("#body-${keys}>tr").each(function (index, tr) {
2943
2943
 
2944
2944
  }); ${Util.newLine}};${Util.newLine}`
2945
2945
 
2946
- scriptForm += ` $('#add${keys}').on('click',function(){
2946
+ scriptForm += ` $('#add${keys}').on('click',function(){
2947
2947
  append${keys}(append${keys}Max, (data) => $('#body-${keys}').append(data));
2948
2948
  append${keys}Max++;
2949
2949
  ${keys}Handler();
2950
- }); ${Util.newLine}`;
2950
+ }); ${Util.newLine}`
2951
2951
  scriptForm += `function set${keys}value(index,myobj) {
2952
2952
  for(var key in myobj){
2953
2953
  if($(".${subname}_" + key).eq(index).attr("type") == "checkbox" && myobj[key] == 1){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.0.74",
3
+ "version": "1.0.77",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"