Subversion Repositories SmartDukaan

Rev

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

Rev 16121 Rev 16269
Line 142... Line 142...
142
        <?php if(isset($items) && !empty($items)){?>
142
        <?php if(isset($items) && !empty($items)){?>
143
          var items = <?php echo json_encode($item);?><?php }?>;
143
          var items = <?php echo json_encode($item);?><?php }?>;
144
        <?php if(isset($notServiceableLocation)){?>
144
        <?php if(isset($notServiceableLocation)){?>
145
          var notServiceableLocation = <?php echo $notServiceableLocation;?><?php }?>;
145
          var notServiceableLocation = <?php echo $notServiceableLocation;?><?php }?>;
146
        <?php if(isset($item) && !empty($item)):?>
146
        <?php if(isset($item) && !empty($item)):?>
-
 
147
          <?php $itemString = ''?> 
147
          <?php foreach($item AS $i):?>
148
          <?php foreach($item AS $i):?>
148
          <?php $itemString .= $i['id'].',';?>
149
          <?php $itemString .= $i['id'].',';?>
149
          <?php endforeach;?>
150
          <?php endforeach;?>
150
          <?php $itemString = substr($itemString, 0, -1);?>
151
          <?php $itemString = substr($itemString, 0, -1);?>
151
        <?php endif;?>
152
        <?php endif;?>