Subversion Repositories SmartDukaan

Rev

Rev 19858 | 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');
16455 anikendra 12
					echo $this->Form->input('gross_price',array('value'=>0));
14600 anikendra 13
					echo $this->Form->input('brand');
14
					echo $this->Form->input('cashback', array('type' => 'hidden' ));
15
					echo $this->Form->input('category_id');
16
					echo $this->Form->input('category',array('type'=>'text','value'=>'Mobiles'));
17
					echo $this->Form->input('identifier',array('required'=>1));					
18
					echo $this->Form->input('marketPlaceUrl');
19
					echo $this->Form->input('model_name');
14706 anikendra 20
					echo $this->Form->input('mrp',array('value'=>0));
17671 naman 21
 
22
					$showmrp=array(0=>"False",1=>"True");
23
    				echo $this->Form->input('showMrp', array('options'=>$showmrp, 'selected'=>'False'));
24
 
14857 anikendra 25
					echo $this->Form->input('maxPrice',array('value'=>0));
14600 anikendra 26
					echo $this->Form->input('product_name');
19560 naman 27
					echo $this->Form->input('rank');	
28
 
29
					echo $this->Form->input('internalRank', array('type'=>'number','value'=> 0,'required'=> true,'readonly'=> true));
30
 
14600 anikendra 31
					echo $this->Form->input('source_id');
32
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
19858 naman 33
 
19916 naman 34
// 					echo $this->Form->label('Exclusive');
35
// 					echo $this->Form->checkbox('exclusive',array('disabled' => true));
19858 naman 36
 
14600 anikendra 37
					echo $this->Form->input('secondaryIdentifier');
38
					echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ));
39
					echo $this->Form->input('sourceProductId', array('type' => 'hidden' ));				
40
					echo $this->Form->input('source_product_name');
41
					echo $this->Form->input('source_url');
42
					echo $this->Form->input('status');
15838 anikendra 43
					echo $this->Form->input('in_stock',array('type'=>'select','options'=>$stock_statuses));	
14600 anikendra 44
					echo $this->Form->input('stock_status');
45
					echo $this->Form->input('thumbnail');
46
					echo $this->Form->input('url');
17592 naman 47
 
48
					echo $this->Form->input('quantity',array('type'=>'number','value'=>1));
17710 naman 49
 
17742 naman 50
					echo $this->Form->input('shippingCost',array('value'=>0));
17710 naman 51
 
17592 naman 52
					echo $this->Form->input('videoLink');
53
					$arrCategory=array(0=>"False",1=>"True");
17636 naman 54
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>'False'));
17592 naman 55
 
17710 naman 56
 
57
 
18799 naman 58
//     				$arrSubCategory=array(0=>'None',7=>'Memory Card',8=>'Data Cable',9=>'USB Light',10=>'Screen Magnifier',11=>'Car Charger',12=>'Power Bank',13=>'Pendrive',14=>'Combo',15=>'Charger',16=>'Bluetooth Headset',17=>'Speaker',18=>'Adapter',20=>'Screen Guard',21=>'Earphone',22=>'Card Reader',23=>'Mobile Holder',24=>'Aux Cable',25=>'OTG Cable',26=>'Self Stick',27=>'Back Cover',28=>'Tempered Glass',29=>'Battery',30=>'Usb Hub',31=>'Portable Music Player');
17636 naman 59
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>0));
60
 
19139 naman 61
    				echo $this->Form->label('Show Net Price');
62
    				echo $this->Form->checkbox('showNetPrice');
17636 naman 63
 
16345 anikendra 64
					echo $this->Form->input('offer',array('type'=>'textarea'));
65
					echo $this->Form->input('tagline',array('type'=>'textarea'));
14600 anikendra 66
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status));
15250 anikendra 67
					echo $this->Form->input('buyBoxFlag',array('type'=>'select','options'=>$buyBoxFlag));
15838 anikendra 68
					echo $this->Form->input('coupon');
15884 anikendra 69
					echo $this->Form->input('codAvailable',array('type'=>'select','options'=>$buyBoxFlag,'value'=>1));
16497 anikendra 70
					echo $this->Form->input('ignorePricing',array('type'=>'select','options'=>$buyBoxFlag,'default'=>0));
17191 anikendra 71
					echo $this->Form->input('snapdealSpecialItem',array('type'=>'select','options'=>$buyBoxFlag,'default'=>0));
14600 anikendra 72
				?>
73
				</fieldset>
74
			<?php echo $this->Form->end(__('Submit')); ?>
75
			</div>
76
		</div>
77
	</div>
78
</div>
16376 anikendra 79
<script src="//cdn.ckeditor.com/4.5.2/full/ckeditor.js"></script>
16345 anikendra 80
<script type="text/javascript">
16376 anikendra 81
	CKEDITOR.replace( 'MasterDataOffer' );
82
	CKEDITOR.replace( 'MasterDataTagline' );
16345 anikendra 83
</script>