Subversion Repositories SmartDukaan

Rev

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

Rev 15077 Rev 16493
Line 11... Line 11...
11
					<th><?php echo ('sku'); ?></th>
11
					<th><?php echo ('sku'); ?></th>
12
					<th><?php echo ('Brand'); ?></th>
12
					<th><?php echo ('Brand'); ?></th>
13
					<th><?php echo ('Source'); ?></th>
13
					<th><?php echo ('Source'); ?></th>
14
					<th><?php echo ('Name'); ?></th>
14
					<th><?php echo ('Name'); ?></th>
15
					<th><?php echo ('Bundle Id'); ?></th>
15
					<th><?php echo ('Bundle Id'); ?></th>
16
					<th><?php echo ('Threshold Price'); ?></th>
16
					<!-- <th><?php //echo ('Threshold Price'); ?></th> -->
17
					<th><?php echo ('Deal Points'); ?></th>
17
					<!-- <th><?php //echo ('Deal Points'); ?></th> -->
18
					<th><?php echo ('Start Date'); ?></th>
18
					<th><?php echo ('Start Date'); ?></th>
19
					<th><?php echo ('End Date'); ?></th>
19
					<th><?php echo ('End Date'); ?></th>
20
					<th class="actions"><?php echo __('Actions'); ?></th>
20
					<th class="actions"><?php echo __('Actions'); ?></th>
21
			</tr>
21
			</tr>
22
			<?php foreach ($negativedeals as $negativedeal): ?>
22
			<?php foreach ($negativedeals as $negativedeal): ?>
Line 24... Line 24...
24
				<td><?php echo h($negativedeal['sku']); ?>&nbsp;</td>
24
				<td><?php echo h($negativedeal['sku']); ?>&nbsp;</td>
25
				<td><?php echo h($negativedeal['brand']); ?></td>
25
				<td><?php echo h($negativedeal['brand']); ?></td>
26
				<td><?php echo h($sources[$negativedeal['source_id']]); ?></td>
26
				<td><?php echo h($sources[$negativedeal['source_id']]); ?></td>
27
				<td><?php echo h($negativedeal['source_product_name']); ?></td>
27
				<td><?php echo h($negativedeal['source_product_name']); ?></td>
28
				<td><?php echo $negativedeal['skuBundleId']; ?></td>
28
				<td><?php echo $negativedeal['skuBundleId']; ?></td>
29
				<td><?php echo $negativedeal['dealThresholdPrice']; ?></td>
29
				<!-- <td><?php //echo $negativedeal['dealThresholdPrice']; ?></td> -->
30
				<td><?php echo $negativedeal['dealPoints']; ?></td>
30
				<!-- <td><?php //echo $negativedeal['dealPoints']; ?></td> -->
31
				<td><?php echo date('d-m-Y',($negativedeal['startDate']/1000)); ?></td>
31
				<td><?php echo date('d-m-Y',($negativedeal['startDate']/1000)); ?></td>
32
				<td><?php echo date('d-m-Y',($negativedeal['endDate']/1000)); ?></td>
32
				<td><?php echo date('d-m-Y',($negativedeal['endDate']/1000)); ?></td>
33
				<td class="actions">
33
				<td class="actions">
34
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $negativedeal['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $negativedeal['_id']['$oid'])); ?>
34
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $negativedeal['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $negativedeal['_id']['$oid'])); ?>
35
				</td>
35
				</td>