IGR design

This commit is contained in:
VE10-Sanjeev 2024-08-22 11:42:07 +00:00
parent ae54fbd45e
commit 584f93b0a6
9 changed files with 1783 additions and 4728 deletions

View File

@ -1,144 +0,0 @@
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Add Purchase order Line Item
</h1>
</section>
<section class="content">
<div class="row">
<!-- left column -->
<div class="col-md-6">
<!-- general form elements -->
<div class="box box-success">
<div class="box-header">
<h3 class="box-title">Enter PO Line Item</h3>
</div><!-- /.box-header -->
<!-- form start -->
<form role="form" action="<?php echo base_url() ?>purchaseorder/addNewPOLineItem" method="post" id="AddPOLineItem" role="form">
<div class="box-body">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="ProductDescription">Product Description</label>
<select class="form-control" name="ProductDescription" required>
<option value="null">Select Product Description</option>
<?php
if(!empty($RawMaterials))
{
foreach ($RawMaterials as $RID)
{
?>
<option value="<?php echo $RID->MaterialCode ?>"><?php echo $RID->MaterialCode ?> - <?php echo $RID->MaterialName ?></option>
<?php
}
}
?>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="UOM">UOM</label>
<select class="form-control required" id="UOM" name="UOM">
<option value="null">Select UOM</option>
<?php
if(!empty($UOM))
{
foreach ($UOM as $UID)
{
?>
<option value="<?php echo $UID->ConfigValue ?>"><?php echo $UID->ConfigValue ?></option>
<?php
}
}
?>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="Quantity">Quantity</label>
<input type="text" class="form-control required digits" id="Quantity" name="Quantity" >
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="UnitPrice">Unit Price</label>
<input type="text" class="form-control required digits" id="UnitPrice" name="UnitPrice" onchange="change()" >
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="ProductPrice">Product Price</label>
<input type="text" class="form-control required digits" id="ProductPrice" name="ProductPrice" disabled >
</div>
</div>
</div>
<div class="box-footer">
<input type="submit" class="btn btn-success" value="Submit" />
<input type="reset" class="btn btn-default" value="Reset" />
</div>
</form>
</div>
</div>
<div class="col-md-4">
<?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-success alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<?php echo session()->getFlashdata('success'); ?>
</div>
<?php } ?>
<div class="row">
<div class="col-md-12">
<?php // \Config\Services::validation()->listErrors('<div class="alert alert-danger alert-dismissable">', ' <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button></div>'); ?> </div>
</div>
</div>
</div>
</section>
</div>
<script>
function change(){
var txtQuantity = document.getElementById('Quantity').value;
var txtUnitPrice = document.getElementById('UnitPrice').value;
var Tot = txtQuantity * txtUnitPrice
document.getElementById('ProductPrice').value = Tot;
// Do Something
}
</script>
<script src="<?php echo base_url(); ?>public/assets/js/editUser.js" type="text/javascript"></script>

File diff suppressed because it is too large Load Diff

View File

@ -63,25 +63,24 @@ if (!empty($ReqPOType)) {
<div class="content">
<!-- Start Content-->
<div class="container-fluid">
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box page-title-box-alt">
<h4><?= "Edit Requisition"; ?><?= $ReqNo ? " - ".$ReqNo : ""; ?></h4>
<a href="<?php echo base_url(); ?>Requisition"><button type="button" class="btn btn-dark waves-effect waves-light">Back</button></a>
</div>
</div>
</div>
</div>
<!-- end page title -->
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box page-title-box-alt">
<h4><?= "Edit Requisition"; ?><?= $ReqNo ? " - " . $ReqNo : ""; ?></h4>
<a href="<?php echo base_url(); ?>Requisition"><button type="button" class="btn btn-dark waves-effect waves-light">Back</button></a>
</div>
</div>
</div>
<!-- end page title -->
<!-- Form row -->
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<?php $attributes = array('class' => 'form-label-left requistion ', 'name' => 'requistion', 'id' => 'requistion');
echo form_open(base_url() . 'EditRequisition', $attributes);
echo form_open(base_url() . 'EditRequisition', $attributes);
?>
<div class="form-row">
<div class="form-group col-md-3">
@ -126,12 +125,12 @@ if (!empty($ReqPOType)) {
$Costs[$SID->CostCenterCode] = $SID->CostCenterCode . '-' . $SID->CostCenterName;
endforeach;
}
echo form_dropdown('CostCenter', $Costs, set_value('CostCenter'), 'id="CostCenter" class = "form-control"');
echo form_dropdown('CostCenter', $Costs, set_value('CostCenter'), 'id="CostCenter" class = "form-control searchabledropdown"');
?>
</div>
<div class="form-group col-md-3" id="DisplayScheduleDiv" style="display:none;">
<label for="ScheduleType" class="col-form-label">Service Schedule Type</label>
<?php
@ -139,7 +138,7 @@ if (!empty($ReqPOType)) {
if (!empty($Schdule)) {
foreach ($Schdule as $seletedSch) :
if ($serviceSchedule == $seletedSch) {
$SchType[$seletedSch] = $seletedSch;
@ -152,20 +151,20 @@ if (!empty($ReqPOType)) {
endforeach;
}
echo form_dropdown('ScheduleType', $SchType, set_value('ScheduleType'), 'id="ScheduleType"', 'class = "form-control"');
?>
?>
</div>
<div class="form-group col-md-3" id="ServicePeriodOption" style="display:none;">
<label for="ServiceOptions" class="col-form-label">Service Period Option</label>
<?php
if (!empty($ServiceOption)) {
foreach ($ServiceOption as $SerOptionsel) :
if ($servicePeriod == $SerOptionsel->ConfigValue) {
$ServiceOptions[$SerOptionsel->ConfigValue] = $SerOptionsel->ConfigValue;
}
endforeach;
foreach ($ServiceOption as $SerOption) :
if ($servicePeriod != $SerOption->ConfigValue) {
$ServiceOptions[$SerOption->ConfigValue] = $SerOption->ConfigValue;
@ -173,7 +172,7 @@ if (!empty($ReqPOType)) {
endforeach;
}
echo form_dropdown('ServiceOptions', $ServiceOptions, set_value('ServiceOptions'), 'id="ServiceOptions"', 'class = "form-control"');
?>
?>
</div>
<div class="form-group col-md-3" id="DisplayScheduleDiv" style="display:none;">
<label for="ServiceNo" class="col-form-label">Number of Services</label>
@ -185,9 +184,9 @@ if (!empty($ReqPOType)) {
</div>
<div class="form-row">
<div class="form-group col-md-12">
<?php if (count($MaterialCode) != 0) {?>
<?php if (count($MaterialCode) != 0) { ?>
<a data-toggle="modal" data-target="#add-req-modal" class="btn btn-primary waves-effect float-right">Add Line Item</a>
<?php } ?>
<?php } ?>
</div>
</div>
<div class="form-row">
@ -214,23 +213,23 @@ if (!empty($ReqPOType)) {
$materialdesc = isset($record->MaterialDescription) ? $record->MaterialDescription : "";
//echo $materialdesc;
?>
<tr id="<?php echo $index; ?>">
<td align="left"><?php echo $index; ?></td>
<input type="hidden" name="<?php echo 'te' . $index ?>" id="<?php echo 'te' . $index ?>" value="<?php echo $record->MaterialCode; ?>" />
<input type="hidden" name="<?php echo 'te' . $index ?>" id="<?php echo 'tes' . $index ?>" value="<?php echo $record->Quantity; ?>" />
<td align="left"><?php echo $record->MaterialCode; ?></td>
<td align="left"><?php echo $record->MaterialName; ?></td>
<td align="left"><?php echo $record->UOM; ?></td>
<td align="left"><?php echo $record->Quantity; ?></td>
<td align="left"><?php echo $record->POQTY; ?></td>
<td align="left"><?php echo $record->StatusName; ?></td>
<input type="hidden" name="<?php echo 'materialdesc' . $index ?>" id="<?php echo 'materialdesc' . $index ?>" value="<?php echo isset($record->MaterialDescription) ? $record->MaterialDescription : ''; ?>" />
<td>
<a data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-target='#edit-req-modal' data-toggle="modal" href="#edit-req-modal"><i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the <?php echo $record->MaterialCode; ?> Material details"></i>&nbsp;&nbsp;&nbsp;</a> <a onclick="DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $record->MaterialCode; ?>" data-userid="<?php echo $index; ?>" id="Del" ><span class="ri-delete-bin-7-fill"></span></a>
</td>
</tr>
<tr id="<?php echo $index; ?>">
<td align="left"><?php echo $index; ?></td>
<input type="hidden" name="<?php echo 'te' . $index ?>" id="<?php echo 'te' . $index ?>" value="<?php echo $record->MaterialCode; ?>" />
<input type="hidden" name="<?php echo 'te' . $index ?>" id="<?php echo 'tes' . $index ?>" value="<?php echo $record->Quantity; ?>" />
<td align="left"><?php echo $record->MaterialCode; ?></td>
<td align="left"><?php echo $record->MaterialName; ?></td>
<td align="left"><?php echo $record->UOM; ?></td>
<td align="left"><?php echo $record->Quantity; ?></td>
<td align="left"><?php echo $record->POQTY; ?></td>
<td align="left"><?php echo $record->StatusName; ?></td>
<input type="hidden" name="<?php echo 'materialdesc' . $index ?>" id="<?php echo 'materialdesc' . $index ?>" value="<?php echo isset($record->MaterialDescription) ? $record->MaterialDescription : ''; ?>" />
<td>
<a data-id="<?php echo $index; ?>" data-userid="<?php echo $index; ?>" data-target='#edit-req-modal' data-toggle="modal" href="#edit-req-modal"><i class="ri-pencil-fill" data-toggle="tooltip" title="Click here to view/Edit the <?php echo $record->MaterialCode; ?> Material details"></i>&nbsp;&nbsp;&nbsp;</a> <a onclick="DeleteRow(<?php echo $index; ?>)" class="link" data-id="<?php echo $record->MaterialCode; ?>" data-userid="<?php echo $index; ?>" id="Del"><span class="ri-delete-bin-7-fill"></span></a>
</td>
</tr>
<?php $RowCount = $index;
}
}
} ?>
</tbody>
</table>
@ -253,9 +252,9 @@ if (!empty($ReqPOType)) {
<input type="reset" value="Reset" class="btn btn-secondary waves-effect" onclick="window.location.reload();">&nbsp;&nbsp;
<a class="btn-primary waves-effect Save" ID="submit" onclick="Save(1)">&nbsp;&nbsp;<span class="bold">Submit</span></a>
<a class="btn-soft-primary waves-effect waves-light submit" ID="submit" onclick="Save(2)">&nbsp;&nbsp;<span class="bold">Approve</span></a>
<?php }?>
<?php } ?>
</div>
<?php echo form_close();?>
<?php echo form_close(); ?>
</div>
</div>
@ -284,8 +283,8 @@ if (!empty($ReqPOType)) {
$options[$MID->MaterialCode] = $MID->MaterialCode . ' ' . ' - ' . ' ' . $MID->MaterialName;
endforeach;
}
echo form_dropdown('drpMaterial', $options, set_value('drpMaterial'), 'id="drpMaterial" class="form-control"');
echo form_dropdown('drpMaterial', $options, set_value('drpMaterial'), 'id="drpMaterial" class="form-control searchabledropdown"');
?>
</div>
</div>
@ -315,7 +314,7 @@ if (!empty($ReqPOType)) {
<div class="col-md-6">
<div class="form-group">
<label for="Quantity" class="control-label">Quantity</label>
<?php $data = array('name' => 'Quantity', 'value' => set_value('Quantity'), 'id' => 'Quantity', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event)', 'maxlength' => '20' , 'min' => '1');
<?php $data = array('name' => 'Quantity', 'value' => set_value('Quantity'), 'id' => 'Quantity', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event)', 'maxlength' => '20', 'min' => '1');
echo form_input($data); ?>
</div>
</div>
@ -358,7 +357,7 @@ if (!empty($ReqPOType)) {
<div class="form-group">
<label for="EditMaterialCode" class="control-label">Material Code</label>
<?php
$data = array('name' => 'EditMaterialCode', 'value' => set_value('EditMaterialCode'), 'id' => 'EditMaterialCode', 'class' => 'form-control', 'readonly' => 'true');
$data = array('name' => 'EditMaterialCode', 'value' => set_value('EditMaterialCode'), 'id' => 'EditMaterialCode', 'class' => 'form-control searchabledropdown', 'readonly' => 'true');
echo form_input($data);
?>
@ -384,8 +383,8 @@ if (!empty($ReqPOType)) {
<label for="EditUOM"
class="control-label">UOM</label>
<?php
$data = array('name' => 'EditUOM', 'value' => set_value('EditUOM'), 'id' => 'EditUOM', 'class' => 'form-control', 'readonly' => 'true');
echo form_input($data);
$data = array('name' => 'EditUOM', 'value' => set_value('EditUOM'), 'id' => 'EditUOM', 'class' => 'form-control', 'readonly' => 'true');
echo form_input($data);
?>
</div>
</div>
@ -394,8 +393,8 @@ if (!empty($ReqPOType)) {
<label for="EditQuantity"
class="control-label">Quantity</label>
<?php
$data = array('name' => 'EditQuantity', 'value' => set_value('EditQuantity'), 'id' => 'EditQuantity', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event)', 'maxlength' => '20' , 'min' => '1');
echo form_input($data);
$data = array('name' => 'EditQuantity', 'value' => set_value('EditQuantity'), 'id' => 'EditQuantity', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event)', 'maxlength' => '20', 'min' => '1');
echo form_input($data);
?>
</div>
</div>
@ -425,13 +424,10 @@ if (!empty($ReqPOType)) {
</div> <!-- content -->
</div>
<script>
$( document ).ready(function() {
$("#CostCenter").select2();
$("#drpMaterial").select2();
$("#EditMaterialCode").select2();
$(document).ready(function() {
$(".searchabledropdown").select2();
});
function isNumberKey(evt) {
var charCode = (evt.which) ? evt.which : evt.keyCode;
if (charCode != 46 && charCode > 31 &&
@ -471,18 +467,18 @@ if (!empty($ReqPOType)) {
$('#EditotherDescription').hide();
//Initialize Select2 Elements
$(".select2").select2();
var id = '<?php echo $CostCenterCode ?>';
var ReqType = '<?php echo $strReqPOType ?>';
var urlval = '';
urlval = "<?php echo base_url() ?>serviceAvilBudgetAmount";
urlval = "<?php echo base_url() ?>serviceAvilBudgetAmount";
$('#content').loader('show');
$.ajax({
data: {id: id,type: ReqType},
data: {
id: id,
type: ReqType
},
type: "POST",
url: urlval,
success: function(data) {
@ -514,7 +510,7 @@ if (!empty($ReqPOType)) {
if (ReqType == '<?php echo IMPORT ?>') {
urlval = "<?php echo base_url() ?>servicepurchaseorder/GetAvailableImportBudgetAmount?ReqType=" + ReqType;
} else {
urlval = "<?php echo base_url() ?>serviceAvilBudgetAmount";
urlval = "<?php echo base_url() ?>serviceAvilBudgetAmount";
}
if (id != '-1') {
@ -527,7 +523,7 @@ if (!empty($ReqPOType)) {
type: "POST",
url: urlval,
success: function(data) {
if (data != '0') {
if (data != '0') {
$('#content').loader('hide');
$("#AvlBudgetAmount").val(parseFloat(data).toFixed(2));
@ -572,7 +568,9 @@ if (!empty($ReqPOType)) {
$('#content').loader('show');
$.ajax({
data: {id: id},
data: {
id: id
},
dataType: 'json',
type: "POST",
url: "<?php echo base_url(); ?>getMaterialDetails",
@ -631,7 +629,7 @@ if (!empty($ReqPOType)) {
function Save(status) {
if (status == '0') {
stat = '<?php echo REQ_DRAFT; ?>';
}
}
if (status == '1') {
stat = '<?php echo REQ_PENDING_APPROVAL; ?>';
}
@ -760,7 +758,9 @@ if (!empty($ReqPOType)) {
$('#txtDeletedRow').val(DelRows);
$.ajax({
data: {id: id},
data: {
id: id
},
type: "POST",
url: "<?php echo base_url() ?>DeleteRequistionForm",
success: function(data) {

File diff suppressed because it is too large Load Diff

View File

@ -1,99 +1,101 @@
<div class="content-wrapper">
<section class="content">
<div>
<center><h3 id="title">Reports</h3></center>
</div>
<legend></legend>
<div class="row">
<div class="col-xs-12">
<div class="col-xs-3">
<h4><span class="fa fa-search-plus">&nbsp; Requisition </span></h4>
<a href="<?php echo base_url(); ?>reportpending" target="_blank" >Reportpending<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>releasedpo" target="_blank" > Order Value - Released<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>openOrder" target="_blank" >Open Orders - Pending <p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>TotalOrder" target="_blank" > Total Orders<p class="uk-text-meta uk-margin-remove"></p></a>
</div>
<div class="col-xs-3">
<h4><span class="fa fa-shopping-cart">&nbsp; Purchase </span></h4>
<a href="<?php echo base_url(); ?>Report_purchase" target="_blank" >Purchase<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_year_wise" target="_blank" >Year Wise<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_supplier" target="_blank" >Purchase Supplier - Wise<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_consolidate" target="_blank" >Consolidate Report<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_cumulative" target="_blank" >Cumulative Report<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_pending_purchase" target="_blank" >Purchase Order Pending<p class="uk-text uk-margin-remove"></p></a>
</div>
<div class="col-xs-3">
<h4><span class="fa fa-codepen">&nbsp; Material Master </span></h4>
<a href="<?php echo base_url(); ?>Report_Material_Supplier" target="_blank" ><p class="uk-text uk-margin-remove">Material Master - supplier wise</p></a>
<a href="<?php echo base_url(); ?>Report_Material_Item" target="_blank" ><p class="uk-text uk-margin-remove">Material Master - Item wise</p></a>
<a href="<?php echo base_url(); ?>Report_Material_ReceiptValue" target="_blank" ><p class="uk-text uk-margin-remove">Material Master - Receipt Value</p></a>
</div>
<div class="col-xs-3">
<h4><span class="fa fa-truck">&nbsp; Inward</span></h4>
<a href="<?php echo base_url(); ?>Report_purchase_inward" target="_blank" >Inward Details<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_purchase_attach" target="_blank" >Inward Summary<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_year_wise_inward" target="_blank" >Year Wise-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_supplier_inward" target="_blank" >Inward-Supplier Wise<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_consolidate_inward" target="_blank" >Consolidate Report-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_cumulative_inward" target="_blank" >Cumulative Report-Inward<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_cumulative_raw" target="_blank" >Cumulative Report - Category Wise-Inward<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_consolidate_category" target="_blank" >Consolidate Report - Category Wise-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>DeliveryPerformance" target="_blank" > Report - DeliveryPerformance<p class="uk-text-meta uk-margin-remove"></p></a>
</div>
</div>
</div>
<legend></legend>
<div class="row">
<div class="col-xs-12">
<div class="col-xs-3">
<h4><span class="fa fa-money ">&nbsp; Finance Reports </span></h4>
<a href="<?php echo base_url(); ?>Report_costcenter" target="_blank" > Cost Center <p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>productionsalary" target="_blank" > Production Salary Cost <p class="uk-text uk-margin-remove"></p></a>
<div class="content-page">
<div class="content">
<!-- Start Content-->
<div class="container-fluid">
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box page-title-box-alt">
<h4><?= "Reports"; ?></h4>
</div>
</div>
<div class="col-xs-3">
<h4><span class="fa fa-inr">&nbsp; Cashbook </span></h4>
<a href="<?php echo base_url(); ?>cashbookreport" target="_blank" >Cashbook Reports<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>cashbookcumulativereport" target="_blank" ><p class="uk-text uk-margin-remove">Cashbook Cumulative Reports</p></a>
<a href="<?php echo base_url(); ?>cashbookcumulativemonthreport" target="_blank" ><p class="uk-text uk-margin-remove">Cashbook Cumulative Month Reports</p></a>
<!--<a href="<?php echo base_url(); ?>cashbookmonthlyexpenses" target="_blank" ><p class="uk-text uk-margin-remove">Cashbook Monthly Expenses</p></a>
<a href="<?php echo base_url(); ?>cashbookyearlyexpenses" target="_blank" ><p class="uk-text uk-margin-remove">Cashbook Yearly Expenses</p></a>-->
</div>
<div class="col-xs-3">
<h4><span class="fa fa-money ">&nbsp; GST Reports </span></h4>
<a href="<?php echo base_url(); ?>Report_monthly_gst" target="_blank" > Monthly GST Summary Report <p class="uk-text uk-margin-remove"></p></a>
</div>
</div>
</div>
<legend></legend>
<div class="row">
<div class="col-xs-12">
<div class="col-xs-3">
<h4><span class="fa fa-credit-card-alt">&nbsp; PayRoll </span></h4>
<p class="uk-text uk-margin-remove" target="_blank" >Employee Payroll</p>
</div>
<div class="col-xs-3">
<h4><span class="fa fa-calendar">&nbsp; Attendance </span></h4>
<p class="uk-text uk-margin-remove" target="_blank" >Employee Attendance</p>
<!-- end page title -->
<!-- Form row -->
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-md-3">
<h4><span class="fa fa-search-plus">&nbsp; Requisition </span></h4>
<p class="uk-text uk-margin-remove">Pending</p>
<p class="uk-text uk-margin-remove">Order Value - Released</p>
<p class="uk-text uk-margin-remove">Open Orders - Pending </p>
<p class="uk-text uk-margin-remove">Total Orders</p>
</div>
<div class="col-md-3">
<h4><span class="fa fa-shopping-cart">&nbsp; Purchase </span></h4>
<p class="uk-text-meta uk-margin-remove">Purchase</p>
<p class="uk-text-meta uk-margin-remove">Year Wise</p>
<a href="<?php echo base_url(); ?>Report_pending_purchase" target="_blank"><p class="uk-text uk-margin-remove">Pending</p></a>
<p class="uk-text-meta uk-margin-remove">Purchase Supplier - Wise</p>
<p class="uk-text-meta uk-margin-remove">Consolidate Report</p>
<p class="uk-text-meta uk-margin-remove">Cumulative Report</p>
<a href="<?php echo base_url(); ?>Empperform" target="_blank">Employee Performance<p class="uk-text uk-margin-remove"></p></a>
</div>
<div class="col-md-3">
<h4><span class="fa fa-layer-group">&nbsp; Material Master </span></h4>
<p class="uk-text uk-margin-remove">Material Master - supplier wise</p>
<p class="uk-text uk-margin-remove">Material Master - Item wise</p>
<p class="uk-text uk-margin-remove">Material Master - Receipt Value</p>
</div>
<div class="col-md-3">
<h4><span class="fa fa-truck">&nbsp; Inward</span></h4>
<p class="uk-text-meta uk-margin-remove">Inward Details</p>
<p class="uk-text-meta uk-margin-remove">Inward Summary</p>
<p class="uk-text-meta uk-margin-remove">Year Wise-Inward</p>
<p class="uk-text-meta uk-margin-remove">Inward-Supplier Wise</p>
<p class="uk-text-meta uk-margin-remove">Consolidate Report-Inward</p>
<p class="uk-text-meta uk-margin-remove">Cumulative Report-Inward</p>
<p class="uk-text-meta uk-margin-remove">Cumulative Report - Category Wise-Inward</p>
<p class="uk-text-meta uk-margin-remove">Consolidate Report - Category Wise-Inward</p>
<p class="uk-text-meta uk-margin-remove">Report - DeliveryPerformance</p>
</div>
</div>
<hr>
<div class="row">
<div class="col-md-3">
<h4><span class="fa fa-money-bill-alt">&nbsp; Finance Reports </span></h4>
<p class="uk-text uk-margin-remove">Cost Cente</p>
<p class="uk-text uk-margin-remove">Production Salary Cost</p>
</div>
<div class="col-md-3">
<h4><span class="fa fa-rupee-sign">&nbsp; Cashbook </span></h4>
<p class="uk-text uk-margin-remove">Cashbook Reports</p>
<p class="uk-text uk-margin-remove">Cashbook Cumulative Reports</p>
<p class="uk-text uk-margin-remove">Cashbook Cumulative Month Reports</p>
<!--<a href="<?php echo base_url(); ?>cashbookmonthlyexpenses" target="_blank" ><p class="uk-text uk-margin-remove">Cashbook Monthly Expenses</p></a>
<a href="<?php echo base_url(); ?>cashbookyearlyexpenses" target="_blank" ><p class="uk-text uk-margin-remove">Cashbook Yearly Expenses</p></a>-->
</div>
<div class="col-md-3">
<h4><span class="fa fa-mail-bulk ">&nbsp; GST Reports </span></h4>
<p class="uk-text uk-margin-remove" target="_blank"> Monthly GST Summary Report </p>
</div>
<div class="col-md-3">
<h4><span class="fa fa-newspaper">&nbsp; Sales Reports </span></h4>
<a href="<?php echo base_url(); ?>sales_invoice" target="_blank"><p class="uk-text uk-margin-remove">Invoice Report</p></a>
</div>
</div>
<hr>
<div class="row">
<div class="col-md-3">
<h4><span class="fa fa-credit-card">&nbsp; PayRoll </span></h4>
<p class="uk-text uk-margin-remove" target="_blank">Employee Payroll</p>
</div>
<div class="col-md-3">
<h4><span class="fa fa-calendar">&nbsp; Attendance </span></h4>
<p class="uk-text uk-margin-remove" target="_blank">Employee Attendance</p>
<p class="uk-text uk-margin-remove" target="_blank">Employee Performance</p>
<a href="<?php echo base_url(); ?>leavereports" target="_blank"><p class="uk-text uk-margin-remove">Leave Report</p></a>
</div>
</div>
</div> <!-- end card body-->
</div> <!-- end card -->
</div><!-- end col-->
</div>
</div>
</div>
<legend></legend>
</section>
</div>
</div> <!-- container -->
</div> <!-- content -->
</div>

View File

@ -17,22 +17,22 @@ if (!empty($Emp)) {
<div class="content">
<!-- Start Content-->
<div class="container-fluid">
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box page-title-box-alt">
<h4><?= "Add Requisition"; ?></h4>
<a href="<?php echo base_url(); ?>Requisition"><button type="button" class="btn btn-dark waves-effect waves-light">Back</button></a>
</div>
</div>
</div>
<!-- end page title -->
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box page-title-box-alt">
<h4><?= "Add Requisition"; ?></h4>
<a href="<?php echo base_url(); ?>Requisition"><button type="button" class="btn btn-dark waves-effect waves-light">Back</button></a>
</div>
</div>
</div>
<!-- end page title -->
<!-- Form row -->
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<?php $attributes = array('class' => 'form-label-left requistion ', 'name' => 'requistion', 'id' => 'requistion');
echo form_open(base_url() . 'Requisitionform::SearchRequistList', $attributes);
?>
@ -47,7 +47,7 @@ if (!empty($Emp)) {
$RequestByOpt[$EID->EmpID] = $EID->Full_Name;
endforeach;
}
echo form_dropdown('EmpID', $RequestByOpt, set_value('EmpID'), 'id="EmpID" class = "form-control" data-toggle="select2" required="true"');
echo form_dropdown('EmpID', $RequestByOpt, set_value('EmpID'), 'id="EmpID" class = "form-control searchabledropdown" data-toggle="select2" required="true"');
?>
</div>
<div class="form-group col-md-3">
@ -59,7 +59,7 @@ if (!empty($Emp)) {
$options[$RID->ConfigValue] = $RID->ConfigValue;
endforeach;
}
echo form_dropdown('RequestType', $options, set_value('ConfigValue'), 'id="RequestType" class = "form-control" data-toggle="select2"', 'required="true"');
echo form_dropdown('RequestType', $options, set_value('ConfigValue'), 'id="RequestType" class = "form-control searchabledropdown" data-toggle="select2"', 'required="true"');
?>
</div>
@ -92,10 +92,10 @@ if (!empty($Emp)) {
'CostCenter',
$Costs,
set_value('CostCenter'),
'class="form-control" id="CostCenter" data-toggle="select2"'
'class="form-control searchabledropdown" id="CostCenter" data-toggle="select2"'
);
?>
</div>
<div class="form-group col-md-3" id="DisplayScheduleDiv" style="display:none;">
<label for="ScheduleType" class="col-form-label">Service Schedule Type</label>
@ -106,7 +106,7 @@ if (!empty($Emp)) {
$SchType[$Sch] = $Sch;
endforeach;
}
echo form_dropdown('ScheduleType', $SchType, set_value('ScheduleType'), 'id="ScheduleType"', 'class = "form-control"', 'data-toggle="select2"');
echo form_dropdown('ScheduleType', $SchType, set_value('ScheduleType'), 'id="ScheduleType"', 'class = "form-control searchabledropdown"', 'data-toggle="select2"');
?>
</div>
<div class="form-group col-md-3" id="ServicePeriodOption" style="display:none;">
@ -117,7 +117,7 @@ if (!empty($Emp)) {
$ServiceOptions[$SerOption->ConfigValue] = $SerOption->ConfigValue;
endforeach;
}
echo form_dropdown('ServiceOptions', $ServiceOptions, set_value('ServiceOptions'), 'id="ServiceOptions"', 'class = "form-control"', 'data-toggle="select2"');
echo form_dropdown('ServiceOptions', $ServiceOptions, set_value('ServiceOptions'), 'id="ServiceOptions"', 'class = "form-control searchabledropdown"', 'data-toggle="select2"');
?>
</div>
<div class="form-group col-md-3" id="DisplayScheduleDiv" style="display:none;">
@ -130,7 +130,7 @@ if (!empty($Emp)) {
</div>
<div class="form-row">
<div class="form-group col-md-12">
<a onclick="return validateBeforeAdd();" class="btn btn-primary waves-effect float-right">Add Line Item</a>
<a onclick="return validateBeforeAdd();" class="btn btn-primary waves-effect float-right">Add Line Item</a>
</div>
</div>
<div class="form-row">
@ -146,22 +146,22 @@ if (!empty($Emp)) {
<th>Action</th>
</tr>
</thead>
</table>
</div> <!-- end table-responsive-->
</div>
<div class="form-row">
<input type="hidden" name="txtRowCount" id="txtRowCount" />
<input type="hidden" name="txtDeletedRow" id="txtDeletedRow" />
<!-- Available Budget Amt -->
<input type="hidden" name="AvlBudgetAmount" id="AvlBudgetAmount" />
<input type="hidden" name="txtRowCount" id="txtRowCount" />
<input type="hidden" name="txtDeletedRow" id="txtDeletedRow" />
<!-- Available Budget Amt -->
<input type="hidden" name="AvlBudgetAmount" id="AvlBudgetAmount" />
</div>
<div class="form-row float-right">
<input type="reset" value="Reset" class="btn btn-secondary waves-effect" onclick="window.location.reload();">&nbsp;&nbsp;
<a class="btn btn-primary waves-effect Save" ID="Save" onclick="Save()">&nbsp;&nbsp;<span class="bold">Save As Draft</span></a>&nbsp;&nbsp;
<input type="submit" class="btn btn-soft-primary waves-effect waves-light" value="Approved">
<input type="reset" value="Reset" class="btn btn-secondary waves-effect" onclick="window.location.reload();">&nbsp;&nbsp;
<a class="btn btn-primary waves-effect Save" ID="Save" onclick="Save()">&nbsp;&nbsp;<span class="bold">Save As Draft</span></a>&nbsp;&nbsp;
<input type="submit" class="btn btn-soft-primary waves-effect waves-light" value="Approved">
</div>
<?php echo form_close();?>
<?php echo form_close(); ?>
</div>
</div>
@ -191,7 +191,7 @@ if (!empty($Emp)) {
$options[$MID->MaterialCode] = $MID->MaterialCode . ' ' . ' - ' . ' ' . $MID->MaterialName;
endforeach;
}
echo form_dropdown('MaterialCode', $options, set_value('MaterialCode'), 'id="MaterialCode" class="form-control select2" ');
echo form_dropdown('MaterialCode', $options, set_value('MaterialCode'), 'id="MaterialCode" class="form-control searchabledropdown" ');
?>
</div>
@ -347,15 +347,10 @@ if (!empty($Emp)) {
$(function() {
//Initialize Select2 Elements
$(".select2").select2();
$("#CostCenter").select2();
$("#RequestType").select2();
$("#MaterialCode").select2();
$("#EmpID").select2();
$("#ScheduleType").select2();
$(".searchabledropdown").select2();
$('#CostCenter').change(function() {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff