Currently there are only the existing four (4) Resource types, being Material, Labour, Equipment and Other. Where can I maintain these values? I love the application, and even though I am not in the construction industry, but in the Audio Vsual Integration space, I want to change the Resource types to Equipment, Installation, Programming, Configuration and subscriptions.
I can not seem to find it in the database, unless I am not looking properly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The types have been hard coded in the javascript file named materialAction.js
The compressed version of the file is available inside script/items/material (this one is the one loaded by the application)
The uncompressed version of the file is available inside script/uncompressed/items/material
You may modify the options inside the javascript file and add the modified file directly to the war package to replace the original one.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you so much, as a non Dev, I hope I do not break this. Will try and let you know.
One more question, when doing projects, nowadays, we deliver BOQ with a combination of once of cost elements like equiment, labour etc, but also subscriptions, which is monthly recurring fees over a typical 36 month period. What is the best way to deal with this, it will be under the resource type of Subscriptions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, regarding the previous post, I managed to find teh uncompressed file, and edited it with the right values. How do I get that back into the compressed format prior to using jar -cvf to recrate the .war file?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We use the YUI Compressor (link provided at the bottom of this message).
However the javascript file will work just fine even if it is not compressed/obfuscated. The purpose of compressing the files was to save some bandwidth and browser memory.
This is not working. I did all you suggested, even if I look at the deployed system, the materialAction.js file is updated with the correct values, but when I create a new Resource, the old values are still in the Dropdown.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Currently there are only the existing four (4) Resource types, being Material, Labour, Equipment and Other. Where can I maintain these values? I love the application, and even though I am not in the construction industry, but in the Audio Vsual Integration space, I want to change the Resource types to Equipment, Installation, Programming, Configuration and subscriptions.
I can not seem to find it in the database, unless I am not looking properly.
Hello Louis,
The types have been hard coded in the javascript file named materialAction.js
The compressed version of the file is available inside script/items/material (this one is the one loaded by the application)
The uncompressed version of the file is available inside script/uncompressed/items/material
You may modify the options inside the javascript file and add the modified file directly to the war package to replace the original one.
Thank you so much, as a non Dev, I hope I do not break this. Will try and let you know.
One more question, when doing projects, nowadays, we deliver BOQ with a combination of once of cost elements like equiment, labour etc, but also subscriptions, which is monthly recurring fees over a typical 36 month period. What is the best way to deal with this, it will be under the resource type of Subscriptions.
Hi, regarding the previous post, I managed to find teh uncompressed file, and edited it with the right values. How do I get that back into the compressed format prior to using jar -cvf to recrate the .war file?
Hello Louis,
We use the YUI Compressor (link provided at the bottom of this message).
However the javascript file will work just fine even if it is not compressed/obfuscated. The purpose of compressing the files was to save some bandwidth and browser memory.
http://yui.github.io/yuicompressor/
OK, so I can simply copy the uncompressed edited file to the location where the compressed file was?
This is not working. I did all you suggested, even if I look at the deployed system, the materialAction.js file is updated with the correct values, but when I create a new Resource, the old values are still in the Dropdown.
This is exactly the same issue that I am facing while using this extra ordinary feature can someone guide me how can I use the other sources.
Last edit: fcdsbvfd gvfdsv 2021-11-02