| Line 5... |
Line 5... |
| 5 |
</div>
|
5 |
</div>
|
| 6 |
<div class="col-lg-9">
|
6 |
<div class="col-lg-9">
|
| 7 |
<div class="searchbar">
|
7 |
<div class="searchbar">
|
| 8 |
<form class="navbar-form" role="search" method="GET" name="search" action="searchdp">
|
8 |
<form class="navbar-form" role="search" method="GET" name="search" action="searchdp">
|
| 9 |
<div class="input-group col-xs-6 text-left">
|
9 |
<div class="input-group col-xs-6 text-left">
|
| 10 |
Search By Sku :<input type="hidden" name="type" value="sku" />
|
10 |
<!-- Search By Sku :<input type="hidden" name="type" value="sku" /> -->
|
| - |
|
11 |
Search By Sku :
|
| - |
|
12 |
<input type="radio" name="type" value="sku" selected="selected"/>Sku
|
| - |
|
13 |
<input type="radio" name="type" value="skuBundleId"/>Sku Bundle Id
|
| 11 |
</div>
|
14 |
</div>
|
| 12 |
<div class="input-group col-xs-6 text-right" id="remote">
|
15 |
<div class="input-group col-xs-6 text-right" id="remote">
|
| 13 |
<input autocomplete="off" type="text" class="form-control" placeholder="Search for items" name="search" id="srch-term">
|
16 |
<input autocomplete="off" type="text" class="form-control" placeholder="Search for items" name="search" id="srch-term">
|
| 14 |
<div class="input-group-btn w25px">
|
17 |
<div class="input-group-btn w25px">
|
| 15 |
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
18 |
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
| Line 19... |
Line 22... |
| 19 |
</div>
|
22 |
</div>
|
| 20 |
<h2><?php echo __('Dealer Prices'); ?></h2>
|
23 |
<h2><?php echo __('Dealer Prices'); ?></h2>
|
| 21 |
<table class="table table-striped">
|
24 |
<table class="table table-striped">
|
| 22 |
<tr>
|
25 |
<tr>
|
| 23 |
<th><?php echo __('sku'); ?></th>
|
26 |
<th><?php echo __('sku'); ?></th>
|
| - |
|
27 |
<th><?php echo __('Bundle Id'); ?></th>
|
| 24 |
<th><?php echo __('Brand'); ?></th>
|
28 |
<th><?php echo __('Brand'); ?></th>
|
| 25 |
<th><?php echo __('Name'); ?></th>
|
29 |
<th><?php echo __('Name'); ?></th>
|
| 26 |
<th><?php echo __('dp'); ?></th>
|
30 |
<th><?php echo __('dp'); ?></th>
|
| 27 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
31 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
| 28 |
</tr>
|
32 |
</tr>
|
| Line 31... |
Line 35... |
| 31 |
if(!is_array($dp)){
|
35 |
if(!is_array($dp)){
|
| 32 |
$dp = json_decode($dp,1);
|
36 |
$dp = json_decode($dp,1);
|
| 33 |
}?>
|
37 |
}?>
|
| 34 |
<tr>
|
38 |
<tr>
|
| 35 |
<td><?php echo h($dp['sku']); ?> </td>
|
39 |
<td><?php echo h($dp['sku']); ?> </td>
|
| - |
|
40 |
<td><?php echo h($dp['skuBundleId']); ?> </td>
|
| 36 |
<td><?php echo h($dp['brand']); ?> </td>
|
41 |
<td><?php echo h($dp['brand']); ?> </td>
|
| 37 |
<td id="source_product_name" data-oid="<?php echo $dp['_id']['$oid'];?>" ><?php echo h($dp['source_product_name']); ?></td>
|
42 |
<td id="source_product_name" data-oid="<?php echo $dp['_id']['$oid'];?>" ><?php echo h($dp['source_product_name']); ?></td>
|
| 38 |
<td class="edit" id="dp" data-oid="<?php echo $dp['_id']['$oid'];?>" ><?php echo h($dp['dp']); ?></td>
|
43 |
<td class="edit" id="dp" data-oid="<?php echo $dp['_id']['$oid'];?>" ><?php echo h($dp['dp']); ?></td>
|
| 39 |
<td class="actions">
|
44 |
<td class="actions">
|
| 40 |
<?php //echo $this->Html->link(__('Edit'), array('action' => 'edit', $dp['_id']['$oid'])); ?>
|
45 |
<?php //echo $this->Html->link(__('Edit'), array('action' => 'edit', $dp['_id']['$oid'])); ?>
|