| Line 15... |
Line 15... |
| 15 |
</form>
|
15 |
</form>
|
| 16 |
</div>
|
16 |
</div>
|
| 17 |
<h2><?php echo __('Master Data'); ?></h2>
|
17 |
<h2><?php echo __('Master Data'); ?></h2>
|
| 18 |
<table cellpadding="0" cellspacing="0" class="table table-striped">
|
18 |
<table cellpadding="0" cellspacing="0" class="table table-striped">
|
| 19 |
<tr>
|
19 |
<tr>
|
| 20 |
<!-- <th><?php echo __('id'); ?></th> -->
|
20 |
<th><?php echo __('id'); ?></th>
|
| - |
|
21 |
<th><?php echo __('sku Bundle Id'); ?></th>
|
| 21 |
<th><?php echo __('name'); ?></th>
|
22 |
<th><?php echo __('name'); ?></th>
|
| 22 |
<th><?php echo __('category_id'); ?></th>
|
23 |
<th><?php echo __('category_id'); ?></th>
|
| 23 |
<th><?php echo __('brand'); ?></th>
|
24 |
<th><?php echo __('brand'); ?></th>
|
| 24 |
<th><?php echo __('available_price'); ?></th>
|
25 |
<th><?php echo __('available_price'); ?></th>
|
| 25 |
<th><?php echo __('Source'); ?></th>
|
26 |
<th><?php echo __('Source'); ?></th>
|
| 26 |
<th><?php echo __('Image'); ?></th>
|
27 |
<th><?php echo __('Image'); ?></th>
|
| 27 |
<!-- <th> </th> -->
|
28 |
<!-- <th> </th> -->
|
| 28 |
</tr>
|
29 |
</tr>
|
| 29 |
<?php foreach ($masterdata as $product): ?>
|
30 |
<?php foreach ($masterdata as $product): ?>
|
| 30 |
<tr>
|
31 |
<tr>
|
| - |
|
32 |
<td><?php echo h($product['_id']); ?></td>
|
| - |
|
33 |
<td><?php echo h($product['skuBundleId']); ?></td>
|
| 31 |
<td class="medit" id="source_product_name" data-oid="<?php echo $product['_id'];?>"><?php echo h($product['source_product_name']); ?> </td>
|
34 |
<td class="medit" id="source_product_name" data-oid="<?php echo $product['_id'];?>"><?php echo h($product['source_product_name']); ?> </td>
|
| 32 |
<td>
|
35 |
<td>
|
| 33 |
<?php echo $this->Html->link($categories[$product['category_id']], array('controller' => 'categories', 'action' => 'view', $product['category_id'])); ?>
|
36 |
<?php echo $this->Html->link($categories[$product['category_id']], array('controller' => 'categories', 'action' => 'view', $product['category_id'])); ?>
|
| 34 |
</td>
|
37 |
</td>
|
| 35 |
<td><?php echo h($product['MasterData']['brand']); ?></td>
|
38 |
<td><?php echo h($product['brand']); ?></td>
|
| 36 |
<td class="edit" class="medit" id="available_price" data-oid="<?php echo $product['id'];?>"><?php echo h($product['available_price']); ?></td>
|
39 |
<td class="edit" class="medit" id="available_price" data-oid="<?php echo $product['_id'];?>"><?php echo h($product['available_price']); ?></td>
|
| 37 |
<td><?php echo h($storemapping[$product['source_id']]); ?></td>
|
40 |
<td><?php echo h($storemapping[$product['source_id']]); ?></td>
|
| 38 |
<td class="medit" id="thumbnail" data-oid="<?php echo $product['id'];?>">
|
41 |
<td class="medit" id="thumbnail" data-oid="<?php echo $product['_id'];?>">
|
| 39 |
<img src="<?php echo $base_url;?>app/webroot/timthumb.php?h=100&src=<?php echo $product['thumbnail'];?>" class="img img-responsive"/>
|
42 |
<img src="<?php echo $base_url;?>app/webroot/timthumb.php?h=100&src=<?php echo $product['thumbnail'];?>" class="img img-responsive"/>
|
| 40 |
</td>
|
43 |
</td>
|
| 41 |
</tr>
|
44 |
</tr>
|
| 42 |
<?php endforeach; ?>
|
45 |
<?php endforeach; ?>
|
| 43 |
</table>
|
46 |
</table>
|