capital po updates done
This commit is contained in:
parent
153e286369
commit
3650012dcb
0
application/.htaccess
Normal file → Executable file
0
application/.htaccess
Normal file → Executable file
0
application/cache/.htaccess
vendored
Normal file → Executable file
0
application/cache/.htaccess
vendored
Normal file → Executable file
0
application/cache/index.html
vendored
Normal file → Executable file
0
application/cache/index.html
vendored
Normal file → Executable file
0
application/config/autoload.php
Normal file → Executable file
0
application/config/autoload.php
Normal file → Executable file
0
application/config/config.php
Normal file → Executable file
0
application/config/config.php
Normal file → Executable file
0
application/config/constants.php
Normal file → Executable file
0
application/config/constants.php
Normal file → Executable file
0
application/config/database.php
Normal file → Executable file
0
application/config/database.php
Normal file → Executable file
0
application/config/doctypes.php
Normal file → Executable file
0
application/config/doctypes.php
Normal file → Executable file
0
application/config/foreign_chars.php
Normal file → Executable file
0
application/config/foreign_chars.php
Normal file → Executable file
0
application/config/grocery_crud.php
Normal file → Executable file
0
application/config/grocery_crud.php
Normal file → Executable file
0
application/config/hooks.php
Normal file → Executable file
0
application/config/hooks.php
Normal file → Executable file
0
application/config/index.html
Normal file → Executable file
0
application/config/index.html
Normal file → Executable file
0
application/config/migration.php
Normal file → Executable file
0
application/config/migration.php
Normal file → Executable file
0
application/config/mimes.php
Normal file → Executable file
0
application/config/mimes.php
Normal file → Executable file
0
application/config/profiler.php
Normal file → Executable file
0
application/config/profiler.php
Normal file → Executable file
0
application/config/routes.php
Normal file → Executable file
0
application/config/routes.php
Normal file → Executable file
0
application/config/smileys.php
Normal file → Executable file
0
application/config/smileys.php
Normal file → Executable file
0
application/config/user_agents.php
Normal file → Executable file
0
application/config/user_agents.php
Normal file → Executable file
0
application/controllers/Controller.php
Normal file → Executable file
0
application/controllers/Controller.php
Normal file → Executable file
0
application/controllers/CostCenter.php
Normal file → Executable file
0
application/controllers/CostCenter.php
Normal file → Executable file
0
application/controllers/amendmentpurchaseorder.php
Normal file → Executable file
0
application/controllers/amendmentpurchaseorder.php
Normal file → Executable file
0
application/controllers/assetdetails.php
Normal file → Executable file
0
application/controllers/assetdetails.php
Normal file → Executable file
0
application/controllers/c_test.php
Normal file → Executable file
0
application/controllers/c_test.php
Normal file → Executable file
9
application/controllers/emergencypurchaseorder.php
Normal file → Executable file
9
application/controllers/emergencypurchaseorder.php
Normal file → Executable file
@ -49,10 +49,17 @@ class emergencypurchaseorder extends BaseController
|
||||
|
||||
function CreateEmergencyPO()
|
||||
{
|
||||
$RequestedBy = $this->session->userdata ('EmpID');
|
||||
$this->global['pageTitle'] = 'Siddharth : Create Emergency Purchase Order';
|
||||
$data['RequestType'] = $this->requistion_model->getConfigValue('C004');
|
||||
$data['Suplist'] = $this->purchaseorder_model->getSupplierName();
|
||||
$data['DeptList'] = $this->purchaseorder_model->getDepartmentAllList();
|
||||
/*$data['DeptList'] = $this->purchaseorder_model->getDepartmentAllList();*/
|
||||
$empDetails = $this->requistion_model->GetEmployeeDetails($RequestedBy);
|
||||
|
||||
$DeptCode = $empDetails[0]['DEPCode'];
|
||||
$data['DeptList'] = $empDetails;
|
||||
$data['CostList'] = $this->requistion_model->GetCostCenterByDept( $DeptCode);
|
||||
|
||||
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation();
|
||||
$data['MaxPODate'] = $this->purchaseorder_model->getLastCreatedPODate();
|
||||
$data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006');
|
||||
|
||||
1093
application/controllers/emergencypurchaseorder.php~
Executable file
1093
application/controllers/emergencypurchaseorder.php~
Executable file
File diff suppressed because it is too large
Load Diff
0
application/controllers/employeedetails.php
Normal file → Executable file
0
application/controllers/employeedetails.php
Normal file → Executable file
0
application/controllers/emppaydate.php
Normal file → Executable file
0
application/controllers/emppaydate.php
Normal file → Executable file
0
application/controllers/error.php
Normal file → Executable file
0
application/controllers/error.php
Normal file → Executable file
0
application/controllers/index.html
Normal file → Executable file
0
application/controllers/index.html
Normal file → Executable file
0
application/controllers/inwardgateregister.php
Normal file → Executable file
0
application/controllers/inwardgateregister.php
Normal file → Executable file
0
application/controllers/login.php
Normal file → Executable file
0
application/controllers/login.php
Normal file → Executable file
0
application/controllers/monthlypay.php
Normal file → Executable file
0
application/controllers/monthlypay.php
Normal file → Executable file
0
application/controllers/pages.php
Normal file → Executable file
0
application/controllers/pages.php
Normal file → Executable file
0
application/controllers/payslip.php
Normal file → Executable file
0
application/controllers/payslip.php
Normal file → Executable file
861
application/controllers/purchaseorder.php
Normal file → Executable file
861
application/controllers/purchaseorder.php
Normal file → Executable file
@ -227,6 +227,11 @@ class purchaseorder extends BaseController
|
||||
$this ->importpoprint($PONO);
|
||||
|
||||
}
|
||||
else if($ReqType == CAPITAL)
|
||||
{
|
||||
$this ->CapitalPoPrint($PONO);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function CreaterevenuePOPrint()
|
||||
@ -374,6 +379,54 @@ class purchaseorder extends BaseController
|
||||
$this->global['pageTitle'] = 'Siddharth : Edit Import Purchase order form';
|
||||
$this->loadViews("editimportpo", $this->global, $data, NULL);
|
||||
}
|
||||
else if($ReqType == CAPITAL)
|
||||
{
|
||||
|
||||
|
||||
$AvlBudget = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$Year,$ReqType);
|
||||
|
||||
|
||||
if(count($AvlBudget)>0)
|
||||
{
|
||||
$data['AvlBudAmt'] = $AvlBudget[0]['BudgetAmount'] - $AvlBudget[0]['Totalvalue'];
|
||||
}
|
||||
|
||||
$data['POItem'] = $this->purchaseorder_model->getCapitalPurchaseOrderDetails($PONO);
|
||||
$data['requestedBy'] = $this->purchaseorder_model->GetRequesedByDetails($PONO);
|
||||
|
||||
//print_r($data['POItem']);
|
||||
|
||||
|
||||
|
||||
foreach($data['POItem'] as $Rate)
|
||||
{
|
||||
|
||||
|
||||
$exRate=$Rate->ExchangeRate;
|
||||
|
||||
|
||||
}
|
||||
|
||||
foreach($data['POItem'] as $CUR)
|
||||
{
|
||||
|
||||
|
||||
$Currency=$CUR->CurrencyType;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
$data['CurrencyDetail']=$this->purchaseorder_model->GetCurrencyDetail($Currency);
|
||||
|
||||
$data['ExchangeRate']=$exRate;
|
||||
|
||||
$data['Currency']=$this->purchaseorder_model->GetCurrencytype();
|
||||
|
||||
$this->global['pageTitle'] = 'Siddharth : Edit Capital Purchase order form';
|
||||
$this->loadViews("editCapitalPo", $this->global, $data, NULL);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1004,6 +1057,11 @@ public function importpoprint($PONO)
|
||||
{
|
||||
$this->purchaseorder_model->DeletePOImportTax($LineItemNo);
|
||||
}
|
||||
else If($POType == CAPITAL)
|
||||
{
|
||||
$this->purchaseorder_model->DeletePOImportTax($LineItemNo);
|
||||
$this->purchaseorder_model->DeletePOServiceTax($LineItemNo);
|
||||
}
|
||||
$this->purchaseorder_model->DeletePOLineItem($LineItemNo , $ReqNo,$MaterialCode);
|
||||
echo "Successfully Deleted the Line item".$LineItemNo;
|
||||
|
||||
@ -1454,6 +1512,809 @@ $createddt='';
|
||||
|
||||
}
|
||||
}
|
||||
/* Add capital Po*/
|
||||
function addNewCapitalPurchaseOrder()
|
||||
{
|
||||
|
||||
|
||||
$POdt =$this->input->post('PODate');
|
||||
$PODate = $this->getDateformat($POdt);
|
||||
$SupplierID = $this->input->post('drpSupplier');
|
||||
$DeliveryAddr = $this->input->post('DeliveryAddr');
|
||||
$dt = $this->input->post('Deliverydt');
|
||||
|
||||
$POType = $this->input->post('POType');
|
||||
$PoRange = $this->input->post('txtPoRange');
|
||||
|
||||
$DeliveryOption = $this->input->post('DateRange');
|
||||
if($DeliveryOption==1){
|
||||
$Deliverydt = '';
|
||||
$DeliverySchedule = $this->input->post('Scheduleby');
|
||||
}
|
||||
else{
|
||||
$Deliverydt = $this->getDateformat($dt);
|
||||
$DeliverySchedule = '';
|
||||
}
|
||||
|
||||
$ExchangeRateOn = $this->input->post('ExchangeRateOn');
|
||||
$PaymentMethod = $this->input->post('PaymentMethod');
|
||||
$PayableAT = $this->input->post('PayableAT');
|
||||
|
||||
|
||||
$PaymentDate=$this->input->post('PaymentDate');
|
||||
$SpcialInstruction = $this->input->post('txtSpcialInstruction');
|
||||
$TotalOrder = $this->input->post('CapitalToatlOrder');
|
||||
$POStatus = $this->input->post('txtStatus');
|
||||
|
||||
|
||||
$CreateBy = $this->session->userdata ( 'userId' );
|
||||
$RowCount = $this->input->post('txtRowCount');
|
||||
|
||||
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||
|
||||
$comma_separated = explode(':', $DeletedRow);
|
||||
|
||||
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||
$createddt = $dt->format('Y-m-d H:i:s');
|
||||
|
||||
|
||||
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ExchangeRate'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'PaymentDays'=>$PaymentDate,'PayableAt'=>$PayableAT,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption);
|
||||
|
||||
|
||||
$POMaster = $this->purchaseorder_model->addPOMaster($POList);
|
||||
|
||||
$PONO = '';
|
||||
if(count($POMaster)>0)
|
||||
{
|
||||
$PONO = $POMaster[0]['PONO'];
|
||||
}
|
||||
|
||||
$LineItemStatus = REQITEM_NEW;
|
||||
|
||||
for ($i = 1; $i <= $RowCount; $i++)
|
||||
{
|
||||
|
||||
$MaterialCode = $this->input->post('materialCode'.$i);
|
||||
$Quantity = $this->input->post('quantity'.$i);
|
||||
$Reqnumber = $this->input->post('Reqnumber'.$i);
|
||||
$itemRate = $this->input->post('itemRate'.$i);
|
||||
|
||||
$Exchangerate = $this->input->post('echangeRate'.$i);
|
||||
$BasicPriceinmton = $this->input->post('rateInUs'.$i);
|
||||
$Productprice = $this->input->post('basicval'.$i);
|
||||
$LandingCharge = $this->input->post('beforeLanding'.$i);
|
||||
$AfterLandingCharge = $this->input->post('landingCharge'.$i);
|
||||
$HighSeas = $this->input->post('beforeHighSeasSalesCharge'.$i);
|
||||
$AfterHighSeas = $this->input->post('HighSeasSalesCharge'.$i);
|
||||
|
||||
$CustomDuty = $this->input->post('beforeCustomDuty'.$i);
|
||||
$AfterCustomDuty = $this->input->post('CustomDuty'.$i);
|
||||
|
||||
$ExciseDuty = $this->input->post('beforeExciseDuty'.$i);
|
||||
$AfterExciseDuty = $this->input->post('ExciseDuty'.$i);
|
||||
$ExciseDutyEd = $this->input->post('beforeExciseDutyEDCess'.$i);
|
||||
$AfterExciseDutyEd = $this->input->post('ExciseDutyEDCess'.$i);
|
||||
|
||||
$ExciseDutySH = $this->input->post('beforeExciseDutySHCess'.$i);
|
||||
$AfterExciseDutySH = $this->input->post('ExciseDutySHCess'.$i);
|
||||
|
||||
$CustomEd= $this->input->post('beforeCustomEDCess'.$i);
|
||||
$AfterCustomEd= $this->input->post('CustomEDCess'.$i);
|
||||
|
||||
$CustomSH = $this->input->post('beforeCustomSHCess'.$i);
|
||||
$AfterCustomSH = $this->input->post('CustomSHCess'.$i);
|
||||
|
||||
$AddAdtional = $this->input->post('beforeAdditionalExciseDuty'.$i);
|
||||
$AfterAddAdtional = $this->input->post('AdditionalExciseDuty'.$i);
|
||||
|
||||
$Grossdutypayable = $this->input->post('GrossDutyPayable'.$i);
|
||||
$AvailableModvat = $this->input->post('AvailableModvat'.$i);
|
||||
$Grossexpensesduetocustomduty = $this->input->post('GrossExpensesDuetoCustom'.$i);
|
||||
$purchaseratePerKG = $this->input->post('purchaseRate'.$i);
|
||||
$CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpenses'.$i);
|
||||
$RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomers'.$i);
|
||||
$QuantityKG = $this->input->post('PurQuantity'.$i);
|
||||
|
||||
$currencytypeID = $this->input->post('currencytype');
|
||||
$Totalvalueitem=$this->input->post('PerKgExpense'.$i);
|
||||
|
||||
//echo $BasicPriceinmton;
|
||||
$CostCenter = $this->input->post('CPCostCode'.$i);
|
||||
$ServiceTax = $this->input->post('AfterServiceTax'.$i);
|
||||
$EduCess = $this->input->post('AfterEduCess'.$i);
|
||||
$SecHighTax = $this->input->post('AfterSecHighTax'.$i);
|
||||
$KrishiTax = $this->input->post('AfterKrishiTax'.$i);
|
||||
$SwachhTax = $this->input->post('AfterSwachhTax'.$i);
|
||||
|
||||
|
||||
$TotalOrderValue = $this->input->post('TotalOrderValue'.$i);
|
||||
|
||||
$SkipInsert = "False";
|
||||
if( count($comma_separated) > 0)
|
||||
{
|
||||
for($j = 1; $j < count($comma_separated); $j++)
|
||||
{
|
||||
$deletedRow = $comma_separated[$j] ;
|
||||
|
||||
if($deletedRow == $i )
|
||||
{
|
||||
$SkipInsert = "True";
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
if($SkipInsert == "False")
|
||||
{
|
||||
$POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter);
|
||||
|
||||
$POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList);
|
||||
|
||||
$LineItemNo = '';
|
||||
if(count($POLineItem)>0)
|
||||
{
|
||||
$LineItemNo = $POLineItem[0]['LineItemNo'];
|
||||
}
|
||||
//echo $LineItemNo;
|
||||
|
||||
if(trim($POType) == CAPITAL )
|
||||
{
|
||||
$ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'ServiceTax'=>$ServiceTax,'EducessTax'=>$EduCess,'SecHigherEducessTax'=>$SecHighTax,'KrishiKalyantax'=>$KrishiTax,'SwachhBharattax'=>$SwachhTax,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt);
|
||||
|
||||
$ServiceTax = $this->purchaseorder_model->addServiceTax($ServiceTaxList);
|
||||
$ImportTaxList = array('LineItemNo'=>$LineItemNo, 'ExchangeRate'=>$Exchangerate,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'CurrencyType'=>$currencytypeID,'TotalValue'=>$Totalvalueitem);
|
||||
//print_r($ImportTaxList);
|
||||
//die();
|
||||
|
||||
|
||||
$ImportList = $this->purchaseorder_model->addImportTax($ImportTaxList);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
echo 'Purchase Order Created Successfully! PO Number Is: '.$PONO ;
|
||||
}
|
||||
|
||||
|
||||
/*Edit Capital po*/
|
||||
function EditCapitalPurchaseOrder()
|
||||
{
|
||||
|
||||
|
||||
$PONO =$this->input->post('txtPONO');
|
||||
$POdt =$this->input->post('PODate');
|
||||
$PODate = $this->getDateformat($POdt);
|
||||
$SupplierID = $this->input->post('drpSupplier');
|
||||
$DeliveryAddr = $this->input->post('DeliveryAddr');
|
||||
$dt = $this->input->post('Deliverydt');
|
||||
|
||||
$POType = $this->input->post('POType');
|
||||
$PoRange = $this->input->post('txtPoRange');
|
||||
|
||||
$DeliveryOption = $this->input->post('DateRange');
|
||||
if($DeliveryOption==1){
|
||||
$Deliverydt = '';
|
||||
$DeliverySchedule = $this->input->post('Scheduleby');
|
||||
}
|
||||
else{
|
||||
$Deliverydt = $this->getDateformat($dt);
|
||||
$DeliverySchedule = '';
|
||||
}
|
||||
|
||||
$ExchangeRateOn = $this->input->post('ExchangeRateOn');
|
||||
$PaymentMethod = $this->input->post('PaymentMethod');
|
||||
$PayableAT = $this->input->post('PayableAT');
|
||||
|
||||
|
||||
$PaymentDate=$this->input->post('PaymentDate');
|
||||
$SpcialInstruction = $this->input->post('txtSpcialInstruction');
|
||||
$TotalOrder = $this->input->post('CapitalToatlOrder');
|
||||
$POStatus = $this->input->post('txtStatus');
|
||||
|
||||
|
||||
$CreateBy = $this->session->userdata ( 'userId' );
|
||||
$RowCount = $this->input->post('txtRowCount');
|
||||
|
||||
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||
|
||||
$comma_separated = explode(':', $DeletedRow);
|
||||
|
||||
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||
$createddt = $dt->format('Y-m-d H:i:s');
|
||||
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||
|
||||
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ExchangeRate'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'PaymentDays'=>$PaymentDate,'PayableAt'=>$PayableAT,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption);
|
||||
|
||||
|
||||
$POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList);
|
||||
|
||||
$LineItemStatus = REQITEM_NEW;
|
||||
|
||||
|
||||
|
||||
|
||||
for ($i = 1; $i <= $RowCount; $i++)
|
||||
{
|
||||
|
||||
$MaterialCode = $this->input->post('materialCode'.$i);
|
||||
$Quantity = $this->input->post('quantity'.$i);
|
||||
$Reqnumber = $this->input->post('Reqnumber'.$i);
|
||||
$itemRate = $this->input->post('itemRate'.$i);
|
||||
|
||||
$Exchangerate = $this->input->post('echangeRate'.$i);
|
||||
$BasicPriceinmton = $this->input->post('rateInUs'.$i);
|
||||
$Productprice = $this->input->post('basicval'.$i);
|
||||
$LandingCharge = $this->input->post('beforeLanding'.$i);
|
||||
$AfterLandingCharge = $this->input->post('landingCharge'.$i);
|
||||
$HighSeas = $this->input->post('beforeHighSeasSalesCharge'.$i);
|
||||
$AfterHighSeas = $this->input->post('HighSeasSalesCharge'.$i);
|
||||
|
||||
$CustomDuty = $this->input->post('beforeCustomDuty'.$i);
|
||||
$AfterCustomDuty = $this->input->post('CustomDuty'.$i);
|
||||
|
||||
$ExciseDuty = $this->input->post('beforeExciseDuty'.$i);
|
||||
$AfterExciseDuty = $this->input->post('ExciseDuty'.$i);
|
||||
$ExciseDutyEd = $this->input->post('beforeExciseDutyEDCess'.$i);
|
||||
$AfterExciseDutyEd = $this->input->post('ExciseDutyEDCess'.$i);
|
||||
|
||||
$ExciseDutySH = $this->input->post('beforeExciseDutySHCess'.$i);
|
||||
$AfterExciseDutySH = $this->input->post('ExciseDutySHCess'.$i);
|
||||
|
||||
$CustomEd= $this->input->post('beforeCustomEDCess'.$i);
|
||||
$AfterCustomEd= $this->input->post('CustomEDCess'.$i);
|
||||
|
||||
$CustomSH = $this->input->post('beforeCustomSHCess'.$i);
|
||||
$AfterCustomSH = $this->input->post('CustomSHCess'.$i);
|
||||
|
||||
$AddAdtional = $this->input->post('beforeAdditionalExciseDuty'.$i);
|
||||
$AfterAddAdtional = $this->input->post('AdditionalExciseDuty'.$i);
|
||||
|
||||
$Grossdutypayable = $this->input->post('GrossDutyPayable'.$i);
|
||||
$AvailableModvat = $this->input->post('AvailableModvat'.$i);
|
||||
$Grossexpensesduetocustomduty = $this->input->post('GrossExpensesDuetoCustom'.$i);
|
||||
$purchaseratePerKG = $this->input->post('purchaseRate'.$i);
|
||||
$CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpenses'.$i);
|
||||
$RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomers'.$i);
|
||||
$QuantityKG = $this->input->post('PurQuantity'.$i);
|
||||
|
||||
$currencytypeID = $this->input->post('currencytype');
|
||||
$Totalvalueitem=$this->input->post('PerKgExpense'.$i);
|
||||
|
||||
//echo $BasicPriceinmton;
|
||||
$CostCenter = $this->input->post('CPCostCode'.$i);
|
||||
$ServiceTax = $this->input->post('AfterServiceTax'.$i);
|
||||
$EduCess = $this->input->post('AfterEduCess'.$i);
|
||||
$SecHighTax = $this->input->post('AfterSecHighTax'.$i);
|
||||
$KrishiTax = $this->input->post('AfterKrishiTax'.$i);
|
||||
$SwachhTax = $this->input->post('AfterSwachhTax'.$i);
|
||||
|
||||
|
||||
$TotalOrderValue = $this->input->post('TotalOrderValue'.$i);
|
||||
$POLineItemNo = $this->input->post('LineItemNo'.$i);
|
||||
|
||||
$SkipInsert = "False";
|
||||
if( count($comma_separated) > 0)
|
||||
{
|
||||
for($j = 1; $j < count($comma_separated); $j++)
|
||||
{
|
||||
$deletedRow = $comma_separated[$j] ;
|
||||
|
||||
if($deletedRow == $i)
|
||||
{
|
||||
$SkipInsert = "True";
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
if($SkipInsert == "False")
|
||||
{
|
||||
if(strlen($POLineItemNo) == 0)
|
||||
{
|
||||
$POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter);
|
||||
|
||||
$POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList);
|
||||
|
||||
$LineItemNo = '';
|
||||
if(count($POLineItem)>0)
|
||||
{
|
||||
$LineItemNo = $POLineItem[0]['LineItemNo'];
|
||||
}
|
||||
//echo $LineItemNo;
|
||||
|
||||
if(trim($POType) == CAPITAL )
|
||||
{
|
||||
$ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'ServiceTax'=>$ServiceTax,'EducessTax'=>$EduCess,'SecHigherEducessTax'=>$SecHighTax,'KrishiKalyantax'=>$KrishiTax,'SwachhBharattax'=>$SwachhTax,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt);
|
||||
|
||||
$ServiceTax = $this->purchaseorder_model->addServiceTax($ServiceTaxList);
|
||||
$ImportTaxList = array('LineItemNo'=>$LineItemNo, 'ExchangeRate'=>$Exchangerate,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'CurrencyType'=>$currencytypeID,'TotalValue'=>$Totalvalueitem);
|
||||
//print_r($ImportTaxList);
|
||||
//die();
|
||||
|
||||
|
||||
$ImportList = $this->purchaseorder_model->addImportTax($ImportTaxList);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
$LineItemNo = $POLineItemNo;
|
||||
|
||||
|
||||
|
||||
$POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter);
|
||||
$POLineItem = $this->purchaseorder_model->updatePOLineItem($PONO,$LineItemNo,$POLineItemList);
|
||||
|
||||
$ServiceTaxList = array('ServiceTax'=>$ServiceTax,'EducessTax'=>$EduCess,'SecHigherEducessTax'=>$SecHighTax,'KrishiKalyantax'=>$KrishiTax,'SwachhBharattax'=>$SwachhTax,'TotalValue'=>$TotalOrderValue, 'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt);
|
||||
|
||||
$ServiceTax = $this->purchaseorder_model->updateServiceTax($LineItemNo,$ServiceTaxList);
|
||||
$ImportTaxList = array('LineItemNo'=>$LineItemNo, 'ExchangeRate'=>$Exchangerate,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'CurrencyType'=>$currencytypeID,'TotalValue'=>$Totalvalueitem);
|
||||
$ImportList= $this->purchaseorder_model->updateImportTax($LineItemNo,$ImportTaxList);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
echo 'Purchase Order Updated Successfully! PO Number Is: '.$PONO ;
|
||||
}
|
||||
|
||||
/* capital po print/pdf*/
|
||||
|
||||
public function CapitalPoPrint($PONO)
|
||||
{
|
||||
|
||||
|
||||
// Load the pdf page with multiviews
|
||||
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation();
|
||||
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation();
|
||||
$data['POItem'] = $this->purchaseorder_model->GetCapitalPurchaseOrderDetailsForPDF($PONO);
|
||||
|
||||
$totalAmt = $data['POItem'][0]->TotalOrderValue." "."Only";
|
||||
$data['requestedBy'] = $this->purchaseorder_model->GetRequesedByDetails($PONO);
|
||||
|
||||
$data['TotalAmountInWords']=$this->convertNumber($totalAmt);
|
||||
|
||||
|
||||
$this->load->View("capitalpopdf", $data);
|
||||
|
||||
// Add header to pdf
|
||||
//$this->load->view('includes/pdffooter');
|
||||
|
||||
// Get output html
|
||||
$php = $this->output->get_output();
|
||||
|
||||
// Load library
|
||||
$this->load->library('dompdf_gen');
|
||||
|
||||
// Convert to PDF
|
||||
$this->dompdf->load_html($php);
|
||||
$this->dompdf->render();
|
||||
$data['Attachment'] = FALSE;
|
||||
$this->dompdf->stream("CapitalPOReport.pdf",$data,$php);
|
||||
|
||||
}
|
||||
|
||||
/*This function is used to convert amount(digit) into words*/
|
||||
|
||||
public function convertNumber($number)
|
||||
|
||||
{
|
||||
|
||||
list($integer, $fraction) = explode(".", (string) $number);
|
||||
|
||||
$output = "Rupee"." ";
|
||||
|
||||
if ($integer{0} == "-")
|
||||
|
||||
{
|
||||
|
||||
$output = "negative ";
|
||||
|
||||
$integer = ltrim($integer, "-");
|
||||
|
||||
}
|
||||
|
||||
else if ($integer{0} == "+")
|
||||
|
||||
{
|
||||
|
||||
$output = "positive ";
|
||||
|
||||
$integer = ltrim($integer, "+");
|
||||
|
||||
}
|
||||
|
||||
if ($integer{0} == "0")
|
||||
|
||||
{
|
||||
|
||||
$output .= "zero";
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
$integer = str_pad($integer, 36, "0", STR_PAD_LEFT);
|
||||
|
||||
$group = rtrim(chunk_split($integer, 3, " "), " ");
|
||||
|
||||
$groups = explode(" ", $group);
|
||||
|
||||
$groups2 = array();
|
||||
|
||||
foreach ($groups as $g)
|
||||
|
||||
{
|
||||
|
||||
$groups2[] = $this->convertThreeDigit($g{0}, $g{1}, $g{2});
|
||||
|
||||
}
|
||||
|
||||
for ($z = 0; $z < count($groups2); $z++)
|
||||
|
||||
{
|
||||
|
||||
if ($groups2[$z] != "")
|
||||
|
||||
{
|
||||
|
||||
$output .= $groups2[$z] . $this->convertGroup(11 - $z) . (
|
||||
|
||||
$z < 11
|
||||
|
||||
&& !array_search('', array_slice($groups2, $z + 1, -1))
|
||||
|
||||
&& $groups2[11] != ''
|
||||
|
||||
&& $groups[11]{0} == '0'
|
||||
|
||||
? " "
|
||||
|
||||
: ", "
|
||||
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$output = rtrim($output, ", ");
|
||||
|
||||
}
|
||||
|
||||
if ($fraction > 0)
|
||||
|
||||
{
|
||||
|
||||
$output .= " paise";
|
||||
|
||||
for ($i = 0; $i < strlen($fraction); $i++)
|
||||
|
||||
{
|
||||
|
||||
$output .= " " . $this->convertDigit($fraction{$i});
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return $output;
|
||||
|
||||
}
|
||||
|
||||
public function convertGroup($index)
|
||||
|
||||
{
|
||||
|
||||
switch ($index)
|
||||
|
||||
{
|
||||
|
||||
case 11:
|
||||
|
||||
return " decillion";
|
||||
|
||||
case 10:
|
||||
|
||||
return " nonillion";
|
||||
|
||||
case 9:
|
||||
|
||||
return " octillion";
|
||||
|
||||
case 8:
|
||||
|
||||
return " septillion";
|
||||
|
||||
case 7:
|
||||
|
||||
return " sextillion";
|
||||
|
||||
case 6:
|
||||
|
||||
return " quintrillion";
|
||||
|
||||
case 5:
|
||||
|
||||
return " quadrillion";
|
||||
|
||||
case 4:
|
||||
|
||||
return " trillion";
|
||||
|
||||
case 3:
|
||||
|
||||
return " billion";
|
||||
|
||||
case 2:
|
||||
|
||||
return " million";
|
||||
|
||||
case 1:
|
||||
|
||||
return " thousand";
|
||||
|
||||
case 0:
|
||||
|
||||
return "";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function convertThreeDigit($digit1, $digit2, $digit3)
|
||||
|
||||
{
|
||||
|
||||
$buffer = "";
|
||||
|
||||
if ($digit1 == "0" && $digit2 == "0" && $digit3 == "0")
|
||||
|
||||
{
|
||||
|
||||
return "";
|
||||
|
||||
}
|
||||
|
||||
if ($digit1 != "0")
|
||||
|
||||
{
|
||||
|
||||
$buffer .= $this->convertDigit($digit1) . " hundred";
|
||||
|
||||
if ($digit2 != "0" || $digit3 != "0")
|
||||
|
||||
{
|
||||
|
||||
$buffer .= " and ";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ($digit2 != "0")
|
||||
|
||||
{
|
||||
|
||||
$buffer .= $this->convertTwoDigit($digit2, $digit3);
|
||||
|
||||
}
|
||||
|
||||
else if ($digit3 != "0")
|
||||
|
||||
{
|
||||
|
||||
$buffer .= $this->convertDigit($digit3);
|
||||
|
||||
}
|
||||
|
||||
return $buffer;
|
||||
|
||||
}
|
||||
|
||||
public function convertTwoDigit($digit1, $digit2)
|
||||
|
||||
{
|
||||
|
||||
if ($digit2 == "0")
|
||||
|
||||
{
|
||||
|
||||
switch ($digit1)
|
||||
|
||||
{
|
||||
|
||||
case "1":
|
||||
|
||||
return "ten";
|
||||
|
||||
case "2":
|
||||
|
||||
return "twenty";
|
||||
|
||||
case "3":
|
||||
|
||||
return "thirty";
|
||||
|
||||
case "4":
|
||||
|
||||
return "forty";
|
||||
|
||||
case "5":
|
||||
|
||||
return "fifty";
|
||||
|
||||
case "6":
|
||||
|
||||
return "sixty";
|
||||
|
||||
case "7":
|
||||
|
||||
return "seventy";
|
||||
|
||||
case "8":
|
||||
|
||||
return "eighty";
|
||||
|
||||
case "9":
|
||||
|
||||
return "ninety";
|
||||
|
||||
}
|
||||
|
||||
} else if ($digit1 == "1")
|
||||
|
||||
{
|
||||
|
||||
switch ($digit2)
|
||||
|
||||
{
|
||||
|
||||
case "1":
|
||||
|
||||
return "eleven";
|
||||
|
||||
case "2":
|
||||
|
||||
return "twelve";
|
||||
|
||||
case "3":
|
||||
|
||||
return "thirteen";
|
||||
|
||||
case "4":
|
||||
|
||||
return "fourteen";
|
||||
|
||||
case "5":
|
||||
|
||||
return "fifteen";
|
||||
|
||||
case "6":
|
||||
|
||||
return "sixteen";
|
||||
|
||||
case "7":
|
||||
|
||||
return "seventeen";
|
||||
|
||||
case "8":
|
||||
|
||||
return "eighteen";
|
||||
|
||||
case "9":
|
||||
|
||||
return "nineteen";
|
||||
|
||||
}
|
||||
|
||||
} else
|
||||
|
||||
{
|
||||
|
||||
$temp = $this->convertDigit($digit2);
|
||||
|
||||
switch ($digit1)
|
||||
|
||||
{
|
||||
|
||||
case "2":
|
||||
|
||||
return "twenty-$temp";
|
||||
|
||||
case "3":
|
||||
|
||||
return "thirty-$temp";
|
||||
|
||||
case "4":
|
||||
|
||||
return "forty-$temp";
|
||||
|
||||
case "5":
|
||||
|
||||
return "fifty-$temp";
|
||||
|
||||
case "6":
|
||||
|
||||
return "sixty-$temp";
|
||||
|
||||
case "7":
|
||||
|
||||
return "seventy-$temp";
|
||||
|
||||
case "8":
|
||||
|
||||
return "eighty-$temp";
|
||||
|
||||
case "9":
|
||||
|
||||
return "ninety-$temp";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function convertDigit($digit)
|
||||
|
||||
{
|
||||
|
||||
switch ($digit)
|
||||
|
||||
{
|
||||
|
||||
case "0":
|
||||
|
||||
return "zero";
|
||||
|
||||
case "1":
|
||||
|
||||
return "one";
|
||||
|
||||
case "2":
|
||||
|
||||
return "two";
|
||||
|
||||
case "3":
|
||||
|
||||
return "three";
|
||||
|
||||
case "4":
|
||||
|
||||
return "four";
|
||||
|
||||
case "5":
|
||||
|
||||
return "five";
|
||||
|
||||
case "6":
|
||||
|
||||
return "six";
|
||||
|
||||
case "7":
|
||||
|
||||
return "seven";
|
||||
|
||||
case "8":
|
||||
|
||||
return "eight";
|
||||
|
||||
case "9":
|
||||
|
||||
return "nine";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
2321
application/controllers/purchaseorder.php~
Executable file
2321
application/controllers/purchaseorder.php~
Executable file
File diff suppressed because it is too large
Load Diff
0
application/controllers/rawmaterialdetails.php
Normal file → Executable file
0
application/controllers/rawmaterialdetails.php
Normal file → Executable file
0
application/controllers/requisitionform.php
Normal file → Executable file
0
application/controllers/requisitionform.php
Normal file → Executable file
0
application/controllers/servicepurchaseorder.php
Normal file → Executable file
0
application/controllers/servicepurchaseorder.php
Normal file → Executable file
0
application/controllers/supplier.php
Normal file → Executable file
0
application/controllers/supplier.php
Normal file → Executable file
0
application/controllers/user.php
Normal file → Executable file
0
application/controllers/user.php
Normal file → Executable file
0
application/core/index.html
Normal file → Executable file
0
application/core/index.html
Normal file → Executable file
0
application/errors/error_404.php
Normal file → Executable file
0
application/errors/error_404.php
Normal file → Executable file
0
application/errors/error_db.php
Normal file → Executable file
0
application/errors/error_db.php
Normal file → Executable file
0
application/errors/error_general.php
Normal file → Executable file
0
application/errors/error_general.php
Normal file → Executable file
0
application/errors/error_php.php
Normal file → Executable file
0
application/errors/error_php.php
Normal file → Executable file
0
application/errors/index.html
Normal file → Executable file
0
application/errors/index.html
Normal file → Executable file
0
application/helpers/cias_helper.php
Normal file → Executable file
0
application/helpers/cias_helper.php
Normal file → Executable file
0
application/helpers/index.html
Normal file → Executable file
0
application/helpers/index.html
Normal file → Executable file
0
application/hooks/index.html
Normal file → Executable file
0
application/hooks/index.html
Normal file → Executable file
0
application/index.html
Normal file → Executable file
0
application/index.html
Normal file → Executable file
0
application/language/english/index.html
Normal file → Executable file
0
application/language/english/index.html
Normal file → Executable file
0
application/language/index.html
Normal file → Executable file
0
application/language/index.html
Normal file → Executable file
0
application/libraries/BaseController.php
Normal file → Executable file
0
application/libraries/BaseController.php
Normal file → Executable file
0
application/libraries/Excel.php
Normal file → Executable file
0
application/libraries/Excel.php
Normal file → Executable file
0
application/libraries/Excel2.php
Normal file → Executable file
0
application/libraries/Excel2.php
Normal file → Executable file
0
application/libraries/dompdf_gen.php
Normal file → Executable file
0
application/libraries/dompdf_gen.php
Normal file → Executable file
0
application/libraries/index.html
Normal file → Executable file
0
application/libraries/index.html
Normal file → Executable file
0
application/libraries/pdf.php
Normal file → Executable file
0
application/libraries/pdf.php
Normal file → Executable file
0
application/logs/index.html
Normal file → Executable file
0
application/logs/index.html
Normal file → Executable file
0
application/logs/log-2017-04-20.php
Normal file → Executable file
0
application/logs/log-2017-04-20.php
Normal file → Executable file
0
application/logs/log-2017-04-21.php
Normal file → Executable file
0
application/logs/log-2017-04-21.php
Normal file → Executable file
0
application/logs/log-2017-04-22.php
Normal file → Executable file
0
application/logs/log-2017-04-22.php
Normal file → Executable file
0
application/logs/log-2017-04-24.php
Normal file → Executable file
0
application/logs/log-2017-04-24.php
Normal file → Executable file
0
application/logs/log-2017-04-26.php
Normal file → Executable file
0
application/logs/log-2017-04-26.php
Normal file → Executable file
0
application/logs/log-2017-04-27.php
Normal file → Executable file
0
application/logs/log-2017-04-27.php
Normal file → Executable file
0
application/logs/log-2017-04-28.php
Normal file → Executable file
0
application/logs/log-2017-04-28.php
Normal file → Executable file
0
application/logs/log-2017-05-02.php
Normal file → Executable file
0
application/logs/log-2017-05-02.php
Normal file → Executable file
0
application/logs/log-2017-05-03.php
Normal file → Executable file
0
application/logs/log-2017-05-03.php
Normal file → Executable file
0
application/logs/log-2017-05-04.php
Normal file → Executable file
0
application/logs/log-2017-05-04.php
Normal file → Executable file
0
application/logs/log-2017-05-08.php
Normal file → Executable file
0
application/logs/log-2017-05-08.php
Normal file → Executable file
0
application/logs/log-2017-05-10.php
Normal file → Executable file
0
application/logs/log-2017-05-10.php
Normal file → Executable file
0
application/logs/log-2017-05-12.php
Normal file → Executable file
0
application/logs/log-2017-05-12.php
Normal file → Executable file
0
application/logs/log-2017-05-19.php
Normal file → Executable file
0
application/logs/log-2017-05-19.php
Normal file → Executable file
0
application/logs/log-2017-05-22.php
Normal file → Executable file
0
application/logs/log-2017-05-22.php
Normal file → Executable file
0
application/logs/log-2017-05-23.php
Normal file → Executable file
0
application/logs/log-2017-05-23.php
Normal file → Executable file
0
application/logs/log-2017-05-24.php
Normal file → Executable file
0
application/logs/log-2017-05-24.php
Normal file → Executable file
0
application/logs/log-2017-05-25.php
Normal file → Executable file
0
application/logs/log-2017-05-25.php
Normal file → Executable file
0
application/logs/log-2017-05-26.php
Normal file → Executable file
0
application/logs/log-2017-05-26.php
Normal file → Executable file
0
application/logs/log-2017-05-27.php
Normal file → Executable file
0
application/logs/log-2017-05-27.php
Normal file → Executable file
0
application/logs/log-2017-05-29.php
Normal file → Executable file
0
application/logs/log-2017-05-29.php
Normal file → Executable file
0
application/logs/log-2017-05-30.php
Normal file → Executable file
0
application/logs/log-2017-05-30.php
Normal file → Executable file
0
application/logs/log-2017-05-31.php
Normal file → Executable file
0
application/logs/log-2017-05-31.php
Normal file → Executable file
0
application/logs/log-2017-06-01.php
Normal file → Executable file
0
application/logs/log-2017-06-01.php
Normal file → Executable file
0
application/logs/log-2017-06-02.php
Normal file → Executable file
0
application/logs/log-2017-06-02.php
Normal file → Executable file
0
application/logs/log-2017-06-05.php
Normal file → Executable file
0
application/logs/log-2017-06-05.php
Normal file → Executable file
0
application/logs/log-2017-06-14.php
Normal file → Executable file
0
application/logs/log-2017-06-14.php
Normal file → Executable file
0
application/logs/log-2017-06-15.php
Normal file → Executable file
0
application/logs/log-2017-06-15.php
Normal file → Executable file
0
application/logs/log-2017-06-19.php
Normal file → Executable file
0
application/logs/log-2017-06-19.php
Normal file → Executable file
0
application/logs/log-2017-06-20.php
Normal file → Executable file
0
application/logs/log-2017-06-20.php
Normal file → Executable file
0
application/logs/log-2017-06-21.php
Normal file → Executable file
0
application/logs/log-2017-06-21.php
Normal file → Executable file
0
application/logs/log-2017-06-22.php
Normal file → Executable file
0
application/logs/log-2017-06-22.php
Normal file → Executable file
0
application/logs/log-2017-06-23.php
Normal file → Executable file
0
application/logs/log-2017-06-23.php
Normal file → Executable file
0
application/logs/log-2017-06-26.php
Normal file → Executable file
0
application/logs/log-2017-06-26.php
Normal file → Executable file
40
application/logs/log-2017-06-30.php
Normal file → Executable file
40
application/logs/log-2017-06-30.php
Normal file → Executable file
@ -6,3 +6,43 @@ ERROR - 2017-06-30 16:01:46 --> Severity: Notice --> Undefined index: PayOn C:\
|
||||
ERROR - 2017-06-30 16:01:46 --> Severity: Notice --> Undefined index: PayOn C:\5.6\xampp\htdocs\SIA\siddharth_application\application\views\payslipgenerate.php 166
|
||||
ERROR - 2017-06-30 16:01:46 --> Severity: Notice --> Undefined index: PayOn C:\5.6\xampp\htdocs\SIA\siddharth_application\application\views\payslipgenerate.php 166
|
||||
ERROR - 2017-06-30 16:01:46 --> Severity: Notice --> Undefined index: PayOn C:\5.6\xampp\htdocs\SIA\siddharth_application\application\views\payslipgenerate.php 166
|
||||
ERROR - 2017-06-30 16:27:47 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138
|
||||
ERROR - 2017-06-30 16:27:47 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 139
|
||||
ERROR - 2017-06-30 16:27:47 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140
|
||||
ERROR - 2017-06-30 16:27:47 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186
|
||||
ERROR - 2017-06-30 16:27:47 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 214
|
||||
ERROR - 2017-06-30 16:28:54 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138
|
||||
ERROR - 2017-06-30 16:28:54 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140
|
||||
ERROR - 2017-06-30 16:28:54 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186
|
||||
ERROR - 2017-06-30 16:31:23 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138
|
||||
ERROR - 2017-06-30 16:31:23 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140
|
||||
ERROR - 2017-06-30 16:31:23 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186
|
||||
ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138
|
||||
ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138
|
||||
ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140
|
||||
ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140
|
||||
ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186
|
||||
ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186
|
||||
ERROR - 2017-06-30 16:59:16 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/Git_Server/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38
|
||||
ERROR - 2017-06-30 16:59:51 --> Severity: Notice --> Undefined variable: updatedBy /opt/lampp/htdocs/Git_Server/siddharth_application/application/controllers/purchaseorder.php 1850
|
||||
ERROR - 2017-06-30 16:59:53 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/Git_Server/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38
|
||||
ERROR - 2017-06-30 17:00:12 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43
|
||||
ERROR - 2017-06-30 17:00:12 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
ERROR - 2017-06-30 17:00:27 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43
|
||||
ERROR - 2017-06-30 17:00:27 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
ERROR - 2017-06-30 17:05:25 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43
|
||||
ERROR - 2017-06-30 17:05:25 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
ERROR - 2017-06-30 17:06:41 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43
|
||||
ERROR - 2017-06-30 17:06:41 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
ERROR - 2017-06-30 17:07:41 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43
|
||||
ERROR - 2017-06-30 17:07:41 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
ERROR - 2017-06-30 17:08:33 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43
|
||||
ERROR - 2017-06-30 17:08:33 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
ERROR - 2017-06-30 17:10:31 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43
|
||||
ERROR - 2017-06-30 17:10:31 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
ERROR - 2017-06-30 17:11:40 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 44
|
||||
ERROR - 2017-06-30 17:11:40 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
ERROR - 2017-06-30 17:12:03 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
ERROR - 2017-06-30 17:14:22 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
ERROR - 2017-06-30 17:15:05 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
ERROR - 2017-06-30 17:16:11 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||
|
||||
0
application/models/assetdetails_model.php
Normal file → Executable file
0
application/models/assetdetails_model.php
Normal file → Executable file
0
application/models/costcenter_model.php
Normal file → Executable file
0
application/models/costcenter_model.php
Normal file → Executable file
0
application/models/employeedetails_model.php
Normal file → Executable file
0
application/models/employeedetails_model.php
Normal file → Executable file
0
application/models/emppaydate_model.php
Normal file → Executable file
0
application/models/emppaydate_model.php
Normal file → Executable file
0
application/models/index.html
Normal file → Executable file
0
application/models/index.html
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user