Subversion Repositories SmartDukaan

Rev

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

Rev 1201 Rev 1441
Line 94... Line 94...
94
                <th width="25%" class="last">Total Price</th>
94
                <th width="25%" class="last">Total Price</th>
95
              </tr>
95
              </tr>
96
            </thead>
96
            </thead>
97
            <tbody>
97
            <tbody>
98
							#foreach($item in $items)
98
							#foreach($item in $items)
-
 
99
								#if($item.get("SHIPPING_TIME") == -1)
-
 
100
									#set($locationServiceable = 0)
-
 
101
									#set($messageShippingTime = "Location not serviceable")
-
 
102
								#else
-
 
103
									#set($locationServiceable = 1)
-
 
104
									#set($messageShippingTime = "within " + $item.get("SHIPPING_TIME") + " business days")
-
 
105
								#end
99
              <tr>
106
              <tr>
100
                <td>$item.get("ITEM_NAME") </td>
107
                <td>$item.get("ITEM_NAME") </td>
101
                <td>within $item.get("SHIPPING_TIME") business days</td>
108
                <td>$messageShippingTime</td>
102
                <td class="quantity">$item.get("ITEM_QUANTITY") </td>
109
                <td class="quantity">$item.get("ITEM_QUANTITY") </td>
103
                <td>Rs. $item.get("TOTAL_PRICE") </td>
110
                <td>Rs. $item.get("TOTAL_PRICE") </td>
104
              </tr>
111
              </tr>
105
							#end
112
							#end
106
              <tr align="right">
113
              <tr align="right">
Line 108... Line 115...
108
              </tr>
115
              </tr>
109
            </tbody>
116
            </tbody>
110
          </table>
117
          </table>
111
          <div align="right" class="proceed-bttn">
118
          <div align="right" class="proceed-bttn">
112
            <label class="floatLeft" style="margin-top: 3px;">We accept all major credit cards and debit cards &nbsp;</label>
119
            <label class="floatLeft" style="margin-top: 3px;">We accept all major credit cards and debit cards &nbsp;</label>
113
			            #if($shipAddressEmpty==1)
120
			            #if($shipAddressEmpty == 1 || $locationServiceable == 0)
114
					        #set($divButtonClass = "imgDisableButton")
121
					        #set($divButtonClass = "imgDisableButton")
115
							#set($disableButton = "disabled=''")
122
							#set($disableButton = "disabled=''")
116
            	        #else
123
            	        #else
117
							#set($divButtonClass = "bigImgButton")
124
							#set($divButtonClass = "bigImgButton")
118
							#set($disableButton = "")
125
							#set($disableButton = "")