diff --git a/app/Models/Purchaseorder_model.php b/app/Models/Purchaseorder_model.php
index acb39b08..fe3d6992 100755
--- a/app/Models/Purchaseorder_model.php
+++ b/app/Models/Purchaseorder_model.php
@@ -17,13 +17,11 @@ class Purchaseorder_model extends Model
->where('Req.RequestedDept', $this->session->get('DEPCode'));
$query = $builder->get();
-
return $query->getResult();
}
-
/*------------jun15------------------*/
@@ -405,7 +403,7 @@ mstr.CourierNo,pom.Status,pom.POType') //,bill.BillNo,bill.FilePath,
$builder->where('POMast.Status !=', PO_AMENDED);
// $builder->orderBy('POMast.Status !=',PO_AMENDED);
}
- $builder->orderBy('POMast.PODate', 'desc');
+ $builder->orderBy('POMast.CreatedDate', 'desc');
$query = $builder->get();
$result = $query->getResult();
diff --git a/app/Views/BatchcardHistAdd.php b/app/Views/BatchcardHistAdd.php
index 226b965a..4b96088a 100755
--- a/app/Views/BatchcardHistAdd.php
+++ b/app/Views/BatchcardHistAdd.php
@@ -276,7 +276,7 @@ $("#machs_category").change(function(){
$("#machs_pono").change(function(){
var machine_pono = $(this).val();
//alert(machine_pono);
-
+ $('#loader').show();
$.ajax({
data:{id:machine_pono},
type:"POST",
@@ -295,6 +295,7 @@ $("#machs_pono").change(function(){
hist_supplier = arr.SupplierID+'-'+arr.SupplierName;
});
}
+ $('#loader').hide();
$("#machs_podate").val(hist_podate);
$("#machs_supplier").val(hist_supplier);
diff --git a/app/Views/BatchcardHistEdit.php b/app/Views/BatchcardHistEdit.php
index 072c905b..27b31c91 100755
--- a/app/Views/BatchcardHistEdit.php
+++ b/app/Views/BatchcardHistEdit.php
@@ -443,7 +443,8 @@ $("#machs_category").change(function(){
$("#machs_pono").change(function(){
var machine_pono = $(this).val();
//alert(machine_pono);
-
+ $('#loader').show();
+
$.ajax({
data:{id:machine_pono},
type:"POST",
@@ -462,6 +463,7 @@ $("#machs_pono").change(function(){
hist_supplier = arr.SupplierID+'-'+arr.SupplierName;
});
}
+ $('#loader').hide();
$("#machs_podate").val(hist_podate);
$("#machs_supplier").val(hist_supplier);
@@ -520,12 +522,14 @@ function deleted(deleteid) {
var fileid = $("#hidefileid"+number).val();
var filename = $("#machs_filename"+number).val();
+ $('#loader').show();
$.ajax({
data:{id:fileid,name:filename},
type:"POST",
url:"batchcard/Removefiledetails",
success:function(data) {
+ $('#loader').hide();
}
});
diff --git a/app/Views/BatchcardMaintEdit.php b/app/Views/BatchcardMaintEdit.php
index df98ce21..47d9a303 100755
--- a/app/Views/BatchcardMaintEdit.php
+++ b/app/Views/BatchcardMaintEdit.php
@@ -592,12 +592,15 @@ function deleted(deleteid) {
var fileid = $("#hidefileid"+number).val();
var filename = $("#machs_filename"+number).val();
+ $('#loader').show();
$.ajax({
data:{id:fileid,name:filename},
type:"POST",
url:"batchcard/Removefiledetails",
success:function(data) {
+ $('#loader').hide();
+
}
});
diff --git a/app/Views/Editmaterialinspectionreport.php b/app/Views/Editmaterialinspectionreport.php
index 3b3c535d..36d8d4fd 100755
--- a/app/Views/Editmaterialinspectionreport.php
+++ b/app/Views/Editmaterialinspectionreport.php
@@ -514,8 +514,8 @@ function updatemrir()
{
if(validate())
{
- $('#content').loader('show');
- //alert("update function worked ");
+ $('#loader').show();sss
+ //alert("update function worked ");
$.ajax({
data:$('.MRIR').serialize(),
type:"POST",
@@ -524,6 +524,8 @@ function updatemrir()
success:function(data){
//alert("success function worked ");
+ $('#loader').hide();
+
if(data){
$('#content').loader('hide');
alert(data);
diff --git a/app/Views/EditservicePurchaseorder.php b/app/Views/EditservicePurchaseorder.php
index 8c157aab..b3eaf166 100755
--- a/app/Views/EditservicePurchaseorder.php
+++ b/app/Views/EditservicePurchaseorder.php
@@ -377,6 +377,7 @@ if (!empty($getlogpodtl)) {
});
}
var d = $('#drpSupplier').val();
+ $('#loader').show();
$.ajax({
url: "VerifyWithSupplierForPendingPO",
type: 'POST',
@@ -385,6 +386,8 @@ if (!empty($getlogpodtl)) {
materialcode: id
},
success: function(response) {
+ $('#loader').hide();
+
if (response) alert(response);
}
});
@@ -421,6 +424,7 @@ if (!empty($getlogpodtl)) {
});
}
var d = $('#drpSupplier').val();
+ $('#loader').show();
$.ajax({
url: "VerifyWithSupplierForPendingPO",
type: 'POST',
@@ -429,6 +433,8 @@ if (!empty($getlogpodtl)) {
materialcode: id
},
success: function(response) {
+ $('#loader').hide();
+
if (response) alert(response);
}
});
@@ -2803,6 +2809,7 @@ if (!empty($getlogpodtl)) {
}
$('#txtDeletedRow').val(DelRows);
+ $('#loader').show();
$.ajax({
data: {
id: id
@@ -2811,9 +2818,11 @@ if (!empty($getlogpodtl)) {
url: "purchaseorder/DeletePODetails",
success: function(data) {
if (data) {
- // $('#content').loader('hide');
+ $('#loader').hide();
alert(data);
} else {
+ $('#loader').hide();
+
alert("Error");
}
@@ -2997,7 +3006,7 @@ if (!empty($getlogpodtl)) {
// return false;
// }
else if ($('#Otherpayment').val() == '' && $('#PaymentTerms').val() == 'PT08') {
- alert('Please Enter Other Payment Details');
+ alert('Please Enter Payable Terms');
$('#Otherpayment').focus();
return false;
} else if ($('#editdescofpo').val().trim() == '') {
@@ -3007,6 +3016,7 @@ if (!empty($getlogpodtl)) {
} else {
// $('#content').loader('show');
var formData = new FormData($('.ServicePO')[0]);
+ $('#loader').show();
$.ajax({
// data: $('.ServicePO').serialize(),
type: "POST",
@@ -3017,7 +3027,7 @@ if (!empty($getlogpodtl)) {
success: function(data) {
// console.log(data);
if (data) {
- // $('#content').loader('hide');
+ $('#loader').hide();
alert(data);
$('#txtRowCount').val('');
$('#txtDeletedRow').val('');
@@ -3027,7 +3037,7 @@ if (!empty($getlogpodtl)) {
window.location = "purchaseorderListing";
} else {
- // $('#content').loader('hide');
+ $('#loader').hide();
alert("Error");
}
@@ -3489,7 +3499,8 @@ if (!empty($getlogpodtl)) {
// formData.append('param6',param6);
// $('.content').loader('show');
- $.ajax({
+ $('#loader').show();
+ $.ajax({
data: formData,
type: "POST",
url: "servicepurchaseorder/uploadfile",
@@ -3499,8 +3510,8 @@ if (!empty($getlogpodtl)) {
success: function(data) {
if (data) {
alert(data);
+ $('#loader').hide();
window.location.reload();
- // $('.content').loader('hide');
//$('#spl').find('td').eq(1).text(filename[2]);
$('#EditServiceSplPOModel').modal('hide');
}
@@ -3541,7 +3552,8 @@ if (!empty($getlogpodtl)) {
// formData.append('igr',igr);
// $('.content').loader('show');
- $.ajax({
+ $('#loader').show();
+ $.ajax({
data: formData,
type: "POST",
url: "servicepurchaseorder/addfileuplod",
diff --git a/app/Views/Favourite.php b/app/Views/Favourite.php
index 305defba..c6c59a50 100755
--- a/app/Views/Favourite.php
+++ b/app/Views/Favourite.php
@@ -1158,7 +1158,7 @@ function save(url,name){
// console.log(span[0].className);
// alert(count++);
count = parseInt(fav_count)+parseInt(count)+1;
- $('#content').loader('show');
+ $('#loader').show();
//alert(count);
window.location.reload();
if(count <= 8){
@@ -1170,8 +1170,8 @@ function save(url,name){
url:'user/favouriteadd',
success:function(data){
- $('#content').loader('hide');
- alert(data);
+ $('#loader').hide();
+ alert(data);
}
@@ -1186,7 +1186,7 @@ function save(url,name){
//console.log(span[0].className);
//alert("else");
count = parseInt(fav_count)-parseInt(count)-1;
- $('#content').loader('show');
+ $('#loader').show();
window.location.reload();
// count--;
//alert("else"+count);
@@ -1200,7 +1200,7 @@ function save(url,name){
cache:false,
url:'user/favouriteadd',
success:function(data){
- $('#content').loader('hide');
+ $('#loader').hide();
}
diff --git a/app/Views/action_report.php b/app/Views/action_report.php
index 6c80d470..1d666918 100755
--- a/app/Views/action_report.php
+++ b/app/Views/action_report.php
@@ -1,910 +1,711 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'form-label-left action_report ','name' => 'action_report','id' => 'action_report');
-
- echo form_open(base_url().'/purchaseorder/Action_Report/',$attributes);
- ?>
-
-
-
-
-
-
- SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
-
- // endforeach;
- // }
-
- // echo form_dropdown('DEPTFN', $options2,set_value('DEPTFN',$SupId),'id="DEPTFN"' ,'required="true"' ,'class="form-control select2');
-
- $data = array('name' => 'Department','value' => set_value('Department'),'id'=>'Department', 'class' => 'form-control' ,'required' => 'true');
- echo form_input($data);
-
- ?>
-
-
-
+
+
+
+
+ 'form-label-left action_report ', 'name' => 'action_report', 'id' => 'action_report');
+ echo form_open(base_url() . '/purchaseorder/Action_Report/', $attributes);
+ ?>
+
+
+
+ SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
+ // endforeach;
+ // }
+ // echo form_dropdown('DEPTFN', $options2,set_value('DEPTFN',$SupId),'id="DEPTFN"' ,'required="true"' ,'class="form-control select2');
+ $data = array('name' => 'Department', 'value' => set_value('Department'), 'id' => 'Department', 'class' => 'form-control', 'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
-
-
- 'Date','value' => set_value('Date',$CurrentDate),'id'=>'Date', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+
+
+ 'Date', 'value' => set_value('Date', $CurrentDate), 'id' => 'Date', 'class' => 'form-control', 'required' => 'true', 'onkeypress' => 'return false;');
echo form_input($data);
- ?>
-
-
-
-
-
- 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
- // echo form_input($data);
- $data = array('name' => 'AUDITOR','value' => set_value('AUDITOR'),'id'=>'AUDITOR', 'class' => 'form-control' ,'required' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
- 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
- // echo form_input($data);
- $data = array('name' => 'AUDITEE','value' => set_value('AUDITEE'),'id'=>'AUDITEE', 'class' => 'form-control' ,'required' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
- 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
- // echo form_input($data);
- $data = array('name' => 'IQAREF','value' => set_value('IQAREF'),'id'=>'IQAREF', 'class' => 'form-control' ,'required' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'ObjectiveEvidence','value' => set_value('ObjectiveEvidence',$ObjectiveEvidence),'id'=>'ObjectiveEvidence', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40');
- echo Form_textarea($data);
- ?>
-
-
-
-
-
-
- 'ObjectiveEvidence1','value' => set_value('ObjectiveEvidence1',$ObjectiveEvidence),'id'=>'ObjectiveEvidence1', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40');
- echo Form_textarea($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Add Disposition Action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'Action','value' => set_value('Action'),'id'=>'Action', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'Resp','value' => set_value('Resp'),'id'=>'Resp', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'Target','value' => set_value('Target'),'id'=>'Target', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'EditAction','value' => set_value('EditAction'),'id'=>'EditAction', 'class' => 'form-control');
- echo form_input($data);
-
- ?>
-
-
-
-
-
-
- 'EditResp','value' => set_value('EditResp'),'id'=>'EditResp', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'EditTarget','value' => set_value('EditTarget'),'id'=>'EditTarget', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | S.No |
- Action |
- Resp |
- Target |
- Action |
-
-
- |
- |
- |
- |
-
-
-
-
-
-
-
-
-
-
-
-
Add Root Cause
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'RootCause','value' => set_value('RootCause'),'id'=>'RootCause', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'editRootCause','value' => set_value('editRootCause'),'id'=>'editRootCause', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | S.No |
- RootCause |
- Action |
-
-
-
-
- |
- |
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
Add Counter Measure Action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'CounterAction','value' => set_value('CounterAction'),'id'=>'CounterAction', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'CounterResp','value' => set_value('CounterResp'),'id'=>'CounterResp', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'CounterTarget','value' => set_value('CounterTarget'),'id'=>'CounterTarget', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'EditCounterAction','value' => set_value('EditCounterAction'),'id'=>'EditCounterAction', 'class' => 'form-control' );
- echo form_input($data);
-
- ?>
-
-
-
-
-
-
- 'EditCounterResp','value' => set_value('EditCounterResp'),'id'=>'EditCounterResp', 'class' => 'form-control' );
- echo form_input($data);
- ?>
-
-
-
-
-
- 'EditCounterTarget','value' => set_value('EditCounterTarget'),'id'=>'EditCounterTarget', 'class' => 'form-control' );
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | S.No |
- Action |
- Resp |
- Target |
-
-
- |
- |
- |
- |
-
-
-
-
-
-
-
-
-
-
-
- 'ReviewDetails','value' => set_value('ReviewDetails'),'id'=>'ReviewDetails', 'class' => 'form-control' ,'rows' => '3', 'cols' => '40' );
- echo form_textarea($data);
- ?>
-
-
-
-
+ ?>
+
+
+
+
+ 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ // echo form_input($data);
+ $data = array('name' => 'AUDITOR', 'value' => set_value('AUDITOR'), 'id' => 'AUDITOR', 'class' => 'form-control', 'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ // echo form_input($data);
+ $data = array('name' => 'AUDITEE', 'value' => set_value('AUDITEE'), 'id' => 'AUDITEE', 'class' => 'form-control', 'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
- NCR Closed
-
-
-
-
+ 'PlaceOforigin','value' => set_value('PlaceOforigin'),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
+ // echo form_input($data);
+ $data = array('name' => 'IQAREF', 'value' => set_value('IQAREF'), 'id' => 'IQAREF', 'class' => 'form-control', 'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'ObjectiveEvidence', 'value' => set_value('ObjectiveEvidence', $ObjectiveEvidence), 'id' => 'ObjectiveEvidence', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+
+ 'ObjectiveEvidence1', 'value' => set_value('ObjectiveEvidence1', $ObjectiveEvidence), 'id' => 'ObjectiveEvidence1', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
-
-
-
-
-
-
- 'Comments','value' => set_value('Comments'),'id'=>'Comments', 'class' => 'form-control' ,'rows' => '3', 'cols' => '40' );
- echo form_textarea($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Add Disposition Action
+
+
+
+
+
+
+
+
+
+
+ 'Action', 'value' => set_value('Action'), 'id' => 'Action', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'Resp', 'value' => set_value('Resp'), 'id' => 'Resp', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'Target', 'value' => set_value('Target'), 'id' => 'Target', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'EditAction', 'value' => set_value('EditAction'), 'id' => 'EditAction', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'EditResp', 'value' => set_value('EditResp'), 'id' => 'EditResp', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'EditTarget', 'value' => set_value('EditTarget'), 'id' => 'EditTarget', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | S.No |
+ Action |
+ Resp |
+ Target |
+ Action |
+
+
+ |
+ |
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
Add Root Cause
+
+
+
+
+
+
+
+
+
+ 'RootCause', 'value' => set_value('RootCause'), 'id' => 'RootCause', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'editRootCause', 'value' => set_value('editRootCause'), 'id' => 'editRootCause', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | S.No |
+ RootCause |
+ Action |
+
+
+ |
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
Add Counter Measure Action
+
+
+
+
+
+
+
+
+
+
+ 'CounterAction', 'value' => set_value('CounterAction'), 'id' => 'CounterAction', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'CounterResp', 'value' => set_value('CounterResp'), 'id' => 'CounterResp', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'CounterTarget', 'value' => set_value('CounterTarget'), 'id' => 'CounterTarget', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'EditCounterAction', 'value' => set_value('EditCounterAction'), 'id' => 'EditCounterAction', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'EditCounterResp', 'value' => set_value('EditCounterResp'), 'id' => 'EditCounterResp', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'EditCounterTarget', 'value' => set_value('EditCounterTarget'), 'id' => 'EditCounterTarget', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | S.No |
+ Action |
+ Resp |
+ Target |
+
+
+ |
+ |
+ |
+ |
+
+
+
+
+
+
+
+ 'ReviewDetails', 'value' => set_value('ReviewDetails'), 'id' => 'ReviewDetails', 'class' => 'form-control', 'rows' => '3', 'cols' => '40');
+ echo form_textarea($data);
+ ?>
+
+
+
+
+ NCR Closed
+
+
+
+
+
+
+ 'Comments', 'value' => set_value('Comments'), 'id' => 'Comments', 'class' => 'form-control', 'rows' => '3', 'cols' => '40');
+ echo form_textarea($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
\ No newline at end of file
+ // function DeleteActionRow(RowId)
+ // {
+ // alert(RowId)
+ // var id=[];
+ // var tr = document.getElementById(RowId);
+ // tr.parentNode.removeChild(tr);
+ // }
+
\ No newline at end of file
diff --git a/app/Views/addEmployee.php b/app/Views/addEmployee.php
index bfd19d4a..a8bb3e6a 100755
--- a/app/Views/addEmployee.php
+++ b/app/Views/addEmployee.php
@@ -1314,6 +1314,7 @@ $("#emailid").change(function() {
var id = $('#emailid').val();
if (validateEmail()) {
+ $('#loader').show();
$.ajax({
data: {
id: id
@@ -1337,9 +1338,8 @@ $("#emailid").change(function() {
alert('please edit the emailid in the edit employee screen');
window.location = 'employeedetails/employeeListing';
}
-
}
-
+ $('#loader').hide();
}
});
diff --git a/app/Views/addEmployeenew.php b/app/Views/addEmployeenew.php
index 2ad0cf4a..5a911e85 100755
--- a/app/Views/addEmployeenew.php
+++ b/app/Views/addEmployeenew.php
@@ -1279,6 +1279,7 @@
var id = $('#emailid').val();
if (validateEmail()) {
+ $('#loader').show();
$.ajax({
data: {
id: id
@@ -1304,7 +1305,7 @@
}
}
-
+ $('#loader').hide();
}
});
@@ -1316,6 +1317,7 @@
var id = $('#panno').val();
if (id != '') {
+ $('#loader').show();
$.ajax({
data: {
id: id
@@ -1324,6 +1326,7 @@
type: "POST",
url: "employeePANExist",
success: function(data) {
+ $('#loader').hide();
if (data) {
// alert( data+""+" Employee already exists in the database.Please Change the Pan Card Number");
// $('#panno').val('');
@@ -1358,6 +1361,7 @@
var id = $('#aadharno').val();
if (id != '') {
+ $('#loader').show();
$.ajax({
data: {
id: id
@@ -1366,6 +1370,7 @@
type: "POST",
url: "employeecheckAadharNoExist",
success: function(data) {
+ $('#loader').hide();
if (data) {
// alert( data+""+" Employee already exists in the database.Please Change the Aadhar card Number");
// $('#aadharno').val('');
@@ -1480,6 +1485,7 @@
console.log('Combined Form Data:', combinedFormData); // Log the combined form data for debugging
// Now you can send the combined data via AJAX
+ $('#loader').show();
$.ajax({
type: 'POST',
url: 'addNewEmployee', // Replace with your form submission URL
@@ -1489,6 +1495,7 @@
success: function(response) {
console.log('Form submitted successfully:', response);
// Handle the success scenario
+ $('#loader').hide();
if (response) {
window.location.href = '';
} else {
@@ -1496,6 +1503,7 @@
}
},
error: function(error) {
+ $('#loader').hide();
console.log('Form submission failed:', error);
// Handle the error scenario
}
diff --git a/app/Views/addRawMaterial.php b/app/Views/addRawMaterial.php
index 8693ce71..37fdcbe3 100755
--- a/app/Views/addRawMaterial.php
+++ b/app/Views/addRawMaterial.php
@@ -235,7 +235,7 @@
//material = material.replace(/\s*$/,"");
var material = materialname.replace(/ /g, '');
//alert(m.length+" "+m+" "+s+" "+s.length);
- $('#content').loader('show');
+ $('#loader').show();
$.ajax({
data: {
id: material
@@ -247,7 +247,7 @@
//alert(count);
if (count > 2) {
- $('#content').loader('hide');
+ $('#loader').hide();
alert('Material name already existed ! ');
var related_name = "";
@@ -260,13 +260,13 @@
alert("'" + materialname + "' - related materials are , " + " \n \n" + related_name);
$("#MaterialName").focus();
} else {
- $('#content').loader('hide');
+ $('#loader').hide();
// alert("empty data");
}
},
error: function() {
- $('#content').loader('hide');
+ $('#loader').hide();
alert("Error Occur");
}
});
diff --git a/app/Views/addSupplier.php b/app/Views/addSupplier.php
index 3feb1215..631f85db 100755
--- a/app/Views/addSupplier.php
+++ b/app/Views/addSupplier.php
@@ -260,7 +260,7 @@
$('#supplierName').change(function() {
var suppliername = $('#supplierName').val();
var supplier = suppliername.replace(/ /g, '');
- $('#content').loader('show');
+ $('#loader').show();
$.ajax({
type: "POST",
url: "= base_url() . 'supplierExist' ?>",
@@ -270,7 +270,7 @@
success: function(data) {
var count = data.length;
if (count > 2) {
- $('#content').loader('hide');
+ $('#loader').hide();
alert('supplier already existed ! ');
var related_supplier = "";
$.each(data, function(i, obj) {
@@ -279,13 +279,12 @@
alert("'" + suppliername + "' - related supplier are , " + " \n \n" + related_supplier);
$("#supplierName").focus();
} else {
- $('#content').loader('hide');
+ $('#loader').hide();
// alert('This is New Supplier! ');
}
- console.log(data);
},
error: function() {
- $('#content').loader('hide');
+ $('#loader').hide();
// alert("Error Occur");
}
});
diff --git a/app/Views/addUser.php b/app/Views/addUser.php
index 726b4d63..c55034f6 100755
--- a/app/Views/addUser.php
+++ b/app/Views/addUser.php
@@ -161,6 +161,7 @@
console.log(empID);
if (empID) {
+ $('#loader').show();
$.ajax({
url: "fetchEmployeeDetails",
type: 'POST',
@@ -168,21 +169,20 @@
EmpID: empID
},
success: function(data) {
- console.log(data);
-
if (data.success) {
- console.log(data.userInfo[0].FirstName);
-
$("#FirstName").val(data.userInfo[0].FirstName);
$("#LastName").val(data.userInfo[0].LastName);
$("#Designation").val(data.userInfo[0].Designation);
$("#MailID").val(data.userInfo[0].EmailId);
$("#ContactNo").val(data.userInfo[0].ContactNumber);
+ $('#loader').hide();
} else {
+ $('#loader').hide();
alert('Employee not found');
}
},
error: function() {
+ $('#loader').hide();
alert('Failed to fetch employee details');
}
});
diff --git a/app/Views/addasset.php b/app/Views/addasset.php
index 04fe0eed..6abc9ee0 100755
--- a/app/Views/addasset.php
+++ b/app/Views/addasset.php
@@ -226,6 +226,7 @@
// alert(PONO);
if (PONO) {
+ $('#loader').show();
$.ajax({
type: 'POST',
@@ -233,6 +234,8 @@
data: 'PONO=' + PONO,
dataType: 'json',
success: function(data) {
+ $('#loader').hide();
+
console.log(data);
var line = '';
$('#MaterialCode').empty();
@@ -270,14 +273,12 @@
//line +=''
if (line) {
+ $('#loader').show();
$.ajax({
type: 'POST',
url: "assetdetails/getline",
data: 'line=' + line,
success: function(data) {
-
-
-
$.each(JSON.parse(data), function(i, item) {
if (id == item.LineItemNo) {
@@ -324,6 +325,7 @@
//line ='';
// $('#POLineItem').append(line);
+ $('#loader').hide();
});
diff --git a/app/Views/addcomplaint.php b/app/Views/addcomplaint.php
index 75b11e1c..20aa7c26 100755
--- a/app/Views/addcomplaint.php
+++ b/app/Views/addcomplaint.php
@@ -245,7 +245,7 @@ $actcount = (int)$count + 1;
var Action = $('#Action').val();
var Remark = $('#Remark').val();
//var remarks= $('#Remark').val();
- $('#content').loader('show');
+ $('#loader').show();
$.ajax({
data: {
@@ -261,10 +261,7 @@ $actcount = (int)$count + 1;
type: "POST",
url: "purchaseorder/SaveComplaint",
success: function(data) {
- $('#content').loader('hide');
-
-
-
+ $('#loader').show();
if (data) {
alert(data);
window.location = "Nonconfirmativelist";
diff --git a/app/Views/addenquiry.php b/app/Views/addenquiry.php
index 74b8b366..b1e06e28 100755
--- a/app/Views/addenquiry.php
+++ b/app/Views/addenquiry.php
@@ -250,7 +250,8 @@ function Save()
var reqqty = $('#ReqQty').val();
var supqty = $('#SupQty').val();
var remarks= $('#Remark').val();
- $('#content').loader('show');
+ // $('#content').loader('show');
+ $('#loader').show();
$.ajax(
{
@@ -260,10 +261,8 @@ function Save()
url:"purchaseorder/SaveEnquiry",
success:function(data)
{
- $('#content').loader('hide');
-
-
-
+ // $('#content').loader('hide');
+ $('#loader').hide();
if(data)
{
alert(data);
diff --git a/app/Views/addnewIncomeExpense.php b/app/Views/addnewIncomeExpense.php
index 9f8102da..30be5dd5 100755
--- a/app/Views/addnewIncomeExpense.php
+++ b/app/Views/addnewIncomeExpense.php
@@ -608,16 +608,16 @@ $(document).ready(function(){
var selectedvalue = $('input[name=merchant]').val();
if(selectedvalue != ' ' )
{
-
+ $('#loader').show();
$.ajax({
data:{id:selectedvalue},
type:"POST",
url:"cashbook/getSupplierDtls",
success:function(data) {
var supplier_gstno = '';
+ $('#loader').hide();
if(data != '')
{
-
data = JSON.parse(data);
$.each(data,function(i,arr){
supplier_gstno = arr.GSTNO;
@@ -790,7 +790,7 @@ $('.AddSupplier').click(function()
var alternatecont = $('#AlternateContactNumber').val();
var email = $('#emailid').val();
var Address = $('#Address').val();
- $('#content').loader('show');
+ $('#loader').show();
$.ajax({
data:{suppliername:suppliername,contact:contact,alternatecont:alternatecont,email:email,Address:Address},
@@ -799,12 +799,9 @@ $('.AddSupplier').click(function()
success:function(data)
{
- // $('#content').loader('hide');
// alert(data);
var alertdata=data;
-
$.ajax({
-
type:"POST",
url:"cashbook/getAllSupplier",
success:function(data)
@@ -823,16 +820,14 @@ $('.AddSupplier').click(function()
//$("#supplier").append(html);
alert(alertdata);
- $('#content').loader('hide');
+ $('#loader').hide();
$('#Addsup').modal('hide');
}
-
-
});
-
+ $('#loader').hide();
}
diff --git a/app/Views/addstorerequisitionslip.php b/app/Views/addstorerequisitionslip.php
index 69bafe48..9261da62 100755
--- a/app/Views/addstorerequisitionslip.php
+++ b/app/Views/addstorerequisitionslip.php
@@ -1,751 +1,709 @@
format('d-m-Y');
-
-// print_r($cost);die();
- ?>
+ $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
+ $CurrentDate = $dt->format('d-m-Y');
+
+ // print_r($cost);die();
+ ?>
-
-
-
-
-
-
-
-
- 'form-label-left requistion ','name' => 'requistion','id' => 'requistion');
-
- echo form_open(base_url().'storerequisitionlist
- / addstores',$attributes); ?>
-
-
-
-
-
-
-
- 'RequestedBy','value' => set_value('RequestedBy',$name) ,'id'=>'RequestedBy','class' => 'form-control num' ,'required' => 'true' ,'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
- 'DepartmentName','value' => set_value('DepartmentName',$DEPCode . "-".$DepName), 'id'=>'DepartmentName','class' => 'form-control num' ,'required' => 'true' ,'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'Date','value' => set_value('Date',$CurrentDate), 'id' =>"Date", 'class' => 'form-control num' ,'required' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 'form-label-left requistion ', 'name' => 'requistion', 'id' => 'requistion');
+
+ echo form_open(base_url() . 'storerequisitionlist
+ / addstores', $attributes); ?>
+
+
+
+
+
+
+
+ 'RequestedBy', 'value' => set_value('RequestedBy', $name), 'id' => 'RequestedBy', 'class' => 'form-control num', 'required' => 'true', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+ 'DepartmentName', 'value' => set_value('DepartmentName', $DEPCode . "-" . $DepName), 'id' => 'DepartmentName', 'class' => 'form-control num', 'required' => 'true', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'Date', 'value' => set_value('Date', $CurrentDate), 'id' => "Date", 'class' => 'form-control num', 'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+ 'Select Cost Center Name');
+ //print_r( $options);
+
+ if (!empty($cost)) {
+ foreach ($cost as $SID):
+ // echo $SID->ConfigValue;
+ $Costs[$SID->CostCenterCode] = $SID->CostCenterCode . '-' . $SID->CostCenterName;
+
+ endforeach;
+ }
+ echo form_dropdown('CostCenter', $Costs, set_value('CostCenter'), 'id="CostCenter"', 'class="form-control select2"');
+
+ ?>
+
+
+
-
-
-
-
-
-
-
-
-
-
Add Line Item
-
-
-
-
-
-
-
-
-
-
-
-
- 'Select Material Code');
- //print_r( $options);
-
- if(!empty($MaterialList))
- {
- foreach ($MaterialList as $MID):
-
-
- $options[$MID->MaterialCode] = $MID->MaterialCode.' '.' - '.' '.$MID->MaterialName;
-
- endforeach;
- }
-
- echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control"');
-
- ?>
-
-
-
-
-
-
-
- 'Description','value' => set_value('Description'),'id'=>'Description', 'class' => 'form-control','readonly' => 'true' );
- echo form_input($data);
- ?>
-
-
-
-
-
- 'UOM','value' => set_value('UOM'),'id'=>'UOM', 'class' => 'form-control','readonly' => 'true' );
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event)','maxlength'=>'20');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'Remarks','value' => set_value('Remarks'),'id'=>'Remarks', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'EditMaterialCode','value' => set_value('EditMaterialCode'),'id'=>'EditMaterialCode', 'class' => 'form-control','readonly' => 'true' );
- echo form_input($data);
-
- ?>
-
-
-
-
-
-
- 'EditDescription','value' => set_value('EditDescription'),'id'=>'EditDescription', 'class' => 'form-control','readonly' => 'true' );
- echo form_input($data);
- ?>
-
-
-
-
-
- 'EditUOM','value' => set_value('EditUOM'),'id'=>'EditUOM', 'class' => 'form-control','readonly' => 'true' );
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'EditQuantity','value' => set_value('EditQuantity'),'id'=>'EditQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event)','maxlength'=>'20');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'EditRemarks','value' => set_value('EditRemarks'),'id'=>'EditRemarks', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | S.No |
- Item Code |
- Description |
- UOM |
- Quantity |
- Remarks |
- Action |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Add Line Item
+
+
+
+
+
+
+
+
+
+
+
+
+ 'Select Material Code');
+ //print_r( $options);
+
+ if (!empty($MaterialList)) {
+ foreach ($MaterialList as $MID):
+
+
+ $options[$MID->MaterialCode] = $MID->MaterialCode . ' ' . ' - ' . ' ' . $MID->MaterialName;
+
+ endforeach;
+ }
+
+ echo form_dropdown('MaterialCode', $options, set_value('MaterialCode'), 'id="MaterialCode"', 'class="form-control"');
+
+ ?>
+
+
+
+
+
+
+
+ 'Description', 'value' => set_value('Description'), 'id' => 'Description', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'UOM', 'value' => set_value('UOM'), 'id' => 'UOM', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'Quantity', 'value' => set_value('Quantity'), 'id' => 'Quantity', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event)', 'maxlength' => '20');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'Remarks', 'value' => set_value('Remarks'), 'id' => 'Remarks', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'EditMaterialCode', 'value' => set_value('EditMaterialCode'), 'id' => 'EditMaterialCode', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+
+ ?>
+
+
+
+
+
+
+ 'EditDescription', 'value' => set_value('EditDescription'), 'id' => 'EditDescription', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'EditUOM', 'value' => set_value('EditUOM'), 'id' => 'EditUOM', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'EditQuantity', 'value' => set_value('EditQuantity'), 'id' => 'EditQuantity', 'class' => 'form-control', 'onkeypress' => 'return isNumberKey(event)', 'maxlength' => '20');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'EditRemarks', 'value' => set_value('EditRemarks'), 'id' => 'EditRemarks', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | S.No |
+ Item Code |
+ Description |
+ UOM |
+ Quantity |
+ Remarks |
+ Action |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/Views/alterpurchaseorder.php b/app/Views/alterpurchaseorder.php
index e53e2280..01149d54 100755
--- a/app/Views/alterpurchaseorder.php
+++ b/app/Views/alterpurchaseorder.php
@@ -1934,6 +1934,7 @@ if (!empty($INRSYMBOL)) {
});
var d = $('#drpSupplier').val();
+ $('#loader').show();
$.ajax({
url: "VerifyWithSupplierForPendingPO",
type: 'POST',
@@ -1942,6 +1943,7 @@ if (!empty($INRSYMBOL)) {
materialcode: selectedMaterialCode
},
success: function (response) {
+ $('#loader').hide();
if (response) alert(response);
}
});
@@ -2028,7 +2030,7 @@ if (!empty($INRSYMBOL)) {
} else {
$("#POType").val(input);
- // $('#content').loader('show');
+ $('#loader').show();
$.ajax({
data: {
input: input
@@ -2068,7 +2070,7 @@ if (!empty($INRSYMBOL)) {
}
- // $('#content').loader('hide');
+ $('#loader').hide();
}
@@ -2084,7 +2086,7 @@ if (!empty($INRSYMBOL)) {
if (id != '0' && ReqType != '-1') {
- // $('#content').loader('show');
+ $('#loader').show();
$.ajax({
data: {
id: id,
@@ -2094,10 +2096,10 @@ if (!empty($INRSYMBOL)) {
url: "serviceAvilBudgetAmount",
success: function (data) {
if (data) {
- // $('#content').loader('hide');
+ $('#loader').hide();
$("#AvalBuget").val(data ? parseFloat(data).toFixed(2) : 0);
} else {
- // $('#content').loader('hide');
+ $('#loader').hide();
//alert("Error");
}
@@ -2135,6 +2137,7 @@ if (!empty($INRSYMBOL)) {
});
var d = $('#drpSupplier').val();
+ $('#loader').show();
$.ajax({
url: "VerifyWithSupplierForPendingPO",
type: 'POST',
@@ -2143,6 +2146,7 @@ if (!empty($INRSYMBOL)) {
materialcode: selectedRevenueMaterialCode
},
success: function (response) {
+ $('#loader').hide();
if (response) alert(response);
}
});
@@ -6106,7 +6110,7 @@ if (!empty($INRSYMBOL)) {
function Save() {
$('#txtStatus').val('');
if (validate()) {
- // $('#content').loader('show');
+ $('#loader').show();
var formData = new FormData($('.CreatePO')[0]);
$.ajax({
@@ -6118,14 +6122,16 @@ if (!empty($INRSYMBOL)) {
url: "purchaseorder/addNewPurchaseOrder",
success: function (data) {
if (data) {
- // $('#content').loader('hide');
- // alert(data);
+ $('#loader').hide();
+ // alert(data);
//$('#txtRowCount').val('');
//$('#txtDeletedRow').val('');
//window.location = "Requisition";
} else {
+ $('#loader').hide();
+
alert("Error");
}
@@ -6325,7 +6331,7 @@ if (!empty($INRSYMBOL)) {
CostArray = '';
var id = $('#DepartmentName').val();
if (id != '0') {
- // $('#content').loader('show');
+ $('#loader').show();
$.ajax({
@@ -6346,10 +6352,11 @@ if (!empty($INRSYMBOL)) {
});
- // $('#content').loader('hide');
+ $('#loader').hide();
} else {
+ $('#loader').hide();
alert("Error");
}
@@ -6376,7 +6383,7 @@ if (!empty($INRSYMBOL)) {
if (id != '0' && ReqType != '-1') {
- // $('#content').loader('show');
+ $('#loader').show();
$.ajax({
data: {
id: id,
@@ -6386,11 +6393,11 @@ if (!empty($INRSYMBOL)) {
url: "serviceAvilBudgetAmount",
success: function (data) {
if (data) {
- // $('#content').loader('hide');
+ $('#loader').hide();
$("#AvalBuget").val(parseFloat(data).toFixed(2));
} else {
- // $('#content').loader('hide');
- // alert("Error");
+ $('#loader').hide();
+ alert("Error");
}
}
@@ -6413,7 +6420,7 @@ if (!empty($INRSYMBOL)) {
if (id != '0' && ReqType != '-1') {
- // $('#content').loader('show');
+ $('#loader').show();
$.ajax({
data: {
id: id,
@@ -6423,11 +6430,11 @@ if (!empty($INRSYMBOL)) {
url: "serviceAvilBudgetAmount",
success: function (data) {
if (data) {
- // $('#content').loader('hide');
+ $('#loader').hide();
$("#AvalBuget").val(data ? parseFloat(data).toFixed(2) : 0);
} else {
- // $('#content').loader('hide');
- // alert("Error");
+ $('#loader').hide();
+ alert("Error");
}
}
@@ -7143,6 +7150,7 @@ if (!empty($INRSYMBOL)) {
return false;
} else {
// Submit the form using AJAX
+ $('#loader').show();
$.ajax({
url: "emergencypurchaseorder/addNewServicePurchaseOrder",
type: "POST",
@@ -7151,7 +7159,7 @@ if (!empty($INRSYMBOL)) {
contentType: false, // Prevent jQuery from setting the content type header
success: function (data) {
// Handle the server response
- // $('#content').loader('hide');
+ $('#loader').hide();
if(data){
alert(data);
}
@@ -7164,7 +7172,7 @@ if (!empty($INRSYMBOL)) {
},
error: function (xhr, status, error) {
// Handle errors
- // $('#content').loader('hide');
+ $('#loader').hide();
alert("Error: " + error);
}
});
@@ -7223,6 +7231,7 @@ if (!empty($INRSYMBOL)) {
return false;
} else {
// Submit the form using AJAX
+ $('#loader').show();
$.ajax({
url: "emergencypurchaseorder/addNewRevenuePurchaseOrder",
type: "POST",
@@ -7232,8 +7241,7 @@ if (!empty($INRSYMBOL)) {
success: function (data) {
// Handle the server response
// alert(data);
- console.log(data);
-
+ $('#loader').hide();
$('#txtRowCount1').val('');
$('#txtDeletedRow1').val('');
$('#SpcialInstruction').val('');
@@ -7335,7 +7343,7 @@ if (!empty($INRSYMBOL)) {
var EditReqType = $('#EditReqNo').val();
if (getCostId != '0') {
- // $('#content').loader('show');
+ $('#loader').show();
$.ajax({
data: {
id: getCostId,
@@ -7345,10 +7353,10 @@ if (!empty($INRSYMBOL)) {
url: "serviceAvilBudgetAmount",
success: function (data) {
if (data) {
- // $('#content').loader('hide');
+ $('#loader').hide();
$("#EditAvlBudAmt").val(data ? data : 0);
} else {
- // $('#content').loader('hide');
+ $('#loader').hide();
alert("Error");
}
@@ -7378,6 +7386,7 @@ if (!empty($INRSYMBOL)) {
});
var d = $('#drpSupplier').val();
+ $('#loader').show();
$.ajax({
url: "VerifyWithSupplierForPendingPO",
type: 'POST',
@@ -7386,6 +7395,7 @@ if (!empty($INRSYMBOL)) {
materialcode: editselectedMaterialCode
},
success: function (response) {
+ $('#loader').hide();
if (response) alert(response);
}
});
@@ -7494,6 +7504,7 @@ if (!empty($INRSYMBOL)) {
});
var d = $('#drpSupplier').val();
+ $('#loader').show();
$.ajax({
url: "VerifyWithSupplierForPendingPO",
type: 'POST',
@@ -7502,6 +7513,7 @@ if (!empty($INRSYMBOL)) {
materialcode: editselectedMaterialCode
},
success: function (response) {
+ $('#loader').hide();
if (response) alert(response);
}
});
diff --git a/app/Views/approvalstorerequisitionslip.php b/app/Views/approvalstorerequisitionslip.php
index 3b5b14a8..926b6508 100755
--- a/app/Views/approvalstorerequisitionslip.php
+++ b/app/Views/approvalstorerequisitionslip.php
@@ -244,7 +244,7 @@
$("#ReqDate").val('');
$("#Desigination").val('');
- $('#content').loader('show');
+ $('#loader').show();
$.ajax({
data: {
id: ReqId
@@ -254,8 +254,8 @@
url: "storerequisitionlist/ViewRequest",
success: function(json) {
//success:function(data) {
- $('#content').loader('hide');
- //alert(json.Requist);
+ $('#loader').hide();
+ //alert(json.Requist);
if (json.Requist != '') {
//alert(json.Requist[0]['Requestedby']) ;
$("#Requestedby").val(json.Requist[0]['FirstName']);
@@ -297,7 +297,7 @@
var answer = confirm(strMsg);
if (answer) {
- $('#content').loader('show');
+ $('#loader').show();
$.ajax({
data: {
id: id,
@@ -307,10 +307,11 @@
url: "storerequisitionlist/ApproveRequest?Status=" + Status,
success: function(data) {
if (data) {
- $('#content').loader('hide');
+ $('#loader').hide();
alert(data);
location.reload();
} else {
+ $('#loader').hide();
alert("Error");
}
diff --git a/app/Views/bankamountpaid.php b/app/Views/bankamountpaid.php
index f2672108..21b32699 100755
--- a/app/Views/bankamountpaid.php
+++ b/app/Views/bankamountpaid.php
@@ -1,392 +1,371 @@
-
-
financial_year;
-
- } ?>
-
+foreach ($financialyear as $item) {
+ $finyear = $item->financial_year;
+} ?>
+
-
-
+ .dataTables_filter {
+ width: 50%;
+ float: right;
+ text-align: right;
+ }
+
+ .dataTables_paginate {
+ width: 50%;
+ float: right;
+ text-align: right;
+ }
+
+ div.dt-buttons {
+ position: relative;
+ float: right;
+
+ }
+
-
-
-
-
-