Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13532 anikendra 1
<div class="stores view">
2
<h2><?php echo __('Store'); ?></h2>
3
	<dl>
4
		<dt><?php echo __('Id'); ?></dt>
5
		<dd>
6
			<?php echo h($store['Store']['id']); ?>
7
			&nbsp;
8
		</dd>
9
		<dt><?php echo __('Name'); ?></dt>
10
		<dd>
11
			<?php echo h($store['Store']['name']); ?>
12
			&nbsp;
13
		</dd>
14
		<dt><?php echo __('Status'); ?></dt>
15
		<dd>
16
			<?php echo h($store['Store']['status']); ?>
17
			&nbsp;
18
		</dd>
19
		<dt><?php echo __('Affiliate Id'); ?></dt>
20
		<dd>
21
			<?php echo h($store['Store']['affiliate_id']); ?>
22
			&nbsp;
23
		</dd>
24
		<dt><?php echo __('Created'); ?></dt>
25
		<dd>
26
			<?php echo h($store['Store']['created']); ?>
27
			&nbsp;
28
		</dd>
29
		<dt><?php echo __('Modified'); ?></dt>
30
		<dd>
31
			<?php echo h($store['Store']['modified']); ?>
32
			&nbsp;
33
		</dd>
34
	</dl>
35
</div>
36
<div class="actions">
37
	<h3><?php echo __('Actions'); ?></h3>
38
	<ul>
39
		<li><?php echo $this->Html->link(__('Edit Store'), array('action' => 'edit', $store['Store']['id'])); ?> </li>
40
		<li><?php echo $this->Form->postLink(__('Delete Store'), array('action' => 'delete', $store['Store']['id']), null, __('Are you sure you want to delete # %s?', $store['Store']['id'])); ?> </li>
41
		<li><?php echo $this->Html->link(__('List Stores'), array('action' => 'index')); ?> </li>
42
		<li><?php echo $this->Html->link(__('New Store'), array('action' => 'add')); ?> </li>
43
		<li><?php echo $this->Html->link(__('List Orders'), array('controller' => 'orders', 'action' => 'index')); ?> </li>
44
		<li><?php echo $this->Html->link(__('New Order'), array('controller' => 'orders', 'action' => 'add')); ?> </li>
45
		<li><?php echo $this->Html->link(__('List Store Products'), array('controller' => 'store_products', 'action' => 'index')); ?> </li>
46
		<li><?php echo $this->Html->link(__('New Store Product'), array('controller' => 'store_products', 'action' => 'add')); ?> </li>
47
	</ul>
48
</div>
49
<div class="related">
50
	<h3><?php echo __('Related Orders'); ?></h3>
51
	<?php if (!empty($store['Order'])): ?>
52
	<table cellpadding = "0" cellspacing = "0">
53
	<tr>
54
		<th><?php echo __('Id'); ?></th>
55
		<th><?php echo __('User Id'); ?></th>
56
		<th><?php echo __('Store Id'); ?></th>
57
		<th><?php echo __('Store Order Id'); ?></th>
58
		<th><?php echo __('Order Url'); ?></th>
59
		<th><?php echo __('Rawhtml'); ?></th>
60
		<th><?php echo __('Product Name'); ?></th>
61
		<th><?php echo __('Product Code'); ?></th>
62
		<th><?php echo __('Unit Price'); ?></th>
63
		<th><?php echo __('Total Amount'); ?></th>
64
		<th><?php echo __('Customer Name'); ?></th>
65
		<th><?php echo __('Customer Email'); ?></th>
66
		<th><?php echo __('Customer Mobile'); ?></th>
67
		<th><?php echo __('Customer Address'); ?></th>
68
		<th><?php echo __('Status'); ?></th>
69
		<th><?php echo __('Created'); ?></th>
70
		<th><?php echo __('Modified'); ?></th>
71
		<th class="actions"><?php echo __('Actions'); ?></th>
72
	</tr>
73
	<?php foreach ($store['Order'] as $order): ?>
74
		<tr>
75
			<td><?php echo $order['id']; ?></td>
76
			<td><?php echo $order['user_id']; ?></td>
77
			<td><?php echo $order['store_id']; ?></td>
78
			<td><?php echo $order['store_order_id']; ?></td>
79
			<td><?php echo $order['order_url']; ?></td>
80
			<td><?php echo $order['rawhtml']; ?></td>
81
			<td><?php echo $order['product_name']; ?></td>
82
			<td><?php echo $order['product_code']; ?></td>
83
			<td><?php echo $order['unit_price']; ?></td>
84
			<td><?php echo $order['total_amount']; ?></td>
85
			<td><?php echo $order['customer_name']; ?></td>
86
			<td><?php echo $order['customer_email']; ?></td>
87
			<td><?php echo $order['customer_mobile']; ?></td>
88
			<td><?php echo $order['customer_address']; ?></td>
89
			<td><?php echo $order['status']; ?></td>
90
			<td><?php echo $order['created']; ?></td>
91
			<td><?php echo $order['modified']; ?></td>
92
			<td class="actions">
93
				<?php echo $this->Html->link(__('View'), array('controller' => 'orders', 'action' => 'view', $order['id'])); ?>
94
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'orders', 'action' => 'edit', $order['id'])); ?>
95
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'orders', 'action' => 'delete', $order['id']), null, __('Are you sure you want to delete # %s?', $order['id'])); ?>
96
			</td>
97
		</tr>
98
	<?php endforeach; ?>
99
	</table>
100
<?php endif; ?>
101
 
102
	<div class="actions">
103
		<ul>
104
			<li><?php echo $this->Html->link(__('New Order'), array('controller' => 'orders', 'action' => 'add')); ?> </li>
105
		</ul>
106
	</div>
107
</div>
108
<div class="related">
109
	<h3><?php echo __('Related Store Products'); ?></h3>
110
	<?php if (!empty($store['StoreProduct'])): ?>
111
	<table cellpadding = "0" cellspacing = "0">
112
	<tr>
113
		<th><?php echo __('Id'); ?></th>
114
		<th><?php echo __('Store Id'); ?></th>
115
		<th><?php echo __('Product Id'); ?></th>
116
		<th><?php echo __('Product Url'); ?></th>
117
		<th><?php echo __('Img Url'); ?></th>
118
		<th><?php echo __('Short Descrption'); ?></th>
119
		<th><?php echo __('Price'); ?></th>
120
		<th><?php echo __('Status'); ?></th>
121
		<th><?php echo __('Last Crawled'); ?></th>
122
		<th><?php echo __('Created'); ?></th>
123
		<th><?php echo __('Modified'); ?></th>
124
		<th class="actions"><?php echo __('Actions'); ?></th>
125
	</tr>
126
	<?php foreach ($store['StoreProduct'] as $storeProduct): ?>
127
		<tr>
128
			<td><?php echo $storeProduct['id']; ?></td>
129
			<td><?php echo $storeProduct['store_id']; ?></td>
130
			<td><?php echo $storeProduct['product_id']; ?></td>
131
			<td><?php echo $storeProduct['product_url']; ?></td>
132
			<td><?php echo $storeProduct['img_url']; ?></td>
133
			<td><?php echo $storeProduct['short_descrption']; ?></td>
134
			<td><?php echo $storeProduct['price']; ?></td>
135
			<td><?php echo $storeProduct['status']; ?></td>
136
			<td><?php echo $storeProduct['last_crawled']; ?></td>
137
			<td><?php echo $storeProduct['created']; ?></td>
138
			<td><?php echo $storeProduct['modified']; ?></td>
139
			<td class="actions">
140
				<?php echo $this->Html->link(__('View'), array('controller' => 'store_products', 'action' => 'view', $storeProduct['id'])); ?>
141
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'store_products', 'action' => 'edit', $storeProduct['id'])); ?>
142
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'store_products', 'action' => 'delete', $storeProduct['id']), null, __('Are you sure you want to delete # %s?', $storeProduct['id'])); ?>
143
			</td>
144
		</tr>
145
	<?php endforeach; ?>
146
	</table>
147
<?php endif; ?>
148
 
149
	<div class="actions">
150
		<ul>
151
			<li><?php echo $this->Html->link(__('New Store Product'), array('controller' => 'store_products', 'action' => 'add')); ?> </li>
152
		</ul>
153
	</div>
154
</div>