Subversion Repositories SmartDukaan

Rev

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

Rev 7420 Rev 7461
Line 92... Line 92...
92
var fbaPrice = Math.floor( x );
92
var fbaPrice = Math.floor( x );
93
var y=document.forms["upload"]["sellingPrice"].value;
93
var y=document.forms["upload"]["sellingPrice"].value;
94
var nonFbaPrice = Math.floor( y );
94
var nonFbaPrice = Math.floor( y );
95
var z=document.forms["upload"]["saholicPrice"].value;
95
var z=document.forms["upload"]["saholicPrice"].value;
96
var saholicPrice = Math.floor( z );
96
var saholicPrice = Math.floor( z );
-
 
97
var holdInventory=document.forms["upload"]["holdInventory"].value;
-
 
98
var defaultInventory=document.forms["upload"]["defaultInventory"].value;
97
if ( x==null || x=="" || isNaN(x))
99
if ( x==null || x=="" || isNaN(x))
98
  {
100
  {
99
  jAlert('Illegal Entry In Fba Price Field', 'ERROR');
101
  jAlert('Illegal Entry In Fba Price Field', 'ERROR');
100
  return false;
102
  return false;
101
  }
103
  }
Line 113... Line 115...
113
if ( handlingTime > 30 || customHandlingTime > 30 )
115
if ( handlingTime > 30 || customHandlingTime > 30 )
114
  {
116
  {
115
  jAlert('Unacceptable Value In Lead Time To Ship', 'ERROR');
117
  jAlert('Unacceptable Value In Lead Time To Ship', 'ERROR');
116
  return false;
118
  return false;
117
  }
119
  }
-
 
120
if ( holdInventory==null || holdInventory=="" || isNaN(holdInventory))
-
 
121
  {
-
 
122
  jAlert('Illegal Entry In Hold Inventory Field', 'ERROR');
-
 
123
  return false;
-
 
124
  }
-
 
125
if ( defaultInventory==null || defaultInventory=="" || isNaN(defaultInventory) )
-
 
126
  {
-
 
127
  jAlert('Illegal Entry In Default Inventory Field', 'ERROR');
-
 
128
  return false;
-
 
129
  }  
-
 
130
 
118
}
131
}
119
 
132
 
120
</script>
133
</script>
121
<script type="text/javascript">
134
<script type="text/javascript">
122
$(document).ready(function() {
135
$(document).ready(function() {
Line 185... Line 198...
185
</tr>
198
</tr>
186
<tr>      
199
<tr>      
187
<td class="detail">EAN</td>
200
<td class="detail">EAN</td>
188
<td class="value">$itemDetail.getEan()<input id="ean" name="ean" value='$itemDetail.getEan()'type="hidden"/></td>
201
<td class="value">$itemDetail.getEan()<input id="ean" name="ean" value='$itemDetail.getEan()'type="hidden"/></td>
189
</tr>
202
</tr>
-
 
203
<tr>
-
 
204
<td class="detail">RISKY</td>
-
 
205
<td class="value" style="text-transform : uppercase;">$item.isRisky()</td>
-
 
206
</tr>
-
 
207
<tr>
-
 
208
<td class="detail" style="text-transform : uppercase;">Status</td>
-
 
209
<td class="value">$item.getItemStatus()</td>
-
 
210
</tr>
190
<tr>      
211
<tr>      
191
<td class="detail">Default Inventory</td>
212
<td class="detail">Default Inventory</td>
192
<td class="value">$item.getDefaultInventory()</td>
213
<td class="value">$item.getDefaultInventory()</td>
193
</tr>
214
</tr>
194
<tr>      
215
<tr>      
Line 259... Line 280...
259
	<span>Days</span>
280
	<span>Days</span>
260
	#end
281
	#end
261
</td>
282
</td>
262
</tr>
283
</tr>
263
<tr>
284
<tr>
-
 
285
<td class="detail">Hold Inventory / Default Inventory</td>
-
 
286
<td class="value">
-
 
287
<span>Hold Inventory</span>
-
 
288
<input type="text" value='$item.getHoldInventory()' name="holdInventory" id="holdInventory" style="width: 10%;">
-
 
289
<span>Default Inventory</span>
-
 
290
<input type="text" value='$item.getDefaultInventory()' name="defaultInventory" id="defaultInventory" style="width: 10%;">
-
 
291
</td>
-
 
292
</tr>
-
 
293
 
-
 
294
<tr>
264
<td class="detail">Action</td>
295
<td class="detail">Action</td>
265
<td class="value"><input type="submit" value="Update" name="upload" style="width: 25%;">
296
<td class="value"><input type="submit" value="Update" name="upload" style="width: 25%;">
266
<input type="button" style="padding-left: 5px; margin-left: 10px;width: 25%;" id="cancelbutton" name="cancel" value="Cancel">
297
<input type="button" style="padding-left: 5px; margin-left: 10px;width: 25%;" id="cancelbutton" name="cancel" value="Cancel">
267
	  </td>
298
	  </td>
268
</tr>
299
</tr>