Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
14600 anikendra 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-3">
4
			<?php echo $this->Element('adminactions');?>
5
		</div>
6
		<div class="col-lg-9">
7
			<?php echo $this->Form->create('MasterData'); ?>
8
				<fieldset>
9
					<legend><?php echo __('Add Master Data'); ?></legend>
10
				<?php
11
					echo $this->Form->input('available_price');
12
					echo $this->Form->input('brand');
13
					echo $this->Form->input('cashback', array('type' => 'hidden' ));
14
					echo $this->Form->input('category_id');
15
					echo $this->Form->input('category',array('type'=>'text','value'=>'Mobiles'));
16
					echo $this->Form->input('identifier',array('required'=>1));					
17
					echo $this->Form->input('marketPlaceUrl');
18
					echo $this->Form->input('model_name');
14706 anikendra 19
					echo $this->Form->input('mrp',array('value'=>0));
14857 anikendra 20
					echo $this->Form->input('maxPrice',array('value'=>0));
14600 anikendra 21
					echo $this->Form->input('product_name');
22
					echo $this->Form->input('rank');					
23
					echo $this->Form->input('source_id');
24
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
25
					echo $this->Form->input('secondaryIdentifier');
26
					echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ));
27
					echo $this->Form->input('sourceProductId', array('type' => 'hidden' ));				
28
					echo $this->Form->input('source_product_name');
29
					echo $this->Form->input('source_url');
30
					echo $this->Form->input('status');
15838 anikendra 31
					echo $this->Form->input('in_stock',array('type'=>'select','options'=>$stock_statuses));	
14600 anikendra 32
					echo $this->Form->input('stock_status');
33
					echo $this->Form->input('thumbnail');
34
					echo $this->Form->input('url');
16345 anikendra 35
					echo $this->Form->input('offer',array('type'=>'textarea'));
36
					echo $this->Form->input('tagline',array('type'=>'textarea'));
14600 anikendra 37
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status));
15250 anikendra 38
					echo $this->Form->input('buyBoxFlag',array('type'=>'select','options'=>$buyBoxFlag));
15838 anikendra 39
					echo $this->Form->input('coupon');
15884 anikendra 40
					echo $this->Form->input('codAvailable',array('type'=>'select','options'=>$buyBoxFlag,'value'=>1));
14600 anikendra 41
				?>
42
				</fieldset>
43
			<?php echo $this->Form->end(__('Submit')); ?>
44
			</div>
45
		</div>
46
	</div>
47
</div>
16376 anikendra 48
<script src="//cdn.ckeditor.com/4.5.2/full/ckeditor.js"></script>
16345 anikendra 49
<script type="text/javascript">
16376 anikendra 50
	CKEDITOR.replace( 'MasterDataOffer' );
51
	CKEDITOR.replace( 'MasterDataTagline' );
16345 anikendra 52
</script>