Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function isContractOpen(quote) {
- if(!quote) { return false; }
- if(quote.CANCEL) { return false; }
- if(quote.CONTRACT && !quote.INVOICED && parseDate(quote.DEL_DATE) > (new Date())) { return true; }
- return false;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement