Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (v[0] == '!' && v[v.length-1] == '!' && v.length >= 18) {
- if (this.docType.toLowerCase() == 'job card order') {
- this.addToList(v.slice(0,-9).replace('!', '').replace(/^0+/, ''));
- } else {
- this.addToList(v.slice(0,-5).replace('!', '').replace(/^0+/, ''));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement