diff --git a/application/views/Editmaterialinspectionreport.php b/application/views/Editmaterialinspectionreport.php index 6e6fb4d6..276c9ab6 100644 --- a/application/views/Editmaterialinspectionreport.php +++ b/application/views/Editmaterialinspectionreport.php @@ -397,13 +397,13 @@ function validate() if (Noval == 0 ) { - alert('Accepted Quantity/ Rejected Quantity is Empty.Please Enter the value'); + swal('Accepted Quantity/ Rejected Quantity is Empty.Please Enter the value'); return false; } else if(isExceed == 1 ){ - alert("Accept/Reject Quantity is exceeding the Actual Quantity.Please correct the value to procced further ") + swal("Accept/Reject Quantity is exceeding the Actual Quantity.Please correct the value to procced further ") return false; } else @@ -433,7 +433,7 @@ function setaccept(rowId) if(accept > Actulqty) { - alert("Accept Quantity is exceeding the Actual Quantity.Please change the AcceptQuantity ") + swal("Accept Quantity is exceeding the Actual Quantity.Please change the AcceptQuantity ") $("#AcceptQuantity"+rowId).focus(); $("#AcceptQuantity"+rowId).val(''); $("#RejectQuantity"+rowId).val(''); @@ -442,7 +442,7 @@ function setaccept(rowId) } else if(rejected > Actulqty ) { - alert("Reject Quantity is exceeding the Actual Quantity.Please change the AcceptQuantity ") + swal("Reject Quantity is exceeding the Actual Quantity.Please change the AcceptQuantity ") $("#RejectQuantity"+rowId).focus(); $("#RejectQuantity"+rowId).val(''); $("#QuantityRejected"+rowId).val(''); @@ -493,7 +493,7 @@ function setreject(rowId) var reject = parseFloat($('#RejectQuantity'+rowId).val()); if(reject > Actulqty ) { - alert("Reject Quantity is exceeding the Actual Quantity.Please change the AcceptQuantity ") + swal("Reject Quantity is exceeding the Actual Quantity.Please change the AcceptQuantity ") $("#RejectQuantity"+rowId).focus(); $("#RejectQuantity"+rowId).val(''); $("#QuantityRejected"+rowId).val(''); @@ -526,12 +526,12 @@ function updatemrir() //alert("success function worked "); if(data){ $('#content').loader('hide'); - alert(data); + swal(data); window.location ="ViewMRIR"; } else { - alert("value not updated"); + swal("value not updated"); } }//success function closed diff --git a/application/views/EditservicePurchaseorder.php b/application/views/EditservicePurchaseorder.php index c2f81ac0..e665abf4 100644 --- a/application/views/EditservicePurchaseorder.php +++ b/application/views/EditservicePurchaseorder.php @@ -298,7 +298,7 @@ $('#drpSupplier').change(function() { } else { - alert('Please select the SupplierID'); + swal('Please select the SupplierID'); return false; } @@ -333,7 +333,7 @@ $('#MaterialCode').change(function() { } else { - alert('Please select the MaterialCode'); + swal('Please select the MaterialCode'); return false; } @@ -370,7 +370,7 @@ $("#EditQuantity").val(''); } else { - alert('Please select the MaterialCode'); + swal('Please select the MaterialCode'); return false; } @@ -392,19 +392,19 @@ function Ratechange(){ if($('#ReqNo').val() == "0") { - alert('Please select the Requisition Number'); + swal('Please select the Requisition Number'); $('#ReqNo').focus(); return false; } else if($('#MaterialCode').val() == "0") { - alert('Please select the Material Code'); + swal('Please select the Material Code'); $('#MaterialCode').focus(); return false; } else if($('#CostCenter').val() == "0") { - alert('Please select the CostCenterCode'); + swal('Please select the CostCenterCode'); $('#CostCenter').focus(); return false; } @@ -441,7 +441,7 @@ function EditRatechange(){ if($('#EditCostCenter').val() == "0") { - alert('Please select the CostCenterCode'); + swal('Please select the CostCenterCode'); $('#EditCostCenter').focus(); return false; } @@ -472,7 +472,7 @@ function ExceedQuantityCheck() var ReqQuantity = parseFloat(RequistQuantity); if(EnterQuantity > ReqQuantity) { - alert('Your exceeding the Quantity from the Requisition Quantity:'+ RequistQuantity +'.Please adjust the Quantity to proceed further.'); + swal('Your exceeding the Quantity from the Requisition Quantity:'+ RequistQuantity +'.Please adjust the Quantity to proceed further.'); $('#Quantity').focus(); return false; @@ -489,7 +489,7 @@ function ExceedQuantityCheck() //alert(ReqQuantity); if(EnterQuantity > ReqQuantity) { - alert('Your exceeding the Quantity from the Requisition Quantity:'+ RequistQuantity +'.Please adjust the Quantity to proceed further.'); + swal('Your exceeding the Quantity from the Requisition Quantity:'+ RequistQuantity +'.Please adjust the Quantity to proceed further.'); $('#EditQuantity').focus(); return false; @@ -503,7 +503,7 @@ function ExceedQuantityCheck() if(ReqAmount > BudAmount ) { - alert('Your exceeding the Avaiable Budget :'+ AvilBudAmt +'.Please adjust the Product to proceed further.'); + swal('Your exceeding the Avaiable Budget :'+ AvilBudAmt +'.Please adjust the Product to proceed further.'); return false; } else @@ -2565,11 +2565,11 @@ function DeleteRow(rowid) if(data) { $('#content').loader('hide'); - alert(data); + swal(data); } else { - alert("Error"); + swal("Error"); } }}); @@ -2629,43 +2629,43 @@ function validateServiceTax() if($('#ReqNo').val() == "0") { - alert('Please select the Requisition Number'); + swal('Please select the Requisition Number'); $('#ReqNo').focus(); return false; } else if($('#CostCenter').val() == "0") { - alert('Please select the Cost center'); + swal('Please select the Cost center'); $('#CostCenter').focus(); return false; } else if($('#MaterialCode').val() == "0") { - alert('Please select the Material Code'); + swal('Please select the Material Code'); $('#MaterialCode').focus(); return false; } else if($('#Quantity').val() == '') { - alert('Please Enter the Quantity value'); + swal('Please Enter the Quantity value'); $('#Quantity').focus(); return false; } else if($('#Quantity').val() == 0) { - alert('Please Enter the Valid Quantity Value'); + swal('Please Enter the Valid Quantity Value'); $('#Quantity').focus(); return false; } else if($('#Rate').val() == '') { - alert('Please Enter the Rate of the Item'); + swal('Please Enter the Rate of the Item'); $('#Rate').focus(); return false; } else if($('#Rate').val() == 0) { - alert('Please Enter the Valid Rate of the Item'); + swal('Please Enter the Valid Rate of the Item'); $('#Rate').focus(); return false; } @@ -2674,7 +2674,7 @@ function validateServiceTax() return false; } else if($('#txtSpcialInstruction').val()==''){ - alert('Please Enter the Service Description'); + swal('Please Enter the Service Description'); $('#txtSpcialInstruction').focus(); return false; } @@ -2694,37 +2694,37 @@ function validateServiceTax() if($('#EditCostCenter').val() == "0") { - alert('Please select the Cost center'); + swal('Please select the Cost center'); $('#EditCostCenter').focus(); return false; } else if($('#EditMaterialCode').val() == "0") { - alert('Please select the Material Code'); + swal('Please select the Material Code'); $('#EditMaterialCode').focus(); return false; } else if($('#EditQuantity').val() == '') { - alert('Please Enter the Quantity value'); + swal('Please Enter the Quantity value'); $('#EditQuantity').focus(); return false; } else if($('#EditQuantity').val() == 0) { - alert('Please Enter the Valid Quantity value'); + swal('Please Enter the Valid Quantity value'); $('#EditQuantity').focus(); return false; } else if($('#EditRate').val() == 0) { - alert('Please Enter the Valid Rate of the Item'); + swal('Please Enter the Valid Rate of the Item'); $('#EditRate').focus(); return false; } else if($('#EditRate').val() == '') { - alert('Please Enter the Rate of the Item'); + swal('Please Enter the Rate of the Item'); $('#EditRate').focus(); return false; } @@ -2733,7 +2733,7 @@ function validateServiceTax() return false; } else if($('#EdittxtSpcialInstruction').val()==''){ - alert('Please Enter the Service Description'); + swal('Please Enter the Service Description'); $('#EdittxtSpcialInstruction').focus(); return false; } @@ -2785,22 +2785,22 @@ var txtTotalOrderValueSummary = $('#txtTotBasicAmount').val(); { if(document.getElementById('ServiceTable').rows.length < 2) { - alert('Please Select Line item to Create PO'); + swal('Please Select Line item to Create PO'); $('#Deliverydt').focus(); return false; } else if(parseInt(AvlBudAmt) < parseInt(txtTotalOrderValueSummary)) { - alert('Total Order Amount is exceeding the Budget Limit.Please adjust the product value.'); + swal('Total Order Amount is exceeding the Budget Limit.Please adjust the product value.'); return false; } else if($('#Otherpayment').val()=='' && $('#PaymentTerms').val()=='PT08'){ - alert('Please Enter Other Payment Details'); + swal('Please Enter Other Payment Details'); $('#Otherpayment').focus(); return false; } else if($('#editdescofpo').val().trim()==''){ - alert('Please Enter Description Of Service'); + swal('Please Enter Description Of Service'); $('#editdescofpo').focus(); return false; } @@ -2815,7 +2815,7 @@ var txtTotalOrderValueSummary = $('#txtTotBasicAmount').val(); if(data) { $('#content').loader('hide'); - alert(data); + swal(data); $('#txtRowCount').val(''); $('#txtDeletedRow').val(''); $('#txtStatus').val(''); @@ -2827,7 +2827,7 @@ var txtTotalOrderValueSummary = $('#txtTotBasicAmount').val(); else { $('#content').loader('hide'); - alert("Error"); + swal("Error"); } } @@ -3049,7 +3049,7 @@ for(i=2;i<=rows;i++){ } else { - alert('Please select the Requisition Number'); + swal('Please select the Requisition Number'); return false; } id = ''; diff --git a/application/views/Report_POreleased.php b/application/views/Report_POreleased.php index 8ae9dc7b..edf95df6 100755 --- a/application/views/Report_POreleased.php +++ b/application/views/Report_POreleased.php @@ -35,7 +35,7 @@ if(!empty($rel_po))
Order Value - Released
Order Value - Released
Report - Consolidate (Category-Wise)
+
Report - Consolidate (Category-Wise)
input->post('client_name')){
diff --git a/application/views/Report_cumulative_day.php b/application/views/Report_cumulative_day.php
index 1c497c4b..f4aabcc4 100644
--- a/application/views/Report_cumulative_day.php
+++ b/application/views/Report_cumulative_day.php
@@ -37,7 +37,7 @@ if(!empty($mms))
Report - Cumulative ()
Report - Cumulative ()
Report - Cumulative Today (Category-Wise)
Report - Cumulative Today (Category-Wise)
Report - Cumulative Month Category-Wise ( +
Report - Cumulative Month Category-Wise (
Report - Cumulative - Category Wise(
+ Report - Cumulative - Category Wise(
= 4) {
diff --git a/application/views/Report_cumulative_year_inward.php b/application/views/Report_cumulative_year_inward.php
index 69468eed..3da4b4a8 100644
--- a/application/views/Report_cumulative_year_inward.php
+++ b/application/views/Report_cumulative_year_inward.php
@@ -26,8 +26,8 @@ if(!empty($mms))
}
.btn-success {
- background-color: #3c8dbc;
- border-color: #3c8dbc;
+ background-color: #5d0411;
+ border-color: #5d0411;
}
@@ -38,7 +38,7 @@ if(!empty($mms))
Report - Cumulative Year - Inward(
+ Report - Cumulative Year - Inward(
Report - Cumulative Year - Category Wise (
+ Report - Cumulative Year - Category Wise (
Report - Year-wise-Total() Report - Year-wise-Total()