Subversion Repositories SmartDukaan

Rev

Rev 31156 | Rev 31158 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31156 Rev 31157
Line 54... Line 54...
54
	       	
54
	       	
55
	    <div class = "row col-lg-6">
55
	    <div class = "row col-lg-6">
56
	     		  
56
	     		  
57
        <div class="form-group col-lg-3">
57
        <div class="form-group col-lg-3">
58
            <label>Partner Type</label>
58
            <label>Partner Type</label>
59
            <select multiple class="criteria-partnertype chosen-select" style:"width:300%">
59
            <select multiple class="criteria-partnertype chosen-select">
60
                #foreach ($partnerType in $partnerTypes)
60
                #foreach ($partnerType in $partnerTypes)
61
                <option value="$partnerType">$partnerType</option>
61
                <option value="$partnerType">$partnerType</option>
62
                #end
62
                #end
63
                      <option value="GREY">GREY</option>
63
                      <option value="GREY">GREY</option>
64
          
64
          
Line 288... Line 288...
288
   console.log(lastMonthSale)
288
   console.log(lastMonthSale)
289
   lastMonthSale = lastMonthSale.replace(/,/g, "");
289
   lastMonthSale = lastMonthSale.replace(/,/g, "");
290
   
290
   
291
   console.log(lastMonthSale)
291
   console.log(lastMonthSale)
292
    if (partnerTypes.includes("GREY")) {
292
    if (partnerTypes.includes("GREY")) {
293
      if(parseInt(lastMonthSale) < 20000)
293
      if(parseInt(lastMonthSale) < 200000)
294
        return false;
294
        return false;
295
    }
295
    }
296
   
296
   
297
   if (!partnerTypes.includes(tablePartnerType)) {
297
   if (!partnerTypes.includes(tablePartnerType)) {
298
        return true;
298
        return true;