

<div id="company_modal" class="modal fade in">
	<div class="modal-dialog">
		<div class="modal-content">
			<form action="<?php echo base_url() ?>company/saveCompany" enctype="multipart/form-data" method="POST">
				<input type="hidden" id="companyID" name="companyID" value="" />
				
				<div class="modal-header">
					<button type="button" class="modal-close" data-dismiss="modal" aria-label="Close"><span></span><span></span></button>
					<h3 class="modal-title"><b><?php echo $this->lang->line('title') ?></b></h3>
				</div>

				<div class="modal-body">
				
					<div class="form-group row">
						<label class="col-xs-12 required" for=""><?php echo $this->lang->line('companyName') ?></label>
						<div class="col-xs-12">
							<input type="text" placeholder="<?php echo $this->lang->line('companyName') ?>" id="companyName" name="companyName" class="form-control" required="required" />
							<div class="helper">
								<ul>
									<li><?php echo $this->lang->line('compNameHelper1') ?></li>
									<li><?php echo $this->lang->line('compNameHelper2') ?></li>
								</ul>
							</div>
						</div>
					</div>					
				
					<div class="form-group row">
						<label class="col-xs-12" for=""><?php echo $this->lang->line('address') ?></label>
						<div class="col-xs-12">
							<textarea id="companyAddress" name="companyAddress" class="form-control" rows="5" placeholder="<?php echo $this->lang->line('address') ?>"></textarea>
							<div class="helper">
								<ul>
									<li><?php echo $this->lang->line('compAddressHelper') ?></li>
								</ul>
							</div>
						</div>
					</div>

				</div>
				
				<div class="modal-footer">
					<button type="button" class="btn btn-danger" data-dismiss="modal">
						<i class="fa fa-times"></i>&nbsp;<?php echo $this->lang->line('close') ?>
					</button>
					<button type="submit" id="saveCompany" name="saveCompany" class="btn btn-success">
						<i class="fa fa-check"></i>&nbsp;<?php echo $this->lang->line('save') ?>
					</button>
				</div>
			</form>
		</div>
	</div>
</div>
                
<!-- DELETE -->
<div id="delete_modal" class="modal fade in">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<h3 class="modal-title"><?php echo $this->lang->line('delete') ?></h3>
			</div>
			
			<div class="modal-body">
				<input type="text" placeholder="" id="deleteID" name="deleteID" class="form-control" style="display:none">
				<?php echo $this->lang->line('confirmdelete') ?>
			</div>
			
			<div class="modal-footer">
				<button type="button" class="btn btn-danger" data-dismiss="modal">
					<i class="fa fa-times"></i>&nbsp;<?php echo $this->lang->line('close') ?>
				</button>
				<button type="button" id="deleteCompany" name="deleteCompany" class="btn btn-success" onclick="deleteCompany()">
					<i class="fa fa-check"></i> <?php echo $this->lang->line('delete') ?>
				</button>
			</div>
		</div>
	</div>
</div>
