Subversion Repositories SmartDukaan

Rev

Rev 15884 | Rev 16376 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
16345 anikendra 1
<link rel="stylesheet" type="text/css" href="<?php echo $base_url;?>css/bootstrap-wysihtml5-0.0.2.css"></link>
14600 anikendra 2
<div class="container">
3
	<div class="row">
4
		<div class="col-lg-3">
5
			<?php echo $this->Element('adminactions');?>
6
		</div>
7
		<div class="col-lg-9">
8
			<?php echo $this->Form->create('MasterData'); ?>
9
				<fieldset>
10
					<legend><?php echo __('Add to existing Master Data bundle'); ?></legend>
11
				<?php
12
					echo $this->Form->input('skuBundleId');
13
					echo $this->Form->input('available_price');
14
					echo $this->Form->input('brand');
15
					echo $this->Form->input('cashback', array('type' => 'hidden' ));
16
					echo $this->Form->input('category_id');
17
					echo $this->Form->input('category',array('type'=>'text','value'=>'Mobiles'));
18
					echo $this->Form->input('identifier',array('required'=>1));					
19
					echo $this->Form->input('marketPlaceUrl');
20
					echo $this->Form->input('model_name');
14706 anikendra 21
					echo $this->Form->input('mrp',array('value'=>0));
14857 anikendra 22
					echo $this->Form->input('maxPrice',array('value'=>0));
14600 anikendra 23
					echo $this->Form->input('product_name');
24
					echo $this->Form->input('rank');					
25
					echo $this->Form->input('source_id');
26
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
27
					echo $this->Form->input('secondaryIdentifier');
28
					echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ));
29
					echo $this->Form->input('sourceProductId', array('type' => 'hidden' ));				
30
					echo $this->Form->input('source_product_name');
31
					echo $this->Form->input('source_url');
32
					echo $this->Form->input('status');
33
					echo $this->Form->input('in_stock',array('type'=>'select','options'=>$stock_statuses));					
34
					echo $this->Form->input('stock_status',array('type'=>'text','value'=>'OOS'));
35
					echo $this->Form->input('thumbnail');
36
					echo $this->Form->input('url');
16345 anikendra 37
					echo $this->Form->input('offer',array('type'=>'textarea'));
38
					echo $this->Form->input('tagline',array('type'=>'textarea'));
14600 anikendra 39
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status));
15250 anikendra 40
					echo $this->Form->input('buyBoxFlag',array('type'=>'select','options'=>$buyBoxFlag));
15884 anikendra 41
					echo $this->Form->input('coupon');
42
					echo $this->Form->input('codAvailable',array('type'=>'select','options'=>$buyBoxFlag,'value'=>1));
14600 anikendra 43
				?>
44
				</fieldset>
45
			<?php echo $this->Form->end(__('Submit')); ?>
46
			</div>
47
		</div>
48
	</div>
49
</div>
16345 anikendra 50
<script src="<?php echo $base_url;?>js/wysihtml5-0.3.0_rc2.js"></script>
51
<script src="<?php echo $base_url;?>js/bootstrap-wysihtml5-0.0.2.js"></script>
52
<script type="text/javascript">
53
	$('#MasterDataOffer').wysihtml5({
54
	"font-styles": true, //Font styling, e.g. h1, h2, etc. Default true
55
	"emphasis": true, //Italics, bold, etc. Default true
56
	"lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true
57
	"html": true, //Button which allows you to edit the generated HTML. Default false
58
	"link": false, //Button to insert a link. Default true
59
	"image": false, //Button to insert an image. Default true,
60
	"color": false //Button to change color of font  
61
});
62
	$('#MasterDataTagline').wysihtml5({
63
	"font-styles": true, //Font styling, e.g. h1, h2, etc. Default true
64
	"emphasis": true, //Italics, bold, etc. Default true
65
	"lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true
66
	"html": true, //Button which allows you to edit the generated HTML. Default false
67
	"link": false, //Button to insert a link. Default true
68
	"image": false, //Button to insert an image. Default true,
69
	"color": false //Button to change color of font  
70
});
71
</script>