Master form changes : GWM
This commit is contained in:
parent
958256e36b
commit
1cc1a418a8
@ -26,14 +26,14 @@
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- start page title -->
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Add Material Details</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class="btn btn-cancel" href="<?php echo base_url(); ?>rawmaterialListing"> <span class="bold">Back</span></a>
|
||||
<a class="btn btn-dark waves-effect waves-light" href="<?php echo base_url(); ?>rawmaterialListing"><span class="bold">Back</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end page title -->
|
||||
|
||||
@ -38,14 +38,13 @@
|
||||
<!-- form start -->
|
||||
</div>
|
||||
<!-- start page title -->
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title"> Add Supplier Details</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>
|
||||
@ -53,16 +52,15 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="card-body" style="padding: 1rem 2rem !important;">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="p-2">
|
||||
<form class="form-horizontal" role="form" id="addsupplier" action="<?php echo base_url() ?>addNewsupplier" method="post" role="form" enctype="multipart/form-data">
|
||||
<div class="box-body">
|
||||
<!-- Supplier Information -->
|
||||
<legend style="margin-left:-10px">Supplier Information</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Supplier Information</legend>
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row">
|
||||
<div class="form-row" style="margin-bottom:10px;">
|
||||
<div class=" col-md-3">
|
||||
<label class="col-form-label" for="SupplierName">Supplier Name<span class="badge">*</span></label>
|
||||
<input type="text" name="SupplierName" maxlength="100" id="supplierName" class="form-control" required>
|
||||
@ -81,17 +79,17 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row" >
|
||||
<div class="col-md-12" style="margin-top:20px">
|
||||
<div class="col-md-12" style="margin-top:5px">
|
||||
<label for="SupplierType">Supplier Type</label><!--<span class="badge">*</span>-->
|
||||
 
|
||||
</div>
|
||||
<div class="col-md-1" style="margin-top:20px">
|
||||
<div class="col-md-1" style="margin-top:5px">
|
||||
<input type="checkbox" id="service" name="service" value="<?php echo $service = (isset($_POST['service'])) ? 0 : 1; ?>"> <b>SERVICE  </b>
|
||||
</div>
|
||||
<div class="col-md-1.5" style="margin-top:20px">
|
||||
<div class="col-md-1.5" style="margin-top:5px">
|
||||
<input type="checkbox" id="rawmaterial" name="rawmaterial" value="<?php echo $rawmaterial = (isset($_POST['rawmaterial'])) ? 0 : 1; ?>"> <b>RAW MATERIALS  </b>
|
||||
</div>
|
||||
<div class="col-md-2" style="margin-top:20px">
|
||||
<div class="col-md-2" style="margin-top:5px">
|
||||
<input type="checkbox" id="maintanance" name="maintanance" value="<?php echo $maintanance = (isset($_POST['maintanance'])) ? 0 : 1; ?>"> <b>MAINTENANCE  </b>
|
||||
</div>
|
||||
</div>
|
||||
@ -99,18 +97,18 @@
|
||||
</div>
|
||||
|
||||
<!-- Address Section -->
|
||||
<legend style="margin-left:-10px">Address Details</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Address Details</legend>
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row">
|
||||
<div class=" col-md-6">
|
||||
<label class="col-form-label" for="Address2">Address<span class="badge">*</span></label>
|
||||
<input type="text" class="form-control required" id="Address" name="Address" maxlength="500" style="height: 70px;" required>
|
||||
<textarea type="text" class="form-control required" id="Address" name="Address" maxlength="500" required rows="3"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Tax Related Data -->
|
||||
<legend style="margin-left:-10px">Tax Related Data</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Tax Related Data</legend>
|
||||
<!-- Text input-->
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row" style="margin-bottom: 20px;">
|
||||
@ -122,9 +120,9 @@
|
||||
<label class="col-form-label" for="PAN">PAN</label>
|
||||
<input type="text" id="panno" maxlength="10" pattern="([A-Za-z]){5}([0-9]){4}([A-Za-z]){1}" name="panno" style="text-transform:uppercase;" onchange="validatePAN();" class="form-control" title="Please Enter 5 Character and 4 digit numbers and 1 Character format (Character should be in caps)" onkeypress="return alphaNumberic(event)">
|
||||
</div>
|
||||
<div class=" col-md-3">
|
||||
<label for="Cert_GST">Select GST Document<br/><small>(only .pdf, .doc, .png, .jpg)</small></label>
|
||||
<input type="file" size="20" accept=".docx,.pdf,.doc,.jpg,.png" id="Cert_GST" name="Cert_GST"/>
|
||||
<div class=" col-md-4">
|
||||
<label class="col-form-label" for="Cert_GST">Select GST Document<small> (only .pdf, .doc, .png, .jpg)</small></label>
|
||||
<input style="margin-top: 5px;" type="file" size="20" accept=".docx,.pdf,.doc,.jpg,.png" id="Cert_GST" name="Cert_GST"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -133,15 +131,15 @@
|
||||
<label class="col-form-label" for="MSME">MSME</label>
|
||||
<input type="text" id="MSMENo" name="MSME" class="form-control" maxlength="30">
|
||||
</div>
|
||||
<div class=" col-md-3">
|
||||
<label for="Cert_MSME">Select MSME Document<br/><small>(only .pdf, .doc, .png, .jpg)</small></label>
|
||||
<input type="file" size="20" accept=".docx,.pdf,.doc,.jpg,.png" id="Cert_MSME" name="Cert_MSME"/>
|
||||
<div class=" col-md-4">
|
||||
<label class="col-form-label" for="Cert_MSME">Select MSME Document<small> (only .pdf, .doc, .png, .jpg)</small></label>
|
||||
<input style="margin-top: 5px;" type="file" size="20" accept=".docx,.pdf,.doc,.jpg,.png" id="Cert_MSME" name="Cert_MSME"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Bank Details-->
|
||||
<legend style="margin-left:-10px">Bank Details</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Bank Details</legend>
|
||||
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row">
|
||||
@ -164,8 +162,8 @@
|
||||
<input type="text" id="bankaddress" name="bankaddress" maxlength="200" class="form-control" required>
|
||||
</div>
|
||||
<div class=" col-md-4">
|
||||
<label for="Cert_BANK">Select Bank Document<br/><small>(only .pdf, .doc, .png, .jpg)</small></label>
|
||||
<input type="file" size="20" accept=".docx,.pdf,.doc,.jpg,.png" id="Cert_BANK" name="Cert_BANK"/>
|
||||
<label class="col-form-label" for="Cert_BANK">Select Bank Document<small> (only .pdf, .doc, .png, .jpg)</small></label>
|
||||
<input style="margin-top: 5px;" type="file" size="20" accept=".docx,.pdf,.doc,.jpg,.png" id="Cert_BANK" name="Cert_BANK"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -177,7 +175,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<legend style="margin-left:-10px">Payment Details</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Payment Details</legend>
|
||||
<!-- Text input-->
|
||||
|
||||
|
||||
@ -208,7 +206,6 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end row -->
|
||||
</div>
|
||||
</div> <!-- end card -->
|
||||
|
||||
@ -3,14 +3,14 @@
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- start page title -->
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Add User Details</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class="btn btn-cancel" href="<?php echo base_url(); ?>userListing"> <span class="bold">Back</span></a>
|
||||
<a class="btn btn-dark waves-effect waves-light" href="<?php echo base_url(); ?>userListing"><span class="bold">Back</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end page title -->
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- start page title -->
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title"> Add Asset Details</h4>
|
||||
@ -17,10 +17,9 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="card-body" style="padding: 1rem 2rem !important;">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="p-2">
|
||||
<form role="form" id="addAsset" action="<?php echo base_url() ?>addNewasset" method="post">
|
||||
<div class="box-body">
|
||||
<!-- Supplier Information -->
|
||||
@ -159,7 +158,6 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
$listErrors = session()->getFlashdata('listErrors');
|
||||
if ($listErrors) {
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- start page title -->
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title"> Add Config Details</h4>
|
||||
@ -42,7 +42,7 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="card-body" style="padding: 1rem 2rem !important;">
|
||||
<form role="form" id="addconfig" action="<?php echo base_url() ?>configurationctrl/saveconfig" method="post">
|
||||
<div class="form-row" style="margin-top:10px">
|
||||
<div class=" col-md-3">
|
||||
@ -51,8 +51,6 @@
|
||||
$data = array('name' => 'configurationname', 'value' => set_value('configurationname'), 'id' => 'configurationname', 'class' => 'form-control', 'required' => 'true', 'maxlength' => '20');
|
||||
echo form_input($data); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row" style="margin-top:10px">
|
||||
<div class=" col-md-3">
|
||||
<label class="col-form-label" for="Comments">Comments</label>
|
||||
<?php
|
||||
@ -130,13 +128,9 @@
|
||||
<div class="modal-content">
|
||||
<!-- Modal Header -->
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">Close</span>
|
||||
</button>
|
||||
<h4 class="modal-title" id="myModalLabel">
|
||||
<center> Add Configuration</center>
|
||||
</h4>
|
||||
<h4 class="modal-title" id="myModalLabel">Add Configuration</h4>
|
||||
<button type="button" class="close" data-dismiss="modal"
|
||||
aria-hidden="true">×</button>
|
||||
</div>
|
||||
|
||||
<!-- Modal Body -->
|
||||
@ -146,7 +140,7 @@
|
||||
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-md-offset-2">
|
||||
<div class="col-md-4">
|
||||
Configuration Value :
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
@ -162,8 +156,8 @@
|
||||
|
||||
<!-- Modal Footer -->
|
||||
<div class="modal-footer">
|
||||
<a class="btn btn-cancel" data-dismiss="modal" style="margin-top: -24px;" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success font tempClickAdd" ID="tempClickAdd" style="margin-top: -24px;"><i class="fa fa-plus"></i> <span class="bold">Add</span></a>
|
||||
<a class="btn btn-cancel" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-success font tempClickAdd" ID="tempClickAdd" ><i class="fa fa-plus"></i> <span class="bold">Add</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- start page title -->
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Add Department Details</h4>
|
||||
@ -27,23 +27,20 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="card-body" style="padding: 1rem 2rem !important;">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="p-2">
|
||||
<form role="form" id="adddepartment" action="<?php echo base_url() ?>savedepartment" method="post">
|
||||
<div class="box-body">
|
||||
<!-- Supplier Information -->
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<legend>Department Information</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Department Information</legend>
|
||||
<div class="form-row" style="margin-top:10px">
|
||||
<div class=" col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label class="col-form-label" for="DepartmentName">Department Name<span class="badge">*</span></label>
|
||||
<input type="text" name="DepartmentName" id="DepartmentName" class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row" style="margin-top:10px">
|
||||
<div class=" col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label class="col-form-label" for="HeadDepartment">Head Department<span class="badge">*</span></label>
|
||||
<select class="form-control required" id="HeadDept" name="HeadDept">
|
||||
<option value="-1" required>Select Department Code</option>
|
||||
@ -61,11 +58,9 @@
|
||||
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row" style="margin-top:10px">
|
||||
<div class="col-md-3">
|
||||
<input type="checkbox" id="IsActive" name="IsActive" >
|
||||
<span for="Active">Is Active</span>
|
||||
<div class="col-md-4 d-flex align-items-center">
|
||||
<input type="checkbox" id="IsActive" name="IsActive" style="margin-top: 16px;">
|
||||
<span for="Active" style="margin-top: 16px;"> Is Active</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -105,7 +100,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end row -->
|
||||
</div>
|
||||
</div> <!-- end card -->
|
||||
|
||||
@ -1,24 +1,27 @@
|
||||
<script src="<?php echo base_url()?>public/assets/lightswitch/lightswitch/lib/jquery.tabletojson.js"></script>
|
||||
<script src="<?php echo base_url()?>public/assets/lightswitch/lightswitch/lib/jquery.tabletojson.min.js"></script>
|
||||
<script src="<?php echo base_url()?>public/assets/js/jquery.CongelarFilaColumna.js"></script>
|
||||
<script src="<?php echo base_url() ?>public/assets/lightswitch/lightswitch/lib/jquery.tabletojson.js"></script>
|
||||
<script src="<?php echo base_url() ?>public/assets/lightswitch/lightswitch/lib/jquery.tabletojson.min.js"></script>
|
||||
<script src="<?php echo base_url() ?>public/assets/js/jquery.CongelarFilaColumna.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.5.0/js/bootstrap-datepicker.js"></script>
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.5.0/css/bootstrap-datepicker.css" rel="stylesheet">
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.5.0/css/bootstrap-datepicker.css"
|
||||
rel="stylesheet">
|
||||
|
||||
|
||||
<?php
|
||||
$datefordropdown = format_date($datefordropdown, 0, 'M-Y');
|
||||
$attendance = array_merge($attendance,$emppay);
|
||||
date_default_timezone_set('Asia/Kolkata');
|
||||
$currentday = date('d');
|
||||
?>
|
||||
$datefordropdown = format_date($datefordropdown, 0, 'M-Y');
|
||||
//echo $datefordropdown;
|
||||
$attendance = array_merge($attendance, $emppay);
|
||||
date_default_timezone_set('Asia/Kolkata');
|
||||
$currentday = date('d');
|
||||
// print_r($attendance);
|
||||
// echo "<br>------------------------------<br>";
|
||||
|
||||
?>
|
||||
<style type="text/css">
|
||||
.num {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#month{
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
|
||||
.fht-table,
|
||||
.fht-table thead,
|
||||
@ -30,11 +33,6 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
th{
|
||||
color: white;
|
||||
background-color: #d1d6d17a !important;
|
||||
}
|
||||
|
||||
.fht-table td {
|
||||
text-align: center;
|
||||
}
|
||||
@ -180,8 +178,6 @@
|
||||
padding-right: 30% ! important;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<div class="content-page">
|
||||
<div class="content">
|
||||
<!-- Start Content-->
|
||||
@ -208,7 +204,7 @@
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<?php $today = date('M-Y');
|
||||
$data = array('type' => 'text','name' => 'month','id' => 'month','value' => $datefordropdown,'class' => 'form-control select2');
|
||||
$data = array('type' => 'text', 'name' => 'month', 'id' => 'month', 'value' => $datefordropdown, 'class' => 'form-control select2');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -219,86 +215,110 @@
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$testarray=array();
|
||||
|
||||
|
||||
|
||||
$testarray = array();
|
||||
$finalarray = array();
|
||||
if(!empty($attendance))
|
||||
{
|
||||
foreach($attendance as $record)
|
||||
{
|
||||
if(in_array($record->EmpID,$testarray))
|
||||
{
|
||||
// Skip duplicate employee IDs
|
||||
}
|
||||
else
|
||||
{
|
||||
array_push($testarray,$record->EmpID);
|
||||
array_push($finalarray,$record);
|
||||
if (!empty($attendance)) {
|
||||
|
||||
foreach ($attendance as $record) {
|
||||
//$index++;
|
||||
if (in_array($record->EmpID, $testarray)) {
|
||||
//$index--;
|
||||
} else {
|
||||
array_push($testarray, $record->EmpID);
|
||||
array_push($finalarray, $record);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<!-- Add table-responsive for horizontal scroll -->
|
||||
<div class="table-responsive">
|
||||
|
||||
|
||||
<table id="attendance" class="fht-table table table-striped">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
|
||||
<th class="celda_encabezado_general" rowspan="2">S.NO</th>
|
||||
<th class="celda_encabezado_general" rowspan="2">Employee ID</th>
|
||||
<th style="background-color: #00a65a;color:#fff;border:5px" rowspan="2">
|
||||
Employee Name</th>
|
||||
<th style="background-color: #00a65a;color:#fff;border:5px"
|
||||
rowspan="2">Employee Name</th>
|
||||
|
||||
|
||||
<?php
|
||||
for ($col =1; $col <= $monthdays;$col++){
|
||||
|
||||
for ($col = 1; $col <= $monthdays; $col++) {
|
||||
|
||||
$flag = 0;
|
||||
$flag2 = 0;
|
||||
$todayflag = 0;
|
||||
if($col == $currentday) {
|
||||
|
||||
if ($col == $currentday) {
|
||||
$todayflag = 1;
|
||||
}
|
||||
foreach($sundayarray as $in) {
|
||||
if($in == $col) {
|
||||
foreach ($sundayarray as $in) //For Find out Sundays($ind) from $monthdays array
|
||||
{
|
||||
if ($in == $col) {
|
||||
$flag = 1;
|
||||
}
|
||||
}
|
||||
$title = '';
|
||||
foreach($publicholidaysarray as $h) {
|
||||
foreach ($publicholidaysarray as $h) //For Find out public holidays from $monthdays array
|
||||
{
|
||||
|
||||
$temp = $h->H_Date;
|
||||
$temp = substr($temp,8);
|
||||
if($temp == $col) {
|
||||
$temp = substr($temp, 8);
|
||||
|
||||
if ($temp == $col) {
|
||||
$flag2 = 1;
|
||||
$title = str_replace(" ","_",$h->H_Name);
|
||||
//$title ="Public Holiday-" . str_replace(" ","_",$h->H_Name);
|
||||
$title = str_replace(" ", "_", $h->H_Name);
|
||||
//echo $title;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<th <?php if($flag2 == 1){ ?> title="<?php echo $title; ?>" <?php } else if($flag == 1 ){ ?> title="sunday" <?php }?>
|
||||
class="celda_encabezado_general"
|
||||
<?php if($flag == 1 or $flag2 == 1) {
|
||||
echo "style='background: #f39c12 ;'";
|
||||
} else if($todayflag == 1) {
|
||||
echo "style='background: #dd99ff ;'"; } ?>>
|
||||
<?php if($flag == 1 or $flag2 == 1) {
|
||||
echo "<font style='color:#fff;'>".$col."W<font>";
|
||||
} else {
|
||||
echo $col."W"; } ?>
|
||||
</th>
|
||||
|
||||
<th <?php if($flag2 == 1){ ?> title="<?php echo $title; ?>" <?php } else if($flag == 1 ){ ?> title="sunday" <?php }?>
|
||||
class="celda_encabezado_general"
|
||||
<?php if($flag == 1 or $flag2 == 1) {
|
||||
<th <?php if ($flag2 == 1) { ?> title=" <?php echo $title; ?> "
|
||||
<?php } else if ($flag == 1) { ?> title="sunday" <?php } ?>
|
||||
class="celda_encabezado_general" <?php if ($flag == 1 or $flag2 == 1) {
|
||||
echo "style='background: #f39c12 ;'";
|
||||
} else if($todayflag == 1){
|
||||
echo "style='background: #dd99ff ;'"; }?>>
|
||||
<?php if($flag == 1 or $flag2 == 1){
|
||||
echo "<font style='color:#fff;'>".$col."OT<font>";
|
||||
} else if ($todayflag == 1) {
|
||||
echo "style='background: #dd99ff ;'";
|
||||
} ?>>
|
||||
<?php if ($flag == 1 or $flag2 == 1) {
|
||||
echo "<font style='color:#fff;'>" . $col . "W<font>";
|
||||
} else {
|
||||
echo $col."OT"; }?>
|
||||
</th>
|
||||
echo $col . "W";
|
||||
} ?></th>
|
||||
|
||||
|
||||
|
||||
|
||||
<th <?php if ($flag2 == 1) { ?> title=" <?php echo $title; ?> "
|
||||
<?php } else if ($flag == 1) { ?> title="sunday" <?php } ?>
|
||||
class="celda_encabezado_general"
|
||||
<?php if ($flag == 1 or $flag2 == 1) {
|
||||
echo "style='background: #f39c12 ;'";
|
||||
} else if ($todayflag == 1) {
|
||||
echo "style='background: #dd99ff ;'";
|
||||
} ?>>
|
||||
<?php if ($flag == 1 or $flag2 == 1) {
|
||||
echo "<font style='color:#fff;'>" . $col . "OT<font>";
|
||||
} else {
|
||||
echo $col . "OT";
|
||||
} ?>
|
||||
</th>
|
||||
<?php
|
||||
$flag =0;
|
||||
$flag2 =0;
|
||||
//echo $flag2;
|
||||
$flag = 0;
|
||||
$flag2 = 0;
|
||||
$todayflag = 0;
|
||||
} ?>
|
||||
<th class="celda_encabezado_general">Total Hrs</th>
|
||||
@ -307,95 +327,148 @@
|
||||
<th class="celda_encabezado_general">Days Worked</th>
|
||||
<th class="celda_encabezado_general">Absent</th>
|
||||
<th class="celda_encabezado_general">Total Sunday</th>
|
||||
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
<tbody style="background-color: #fff;">
|
||||
<?php $index = 0;
|
||||
$row=0;
|
||||
foreach($finalarray as $a){
|
||||
$row = 0;
|
||||
foreach ($finalarray as $a) {
|
||||
$row++;
|
||||
$index++;
|
||||
?>
|
||||
$index++; ?>
|
||||
|
||||
<tr id="<?php echo $row;?>">
|
||||
<td width="45" height="45" class="celda_normal"><?php echo $index;?></td>
|
||||
<td width="79" height="45" class="celda_normal"><?php echo $a->EmpID;?></td>
|
||||
<td width="80" height="45" class="celda_normal"><?php echo $a->FirstName;?></td>
|
||||
<tr id="<?php echo $row; ?>">
|
||||
<td width="45" height="45" class="celda_normal"><?php echo $index; ?>
|
||||
</td>
|
||||
<td width="79" height="45" class="celda_normal"><?php echo $a->EmpID; ?>
|
||||
</td>
|
||||
<td width="80" height="45" class="celda_normal">
|
||||
<?php echo $a->FirstName; ?></td>
|
||||
|
||||
<?php for ($col =1; $col <= $monthdays;$col++){
|
||||
<?php for ($col = 1; $col <= $monthdays; $col++) {
|
||||
$flag = 0;
|
||||
$flag2 = 0;
|
||||
|
||||
if($col == $currentday) {
|
||||
if ($col == $currentday) {
|
||||
$todayflag = 1;
|
||||
}
|
||||
foreach($sundayarray as $in) {
|
||||
if($in == $col) {
|
||||
foreach ($sundayarray as $in) {
|
||||
if ($in == $col) {
|
||||
$flag = 1;
|
||||
}
|
||||
}
|
||||
foreach($publicholidaysarray as $h) {
|
||||
|
||||
foreach ($publicholidaysarray as $h) //For Find out public holidays from $monthdays array
|
||||
{
|
||||
|
||||
$temp = $h->H_Date;
|
||||
$temp = substr($temp,8);
|
||||
$temp = substr($temp, 8);
|
||||
$title = '';
|
||||
if($temp == $col) {
|
||||
//echo $temp.'-'.$col.'/';
|
||||
if ($temp == $col) {
|
||||
$flag2 = 1;
|
||||
$title = str_replace(" ","_",$h->H_Name);
|
||||
//$title ="Public_Holiday-" . str_replace(" ","_",$h->H_Name);
|
||||
$title = str_replace(" ", "_", $h->H_Name);
|
||||
//echo $title;
|
||||
}
|
||||
}
|
||||
$WH='WH'.$col;
|
||||
$OT = 'OT'.$col;
|
||||
$WH = 'WH' . $col;
|
||||
$OT = 'OT' . $col;
|
||||
|
||||
?>
|
||||
|
||||
<td <?php if($flag2 == 1){ ?> title="<?php echo $title; ?>" <?php } else if($flag == 1 ){ ?> title="sunday" <?php }?>
|
||||
<td <?php if ($flag2 == 1) { ?> title=" <?php echo $title; ?> "
|
||||
<?php } else if ($flag == 1) { ?> title="sunday" <?php } ?>
|
||||
class="celda_normal"
|
||||
onkeyup="myFunction(this.parentNode.id,this.id,this.textContent);"
|
||||
id="<?php echo $row.'row'.$col.'W';?>"
|
||||
<?php if($flag == 1 or $flag2 == 1){ echo "style='background: #f9cd86 ;'";} else if($todayflag == 1){ echo "style='background: #f7e6ff ;'"; }?>
|
||||
contenteditable="true" tabindex="<?php echo $col;?>">
|
||||
<?php if(!empty($a->$WH)){echo $a->$WH;} else { echo '0';}?>
|
||||
</td>
|
||||
<td <?php if($flag2 == 1){ ?> title="<?php echo $title; ?>" <?php } else if($flag == 1 ){ ?> title="sunday" <?php }?>
|
||||
id="<?php echo $row . 'row' . $col . 'W'; ?>"
|
||||
<?php if ($flag == 1 or $flag2 == 1) {
|
||||
echo "style='background: #f9cd86 ;'";
|
||||
} else if ($todayflag == 1) {
|
||||
echo "style='background: #f7e6ff ;'";
|
||||
} ?>
|
||||
contenteditable="true" tabindex="<?php echo $col; ?>">
|
||||
<?php if (!empty($a->$WH)) {
|
||||
echo $a->$WH;
|
||||
} else {
|
||||
echo '0';
|
||||
} ?></td>
|
||||
<td <?php if ($flag2 == 1) { ?> title=" <?php echo $title; ?> "
|
||||
<?php } else if ($flag == 1) { ?> title="sunday" <?php } ?>
|
||||
class="celda_normal"
|
||||
onkeyup="myFunction(this.parentNode.id,this.id,this.textContent);"
|
||||
id="<?php echo $row.'row'.$col.'OT';?>"
|
||||
<?php if($flag == 1 or $flag2 == 1){ echo "style='background: #f9cd86 ;'";} else if($todayflag == 1){ echo "style='background: #f7e6ff ;'"; }?>
|
||||
contenteditable="true" tabindex="<?php echo $col;?>">
|
||||
<?php if(!empty($a->$OT)){echo $a->$OT;} else { echo '0';}?>
|
||||
</td>
|
||||
id="<?php echo $row . 'row' . $col . 'OT'; ?>"
|
||||
<?php if ($flag == 1 or $flag2 == 1) {
|
||||
echo "style='background: #f9cd86 ;'";
|
||||
} else if ($todayflag == 1) {
|
||||
echo "style='background: #f7e6ff ;'";
|
||||
} ?>
|
||||
contenteditable="true" tabindex="<?php echo $col; ?>">
|
||||
<?php if (!empty($a->$OT)) {
|
||||
echo $a->$OT;
|
||||
} else {
|
||||
echo '0';
|
||||
} ?></td>
|
||||
|
||||
<?php
|
||||
$flag =0;
|
||||
$flag2 =0;
|
||||
<?php $flag = 0;
|
||||
$flag2 = 0;
|
||||
$todayflag = 0;
|
||||
} ?>
|
||||
<td class="celda_normal" id="<?php echo $row.'TH';?>">
|
||||
<?php if(!empty($a->Total_WHrs)){echo $a->Total_WHrs;}else{echo "0.00";}?>
|
||||
<td class="celda_normal" id="<?php echo $row . 'TH'; ?>">
|
||||
<?php if (!empty($a->Total_WHrs)) {
|
||||
echo $a->Total_WHrs;
|
||||
} else {
|
||||
echo "0.00";
|
||||
} ?>
|
||||
</td>
|
||||
<td class="celda_normal" id="<?php echo $row.'OTH';?>">
|
||||
<?php if(!empty($a->Total_OTHrs)){echo $a->Total_OTHrs;}else{echo "0.00";}?>
|
||||
<td class="celda_normal" id="<?php echo $row . 'OTH'; ?>">
|
||||
<?php if (!empty($a->Total_OTHrs)) {
|
||||
echo $a->Total_OTHrs;
|
||||
} else {
|
||||
echo "0.00";
|
||||
} ?>
|
||||
</td>
|
||||
<td class="celda_normal" id="<?php echo $row.'PL';?>">
|
||||
<?php if(!empty($a->Paid_Leave)){echo $a->Paid_Leave;}else{echo "0.00";}?>
|
||||
<td class="celda_normal" id="<?php echo $row . 'PL'; ?>">
|
||||
<?php if (!empty($a->Paid_Leave)) {
|
||||
echo number_format($a->Paid_Leave, 2, '.', '.');
|
||||
} else {
|
||||
echo "0.00";
|
||||
} ?>
|
||||
</td>
|
||||
<td class="celda_normal" id="<?php echo $row.'DW';?>">
|
||||
<?php if(!empty($a->DaysWorked)){echo $a->DaysWorked;}else{echo "0.00";}?>
|
||||
<td class="celda_normal" id="<?php echo $row . 'DW'; ?>">
|
||||
<?php if (!empty($a->Days_Worked)) {
|
||||
echo $a->Days_Worked;
|
||||
} else {
|
||||
echo "0.00";
|
||||
} ?>
|
||||
</td>
|
||||
<td class="celda_normal" id="<?php echo $row.'Ab';?>">
|
||||
<?php if(!empty($a->Absent)){echo $a->Absent;}else{echo "0.00";}?>
|
||||
<td class="celda_normal" id="<?php echo $row . 'AB'; ?>">
|
||||
<?php if (!empty($a->Absent)) {
|
||||
echo $a->Absent;
|
||||
} else {
|
||||
echo "0.00";
|
||||
} ?>
|
||||
</td>
|
||||
<td class="celda_normal" id="<?php echo $row.'TS';?>">
|
||||
<?php if(!empty($a->TotalSunday)){echo $a->TotalSunday;}else{echo "0.00";}?>
|
||||
<td class="celda_normal" id="<?php echo $row . 'TS'; ?>">
|
||||
<?php if (!empty($noofsundays)) {
|
||||
echo $noofsundays;
|
||||
} else {
|
||||
echo "0";
|
||||
} ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</div><!-- End table-responsive -->
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-right">
|
||||
<input type="button" class="btn btn-success" id="c" value="save" onClick="getAllData();">
|
||||
<input type="button" class="btn btn-success" id="c" value="save"
|
||||
onClick="getAllData();">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -406,8 +479,10 @@
|
||||
</div> <!-- End row -->
|
||||
</div>
|
||||
</div> <!-- End container-fluid -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -415,13 +490,13 @@
|
||||
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>public/assets/js/common.js" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
$("#month").datepicker({
|
||||
$("#month").datepicker({
|
||||
minViewMode: 1,
|
||||
format: 'M-yyyy'
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
function getAllData() {
|
||||
function getAllData() {
|
||||
|
||||
var s = findInvalidData();
|
||||
|
||||
@ -429,7 +504,7 @@ function getAllData() {
|
||||
if (s == 0) {
|
||||
|
||||
resetFinalValues();
|
||||
var Totalnoofdays = <?php echo $monthdays?>;
|
||||
var Totalnoofdays = <?php echo $monthdays ?>;
|
||||
var alldata = $("#attendance").tableToJSON();
|
||||
alldata = JSON.stringify(alldata);
|
||||
|
||||
@ -473,12 +548,12 @@ function getAllData() {
|
||||
} else {
|
||||
alert('Plesae Provide Working Hrs and OT Hrs Correctly..!');
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
$("#attendance").CongelarFilaColumna({
|
||||
@ -546,15 +621,18 @@ $(document).ready(function() {
|
||||
$('#c').show();
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
function myFunction(p, i, v) {
|
||||
|
||||
function myFunction(p, i, v) {
|
||||
//alert(p+"-"+i+"-"+v);
|
||||
//alert(v);
|
||||
// alert(k.keyCode);
|
||||
var v = v;
|
||||
var i = i;
|
||||
var id = i.substr(-1);
|
||||
//alert(id);
|
||||
var len = i.length;
|
||||
var nxtid = 0;
|
||||
var nxtvalue = 0;
|
||||
@ -578,6 +656,12 @@ function myFunction(p, i, v) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//alert(nxtid);
|
||||
//console.log(nextid[0].attributes[2].value);
|
||||
//console.log(nextid);
|
||||
|
||||
nxtvalue = v - 8;
|
||||
curvalue = 8;
|
||||
|
||||
@ -626,11 +710,11 @@ function myFunction(p, i, v) {
|
||||
var paidleave = 0;
|
||||
var totalDaysWorked = 0;
|
||||
var absent = 0;
|
||||
var sundays = <?php echo $noofsundays?>;
|
||||
var sundays = <?php echo $noofsundays ?>;
|
||||
var sundaysArray = <?php echo json_encode($sundayarray); ?>;
|
||||
var publicholidays = <?php echo $noofpublicholidays?>;
|
||||
var publicholidays = <?php echo $noofpublicholidays ?>;
|
||||
|
||||
var totaldays = <?php echo $monthdays?>;
|
||||
var totaldays = <?php echo $monthdays ?>;
|
||||
totaldays = (totaldays * 2) + 3;
|
||||
//console.log(totaldays);
|
||||
|
||||
@ -698,6 +782,25 @@ function myFunction(p, i, v) {
|
||||
});
|
||||
|
||||
|
||||
|
||||
// if(paidleave == 1 )
|
||||
// {
|
||||
// absent = 0;
|
||||
// alert('if');
|
||||
// }
|
||||
// if(paidleave == 0)
|
||||
// {
|
||||
// absent = 0;
|
||||
// alert('else if');
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// // absent = paidleave-0;
|
||||
// // paidleave = 0;
|
||||
// absent = paidleave;
|
||||
// paidleave = 0;
|
||||
// alert('else');
|
||||
// }
|
||||
TotalOT = totalOTHrs + sundayWorkingHr;
|
||||
document.getElementById(totalhrsid).textContent = parseFloat(totalworkingHrs).toFixed(
|
||||
2); // == ''?0:parseFloat(totalworkingHrs));
|
||||
@ -706,9 +809,9 @@ function myFunction(p, i, v) {
|
||||
document.getElementById(paidleaveid).textContent = parseFloat(paidleave).toFixed(2);
|
||||
document.getElementById(daysworkedid).textContent = parseFloat((totalworkingHrs / 8)).toFixed(2);
|
||||
document.getElementById(absentid).textContent = parseFloat(absent).toFixed(2);
|
||||
}
|
||||
}
|
||||
|
||||
function findInvalidData() {
|
||||
function findInvalidData() {
|
||||
var flag = 0;
|
||||
|
||||
//totaldays = (totaldays * 2);
|
||||
@ -776,16 +879,22 @@ function findInvalidData() {
|
||||
//for Reset WH, OT, PL, AB to zero if all days entries are zero
|
||||
//alert('before for');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return flag;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function resetFinalValues() {
|
||||
function resetFinalValues() {
|
||||
var Row = $('#attendance').find('tr');
|
||||
var totalrowcount = Row.length;
|
||||
totalrowcount = totalrowcount - 1;
|
||||
var totaldays = <?php echo $monthdays?>;
|
||||
var totaldays = <?php echo $monthdays ?>;
|
||||
console.log(totalrowcount);
|
||||
for (i = 1; i <= totalrowcount; i++) {
|
||||
|
||||
@ -802,5 +911,5 @@ function resetFinalValues() {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -462,28 +462,27 @@ function ValidateUA() {
|
||||
<?php echo session()->getFlashdata('success'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Company Profile</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class="btn btn-cancel" href="<?php echo base_url(); ?>supplierlisting"><span class="bold">Back</span></a>
|
||||
<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">
|
||||
<div class="card-body" style="padding: 1rem 2rem !important;">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="p-2">
|
||||
<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">Company Information</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;;color: #4f7c97;">Company Information</legend>
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row">
|
||||
<div class=" col-md-3">
|
||||
@ -538,18 +537,18 @@ function ValidateUA() {
|
||||
</div>
|
||||
|
||||
<!-- Address Section -->
|
||||
<legend style="margin-left:-10px">Address Details</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Address Details</legend>
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row">
|
||||
<div class=" col-md-12">
|
||||
<div class=" col-md-6">
|
||||
<label class="col-form-label" for="Address">Address<span class="badge">*</span></label>
|
||||
<input type="text" id="Address" name="Address" maxlength="500" class="form-control" value="<?php echo $Address;?>" required>
|
||||
<textarea id="Address" name="Address" maxlength="500" class="form-control" rows="3" required><?php echo $Address;?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Tax Related Data -->
|
||||
<legend style="margin-left:-10px">Tax Related Data</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Tax Related Data</legend>
|
||||
<!-- Text input-->
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row" style="margin-bottom: 20px;">
|
||||
@ -576,10 +575,10 @@ function ValidateUA() {
|
||||
</div>
|
||||
|
||||
<!-- Bank Details-->
|
||||
<legend style="margin-left:-10px">ID Proof</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">ID Proof</legend>
|
||||
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row">
|
||||
<div class="form-row" style="margin-bottom: 20px;">
|
||||
<div class=" col-md-4">
|
||||
<label class="col-form-label" for="UANumber">UA Number<span class="badge">*</span></label>
|
||||
<input type="text" id="UANumber" name="UANumber" onchange="ValidateUA();" maxlength="15" class="form-control" value="<?php echo $UANumber;?>" pattern="([a-zA-Z]){5}([0-9]){10}" style="text-transform: uppercase"> </div>
|
||||
@ -597,18 +596,23 @@ function ValidateUA() {
|
||||
</div>
|
||||
<div class=" col-md-4">
|
||||
<label class="col-form-label" for="GSTNumber">GST Number<span class="badge">*</span></label>
|
||||
<input type="text" id="GSTNO" maxlength="15" onchange="validateGST();" name="GSTNO" class="form-control" style="text-transform: uppercase" value="<?php echo $GSTNO;?>" pattern="([0-9]){2}([A-Za-z]){5}([0-9]){4}([A-Za-z]){1}([0-9]){1}([Zz]){1}([A-Za-z0-9]){1}" required title="Please Enter 2 Digit Number and 5 Character and 4 Digit Numbers and 1 Character and 1 Number and should be 'Z' only and 1 Number"> </div>
|
||||
<input type="text" id="GSTNO" maxlength="15" onchange="validateGST();" name="GSTNO" class="form-control" style="text-transform: uppercase" value="<?php echo $GSTNO;?>" pattern="([0-9]){2}([A-Za-z]){5}([0-9]){4}([A-Za-z]){1}([0-9]){1}([Zz]){1}([A-Za-z0-9]){1}" required title="Please Enter 2 Digit Number and 5 Character and 4 Digit Numbers and 1 Character and 1 Number and should be 'Z' only and 1 Number">
|
||||
</div>
|
||||
<div class=" col-md-4">
|
||||
<label class="col-form-label" for="PANNumber">PAN Number<span class="badge">*</span></label>
|
||||
<input type="text" id="PAN" maxlength="10" name="PAN" onchange="validatePAN();" class="form-control" style="text-transform: uppercase" value="<?php echo $PAN;?>" pattern="([A-Za-z]){5}([0-9]){4}([A-Za-z]){1}" required> </div>
|
||||
<input type="text" id="PAN" maxlength="10" name="PAN" onchange="validatePAN();" class="form-control" style="text-transform: uppercase" value="<?php echo $PAN;?>" pattern="([A-Za-z]){5}([0-9]){4}([A-Za-z]){1}" required>
|
||||
</div>
|
||||
<div class=" col-md-4">
|
||||
<label class="col-form-label" for="CollectrateAddress">Collectrate Address<span class="badge">*</span></label>
|
||||
<input type="text" id="CollectrateAddress" required name="CollectrateAddress" maxlength="500" class="form-control" value="<?php echo $CollectrateAddress;?>" required > </div>
|
||||
<input type="text" id="CollectrateAddress" required name="CollectrateAddress" maxlength="500" class="form-control" value="<?php echo $CollectrateAddress;?>" required >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<legend style="margin-left:-10px">Bank Details</legend>
|
||||
<!-- Text input-->
|
||||
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Bank Details</legend>
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<!-- Text input-->
|
||||
<div class="form-row" style="margin-bottom: 27px;">
|
||||
<div class="col-md-3">
|
||||
<span for="BankName">Bank Name</span>
|
||||
@ -626,12 +630,12 @@ function ValidateUA() {
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" id="BankState" name="BankState" class="form-control" value="Yes">
|
||||
<div class="form-row" style="padding: 19px;">
|
||||
<div class="form-row" >
|
||||
<div class="col-md-12 text-right">
|
||||
<a class="btn btn-success font Add" ID="Add"> <span class="bold">Add/Update Bank Detail</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row" style="padding: 19px;">
|
||||
<div class="form-row" >
|
||||
<div class="col-md-12">
|
||||
<table id="banktable" class="table table-hover table-bordered" style="background-color:#fff;font-size:12px;" >
|
||||
<thead >
|
||||
@ -670,8 +674,11 @@ function ValidateUA() {
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<legend style="margin-left:-10px">Upload File</legend>
|
||||
<div class="form-row" style="padding: 19px;">
|
||||
</div>
|
||||
|
||||
<legend style="margin-left:0px;color: #4f7c97;">Upload File</legend>
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row" >
|
||||
<div class="col-md-4">
|
||||
<span for="FileDescription">File Description</span>
|
||||
<select class="form-control required" id="filedescription" name="filedescription">
|
||||
@ -690,16 +697,17 @@ function ValidateUA() {
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<input type = "file" size = "20" input accept=".docx,.pdf,.doc.JPG,.PNG" onchange="readURL(this,1);" id="images" name="images"/>
|
||||
<label for="images">Select Company file<br/><small>(only .pdf,.excel,.doc,.png,.jpg)</small></label>
|
||||
<label style="margin-bottom:0px !important;" for="images">Select Company file<small> (only .pdf,.excel,.doc,.png,.jpg)</small></label>
|
||||
<input style="margin-top: 5px;" type = "file" size = "20" input accept=".docx,.pdf,.doc.JPG,.PNG" onchange="readURL(this,1);" id="images" name="images"/>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row" style="padding: 19px;">
|
||||
<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 class="form-row"style="padding: 19px;">
|
||||
<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;" >
|
||||
<thead >
|
||||
@ -742,6 +750,7 @@ function ValidateUA() {
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12 text-right">
|
||||
<input type="reset" id="reset" class="btn btn-reset" style="background-color: red;color: white; margin-right: 15px;width: 80px;" value="Reset" />
|
||||
<input type="submit" onclick="return Validate();" value="Submit" class="btn btn-success">
|
||||
@ -750,7 +759,6 @@ function ValidateUA() {
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end row -->
|
||||
</div>
|
||||
</div> <!-- end card -->
|
||||
|
||||
@ -43,14 +43,14 @@ if(!empty($EmpList))
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- start page title -->
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Edit User <?= ' - '.$EmpId; ?> Details</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class="btn btn-cancel" href="<?php echo base_url(); ?>userListing"> <span class="bold">Back</span></a>
|
||||
<a class="btn btn-dark waves-effect waves-light" href="<?php echo base_url(); ?>userListing"><span class="bold">Back</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end page title -->
|
||||
|
||||
@ -144,14 +144,14 @@ if (!empty($assetList)) {
|
||||
<div class="content-page">
|
||||
<div class="content">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Edit Asset Details - <?php echo $AssetCode; ?></h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class="btn btn-cancel" href="<?php echo base_url(); ?>assetListing"><span class="bold">Back</span></a>
|
||||
<a class="btn btn-dark waves-effect waves-light" href="<?php echo base_url(); ?>assetListing"><span class="bold">Back</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@ -255,7 +255,7 @@ if (!empty($assetList)) {
|
||||
<label for="Remarks">Remarks</label>
|
||||
<input type="text" class="form-control" id="Remarks" name="Remarks" value="<?php echo $Remarks; ?>" maxlength="500">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-3 d-flex align-items-center">
|
||||
<div class="form-check">
|
||||
<input type="checkbox" class="form-check-input" id="isactive" name="isactive" <?php echo $IsActive ? 'checked' : ''; ?>>
|
||||
<label class="form-check-label" for="isactive">Is Active</label>
|
||||
|
||||
@ -107,16 +107,14 @@ if ($total <= $reorder) {
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- Start page title -->
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Edit Material - <?php echo $MaterialCode; ?> Details</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class="btn btn-cancel" href="<?php echo base_url(); ?>rawmaterialListing">
|
||||
<span class="bold">Back</span>
|
||||
</a>
|
||||
<a class="btn btn-dark waves-effect waves-light" href="<?php echo base_url(); ?>rawmaterialListing"><span class="bold">Back</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End page title -->
|
||||
|
||||
@ -280,34 +280,39 @@ if (!empty($supplier)) {
|
||||
<!-- form start -->
|
||||
</div>
|
||||
<!-- start page title -->
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Edit Supplier Details</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class="btn btn-cancel" href="<?php echo base_url(); ?>supplierlisting"><span class="bold">Back</span></a>
|
||||
|
||||
<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">
|
||||
<div class="card-body" style="padding: 1rem 2rem !important;">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="p-2">
|
||||
<form class="form-horizontal" role="form" id="UpdateSupplier" action="<?php echo base_url() ?>editsupplier" method="post" enctype="multipart/form-data">
|
||||
<div class="box-body">
|
||||
<?php if ((int)$chk) { ?>
|
||||
<div class="col-md-12 text-right">
|
||||
<div class="row">
|
||||
<div class="col-md-6 text-left">
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Supplier Information</legend>
|
||||
</div>
|
||||
<div class="col-md-6 text-right">
|
||||
<input type="checkbox" id="isactive" <?php echo $IsActive; ?> name="isactive"> IsActive
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- Supplier Information -->
|
||||
<legend>Supplier Information</legend>
|
||||
<div class="form-row">
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row" style="margin-bottom:10px;">
|
||||
<div class="col-md-3">
|
||||
<label class="col-form-label" for="SupplierName">Supplier Name<span class="badge">*</span></label>
|
||||
<input type="text" name="SupplierName" maxlength="100" id="supplierName" class="form-control" required value="<?php echo $SupplierName; ?>">
|
||||
@ -326,33 +331,37 @@ if (!empty($supplier)) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row" style="margin-top:20px;">
|
||||
<div class="col-md-12">
|
||||
<div class="form-row">
|
||||
<div class="col-md-12" style="margin-top:5px">
|
||||
<label for="SupplierType">Supplier Type</label>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-1" style="margin-top:5px">
|
||||
<input type="checkbox" id="service" <?php echo $IsService; ?> name="service" value="1"> <b>SERVICE</b>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-1.5" style="margin-top:5px">
|
||||
<input type="checkbox" id="rawmaterial" <?php echo $IsRawMaterial; ?> name="rawmaterial" value="1"> <b>RAW MATERIALS</b>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-2" style="margin-top:5px">
|
||||
<input type="checkbox" id="maintanance" <?php echo $IsMaintanance; ?> name="maintanance" value="1"> <b>MAINTENANCE</b>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Address Section -->
|
||||
<legend style="margin-top:30px;">Address Details</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Address Details</legend>
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6">
|
||||
<label for="Address2">Address<span class="badge">*</span></label>
|
||||
<input type="text" class="form-control" id="Address" name="Address" maxlength="500" required value="<?php echo $Address; ?>">
|
||||
<textarea type="text" class="form-control" id="Address" name="Address" maxlength="500" required rows="3"><?php echo $Address; ?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Tax Related Data -->
|
||||
<legend style="margin-top:30px;">Tax Related Data</legend>
|
||||
<div class="form-row">
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Tax Related Data</legend>
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row" style="margin-bottom: 20px;">
|
||||
<div class="col-md-3">
|
||||
<label for="GSTNo">GST Number</label>
|
||||
<input type="text" id="GSTNo" name="GSTNo" onchange="validateGST();" maxlength="15" class="form-control" value="<?php echo $GSTNO; ?>" pattern="([0-9]){2}([A-Za-z]){5}([0-9]){4}([A-Za-z]){1}([0-9]){1}([Zz]){1}([A-Za-z0-9]){1}" style="text-transform:uppercase;" title="Please Enter 2 Digit Number and 5 Character and 4 Digit Numbers and 1 Character and 1 Number and 'Z' Character and 1 Number (or) Character " onkeypress="return alphaNumberic(event)">
|
||||
@ -362,8 +371,8 @@ if (!empty($supplier)) {
|
||||
<input type="text" id="panno" maxlength="10" name="panno" onchange="validatePAN();" class="form-control" value="<?php echo $PAN; ?>" title="Please Enter 5 Character and 4 digit numbers and 1 Character format (Character must be in caps format)" pattern="([A-Za-z]){5}([0-9]){4}([A-Za-z]){1}" onkeypress="return alphaNumberic(event)" style="text-transform:uppercase;">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label style="margin-bottom: 1px !important;" for="Cert_GST">Select GST Document<br /><small>(only .pdf, .doc, .png, .jpg)</small></label>
|
||||
<input type="file" size="20" accept=".docx,.pdf,.doc,.jpg,.png" id="Cert_GST" name="Cert_GST" />
|
||||
<label for="Cert_GST">Select GST Document<br /><small>(only .pdf, .doc, .png, .jpg)</small></label>
|
||||
<input type="hidden" id="hidden_Cert_GST" name="hidden_Cert_GST" value="<?php echo $hidden_Cert_GST; ?>" />
|
||||
</div>
|
||||
<?php if ($hidden_Cert_GST) { ?>
|
||||
@ -372,38 +381,39 @@ if (!empty($supplier)) {
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<legend>Bank Details</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Bank Details</legend>
|
||||
|
||||
<!-- Bank Details Inputs -->
|
||||
<div class="form-row" style="margin-bottom: 27px;">
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row" style="margin-bottom: 20px;">
|
||||
<div class="col-md-4">
|
||||
<label for="accno">Account Number <span class="badge">*</span></label>
|
||||
<input type="text" id="accno" maxlength="20" name="accno" value="<?php echo $accno; ?>" class="form-control" onkeypress="return isNumberKey(event)" required>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label for="ifsc">IFSC Code <span class="badge">*</span></label>
|
||||
<input type="text" id="ifsc" name="ifsc" value="<?php echo $IFSCCode; ?>" class="form-control" maxlength="12" style="text-transform: uppercase" required>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label for="branchname">Bank Branch Name</label>
|
||||
<input type="text" id="branchname" name="branchname" value="<?php echo $branchname; ?>" class="form-control" maxlength="200">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
</div>
|
||||
<!-- Bank Document Upload -->
|
||||
<div class="form-row" style="margin-bottom: 27px;">
|
||||
<div class="col-md-4">
|
||||
<label for="bankaddress">Bank Address</label>
|
||||
<input type="text" id="bankaddress" name="bankaddress" value="<?php echo $bankaddress; ?>" class="form-control" maxlength="200">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Bank Document Upload -->
|
||||
<div class="form-row" style="margin-bottom: 27px;">
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label class="col-form-label" for="Cert_BANK">Select Bank Document<small> (only .pdf, .doc, .png, .jpg)</small></label>
|
||||
<input type="file" size="20" accept=".docx,.pdf,.doc,.jpg,.png" id="Cert_BANK" name="Cert_BANK" />
|
||||
<label for="Cert_BANK">Select Bank Document<br /><small>(only .pdf, .doc, .png, .jpg)</small></label>
|
||||
<input type="hidden" id="hidden_Cert_BANK" name="hidden_Cert_BANK" value="<?php echo $hidden_Cert_BANK; ?>" />
|
||||
</div>
|
||||
<?php if ($hidden_Cert_BANK) { ?>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<u>
|
||||
<a title="Previously uploaded Bank Document" href="<?php echo base_url() . 'public/uploads/images/' . $hidden_Cert_BANK ?>">
|
||||
<span>Previously uploaded BANK Document - </span>
|
||||
@ -413,14 +423,15 @@ if (!empty($supplier)) {
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Payment Details -->
|
||||
<legend>Payment Details</legend>
|
||||
<legend style="margin-left:-10px;color: #4f7c97;">Payment Details</legend>
|
||||
|
||||
<!-- Payable Terms Selection -->
|
||||
<div class="form-row" style="margin-bottom: 27px;">
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-12" style="margin-bottom: 27px;">
|
||||
<div class="form-row" style="margin-bottom: 20px;">
|
||||
<div class="col-md-4">
|
||||
<label for="payablefrom">Payable Terms</label>
|
||||
<select class="form-control required select2" id="PaymentTerms" name="PaymentTerms" onchange="payment_hidden();">
|
||||
<option value="<?php echo $PaymentTerms; ?>"><?php echo $PaymentTerms; ?></option>
|
||||
@ -438,6 +449,7 @@ if (!empty($supplier)) {
|
||||
<!-- <input type="hidden" id="paymentname" name="paymentname" value="<?php echo $PaymentId; ?>"> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<br />
|
||||
@ -451,7 +463,6 @@ if (!empty($supplier)) {
|
||||
<!-- /.box-footer -->
|
||||
</div>
|
||||
</form>
|
||||
</div> <!-- end p-2 -->
|
||||
</div> <!-- end col -->
|
||||
</div> <!-- end row -->
|
||||
</div> <!-- end card-body -->
|
||||
|
||||
@ -24,14 +24,14 @@ if (!empty($master)) {
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- start page title -->
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Edit Config <?= ' - ' . $ConfigName; ?> Details</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class="btn btn-cancel" href="<?php echo base_url(); ?>configlisting"><span class="bold">Back</span></a>
|
||||
<a class="btn btn-dark waves-effect waves-light" href="<?php echo base_url(); ?>configlisting"><span class="bold">Back</span></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -148,13 +148,9 @@ if (!empty($master)) {
|
||||
<div class="modal-content">
|
||||
<!-- Modal Header -->
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">Close</span>
|
||||
</button>
|
||||
<h4 class="modal-title" id="myModalLabel">
|
||||
<center> Add Configuration</center>
|
||||
</h4>
|
||||
<h4 class="modal-title" id="myModalLabel">Add Configuration</h4>
|
||||
<button type="button" class="close" data-dismiss="modal"
|
||||
aria-hidden="true">×</button>
|
||||
</div>
|
||||
|
||||
<!-- Modal Body -->
|
||||
@ -162,7 +158,7 @@ if (!empty($master)) {
|
||||
<form class="form-horizontal" role="form">
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-md-offset-2">
|
||||
<div class="col-md-4">
|
||||
Configuration Value :
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
@ -188,13 +184,9 @@ if (!empty($master)) {
|
||||
<div class="modal-content">
|
||||
<!-- Modal Header -->
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">Close</span>
|
||||
</button>
|
||||
<h4 class="modal-title" id="myModalLabel">
|
||||
<center> Edit Config</center>
|
||||
</h4>
|
||||
<h4 class="modal-title" id="myModalLabel">Edit Config</h4>
|
||||
<button type="button" class="close" data-dismiss="modal"
|
||||
aria-hidden="true">×</button>
|
||||
</div>
|
||||
|
||||
<!-- Modal Body -->
|
||||
|
||||
@ -99,21 +99,21 @@ if(!empty($department))
|
||||
<!-- Start Content-->
|
||||
<div class="container-fluid">
|
||||
<!-- start page title -->
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom: 10px;">
|
||||
<div class="col-6">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Edit Department - <?php echo $DepartmentName; ?> Details</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class="btn btn-cancel" href="<?php echo base_url(); ?>departmentListing"> <span class="bold">Back</span></a>
|
||||
<a class="btn btn-dark waves-effect waves-light" href="<?php echo base_url(); ?>departmentListing"><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">
|
||||
<div class="card-body" style="padding: 1rem 2rem !important;">
|
||||
<form role="form" id="Updatedepartment" action="<?php echo base_url() ?>editdepartment" method="post">
|
||||
<div class="box-body">
|
||||
<!-- Department Information -->
|
||||
@ -123,14 +123,10 @@ if(!empty($department))
|
||||
<label class="col-form-label" for="DEPCode">Department Code</label>
|
||||
<input type="text" name="DEPCode" id="DEPCode" class="form-control" readonly value="<?php echo $DEPCode; ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row" style="margin-top:10px">
|
||||
<div class="col-md-3">
|
||||
<label class="col-form-label" for="DepartmentName">Department Name<span class="badge">*</span></label>
|
||||
<input type="text" name="DepartmentName" id="DepartmentName" class="form-control" required value="<?php echo $DepartmentName; ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row" style="margin-top:10px">
|
||||
<div class="col-md-3">
|
||||
<label class="col-form-label" for="HeadDept">Head Department</label>
|
||||
<select class="form-control required" id="HeadDept" name="HeadDept">
|
||||
@ -142,9 +138,6 @@ if(!empty($department))
|
||||
} ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row" style="margin-top:10px">
|
||||
|
||||
<div class="col-md-2">
|
||||
<label class="col-form-label" for="IsActive">Is Active</label><br>
|
||||
<input type="checkbox" id="IsActive" name="IsActive" <?php echo $IsActive; ?>>
|
||||
|
||||
@ -64,7 +64,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<div class="form-group">
|
||||
<div class="form-group" style="margin-bottom:0px !important;">
|
||||
<a class="btn btn-success" href="<?php echo base_url(); ?>addsupplier">Add New Supplier</a>
|
||||
<!-- <a class="btn btn-success" href="<?php echo base_url(); ?>exportsupplier">Export Supplier Details <i class="fa fa-download" aira-hidden="true"></i></a> -->
|
||||
</div>
|
||||
|
||||
@ -848,7 +848,7 @@ body[data-layout-mode="detached"] .navbar-custom {
|
||||
|
||||
.page-title-box-alt {
|
||||
background-color: transparent;
|
||||
padding: 24px 27px;
|
||||
padding: 10px 27px;
|
||||
box-shadow: none;
|
||||
margin-bottom: 0; }
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -848,7 +848,7 @@ body[data-layout-mode="detached"] .navbar-custom {
|
||||
|
||||
.page-title-box-alt {
|
||||
background-color: transparent;
|
||||
padding: 24px 27px;
|
||||
padding: 10px 27px;
|
||||
box-shadow: none;
|
||||
margin-bottom: 0; }
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -848,7 +848,7 @@ body[data-layout-mode="detached"] .navbar-custom {
|
||||
|
||||
.page-title-box-alt {
|
||||
background-color: transparent;
|
||||
padding: 24px 27px;
|
||||
padding: 10px 27px;
|
||||
box-shadow: none;
|
||||
margin-bottom: 0; }
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -848,7 +848,7 @@ body[data-layout-mode="detached"] .navbar-custom {
|
||||
|
||||
.page-title-box-alt {
|
||||
background-color: transparent;
|
||||
padding: 24px 27px;
|
||||
padding: 10px 27px;
|
||||
box-shadow: none;
|
||||
margin-bottom: 0; }
|
||||
|
||||
|
||||
2
public/new_assets/css/app-creative.min.css
vendored
2
public/new_assets/css/app-creative.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user