fixing bugs on business settings in master -vadivel J
This commit is contained in:
parent
5e55504fe3
commit
2b11fbb46c
@ -452,94 +452,8 @@ if (!empty($filenames)) {
|
||||
<a class="btn btn-dark waves-effect waves-light" href="<?php echo base_url(); ?>supplierlisting"><span class="bold">Back</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end page title -->
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body" style="padding: 1rem 2rem !important;">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<form class="form-horizontal" role="form" id="addemployee" action="<?php echo base_url() ?>Updatecompany" method="post" role="form" enctype="multipart/form-data">
|
||||
<div class="box-body">
|
||||
<!-- Supplier Information -->
|
||||
<legend style="margin-left:-10px;color: #4f7c97;;color: #4f7c97;">Business Information</legend>
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row">
|
||||
<div class=" col-md-3">
|
||||
<img id="profilepicture" src="<?= base_url() . 'public/uploads/images/avatar.png'; ?>" alt="your image" style="width: 139px;" /><br />
|
||||
<input type='file' input accept=".JPG,.PNG" onchange="readURL(this,0);" id="photo" value="<?php echo $ProfilePic; ?>" name="photo" />
|
||||
<label for="photo">Select Company Logo<br /><small>(only .jpg or .png)</small></label>
|
||||
<input type="hidden" name="Image" id="Image" value="<?php echo $ProfilePic; ?>" class="form-control" readonly>
|
||||
<input type="hidden" name="ModifyImage" id="ModifyImage" class="form-control" readonly>
|
||||
</div>
|
||||
<div class=" col-md-3">
|
||||
<label class="col-form-label" for="CompanyID">CompanyID<span class="badge">*</span></label>
|
||||
<input type="text" name="CompanyID" maxlength="100" id="CompanyID" value="<?php echo $CompID; ?>" class="form-control" readonly>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="col-form-label" for="CompanyName">CompanyName</label>
|
||||
<input type="text" name="CompanyName" onkeypress="return onlyAlphabets(event);" maxlength="100" id="CompanyName" class="form-control" required value="<?php echo $CompanyName; ?>">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="col-form-label" for="ContactNumber">Contact Number<span class="badge">*</span></label>
|
||||
<input type="text" name="ContactNumber" onchange="getMobileValidation();" id="ContactNumber" maxlength="12" class="form-control" value="<?php echo $ContactNumber; ?>" required onkeypress="return isNumberKey(event)">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-md-3" style="margin-top:20px">
|
||||
<label for="AlternateContactNumber">Alternate Contact Number</label><!--<span class="badge">*</span>-->
|
||||
<input type="text" name="AlternateContactNumber" onchange="ValidateAlternateContact();" id="AlternateContactNumber" maxlength="12" class="form-control" value="<?php echo $AlternateContactNumber; ?>" required>
|
||||
</div>
|
||||
<div class="col-md-3" style="margin-top:20px">
|
||||
<label for="EmailAddress">Email Address</label><!--<span class="badge">*</span>-->
|
||||
<input type="email" name="EmailAddress" onchange="validateEmail();" id="EmailAddress" class="form-control" value="<?php echo $EmailAddress; ?>">
|
||||
</div>
|
||||
<div class="col-md-3" style="margin-top:20px">
|
||||
<label for="ExciseRegistration">Excise Registration</label><!--<span class="badge">*</span>-->
|
||||
<input type="text" name="Exiseregistration1" id="ExiseRegistration1" maxlength="15" class="form-control" value="<?php echo $Exiseregistration; ?>" pattern="([A-Za-z]){5}([0-9]){4}([A-Za-z]){1}([A-Za-z]){2}([0-9]){3}" required onchange="ValidateExno();" style="text-transform: uppercase">
|
||||
</div>
|
||||
<div class="col-md-3" style="margin-top:20px">
|
||||
<label for="AlternateContactNumber">Company Website</label><!--<span class="badge">*</span>-->
|
||||
<input type="text" name="companywebsite" id="companywebsite" maxlength="100" class="form-control" value="<?php echo $companywebsite; ?>" required>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
$financialstartFormatted = date('Y-m-d', strtotime($financialstart));
|
||||
$financialendFormatted = date('Y-m-d', strtotime($financialend));
|
||||
?>
|
||||
<div class="content">
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- start page title -->
|
||||
<?php
|
||||
helper('form');
|
||||
$error = session()->getFlashdata('error');
|
||||
if ($error) {
|
||||
?>
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<?php echo session()->getFlashdata('error'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php
|
||||
$success = session()->getFlashdata('success');
|
||||
if ($success) {
|
||||
?>
|
||||
<div class="alert alert-info alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<?php echo session()->getFlashdata('success'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Business Settings</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class="btn btn-dark waves-effect waves-light" href="<?php echo base_url(); ?>supplierlisting"><span class="bold">Back</span></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- end page title -->
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@ -789,11 +703,17 @@ if (!empty($filenames)) {
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row" >
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
|
||||
<!-- <div class="form-row" >
|
||||
<div class="col-md-12 text-right">
|
||||
<input type="submit" id="submit" onclick="valid();" class="btn btn-success" value="Submit" />
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<table id="datatable" class="table table-hover table-bordered" style="background-color:#fff;font-size:12px;" >
|
||||
|
||||
Loading…
Reference in New Issue
Block a user