mrir,report,cashbook

This commit is contained in:
venbatechnologies@gmail.com 2018-01-25 18:41:39 +05:30
parent 5a001d5fa7
commit 367f469f75
22 changed files with 122 additions and 7 deletions

View File

@ -286,6 +286,14 @@ class amendmentpurchaseorder extends BaseController
$RowCount = $this->input->post('txtRowCount');
$dtt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
$updateddt = $dtt->format('Y-m-d H:i:s');
$qtycheck = $this->purchaseorder_model->getqtycheck($PONO);
$qtycheckresult='';
foreach($qtycheck as $qty)
{
$qtycheckresult= $qty->IsQualityChkReqired;
}
if(empty($Deliverydt))
{
$Deliverydt=null;
@ -296,7 +304,7 @@ class amendmentpurchaseorder extends BaseController
}
$POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID,'POType'=>$POType,'PORange'=>$PoRange,'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>PO_RELEASED,'PaymentTerms'=>$PaymentTerms,'PaymentOtherDescription'=>$Otherpayment,'Mode_Of_Shipment'=>$Modeofshipment,'Supplier_Reference'=>$supplierreference,'Supplier_Offer_No'=>$supplieroffno,'Other_Reference'=>$otherreference,'Fincap'=>$fincap,'InsuranceStatus'=>$insurancestatus,'InsuranceNumber'=>$insuranceno,'POSubType'=>$revenuetype,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpecialInstruction,'CreatedBy'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'AmendedDetails'=>$MAD);
$POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID,'POType'=>$POType,'PORange'=>$PoRange,'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>PO_RELEASED,'PaymentTerms'=>$PaymentTerms,'PaymentOtherDescription'=>$Otherpayment,'Mode_Of_Shipment'=>$Modeofshipment,'Supplier_Reference'=>$supplierreference,'Supplier_Offer_No'=>$supplieroffno,'Other_Reference'=>$otherreference,'Fincap'=>$fincap,'InsuranceStatus'=>$insurancestatus,'InsuranceNumber'=>$insuranceno,'POSubType'=>$revenuetype,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpecialInstruction,'CreatedBy'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'AmendedDetails'=>$MAD,'IsQualityChkReqired'=>$qtycheckresult);
$LastPO = $this->purchaseorder_model->addAmendPOMaster($POMaster,$updatedBy,$PONO);
if(count($LastPO)>0)
{
@ -575,6 +583,14 @@ class amendmentpurchaseorder extends BaseController
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
$updateddt = $dt->format('Y-m-d H:i:s');
$WorkStatus=$this->input->post('workstatus');
$qtycheck = $this->purchaseorder_model->getqtycheck($PONO);
$qtycheckresult='';
foreach($qtycheck as $qty)
{
$qtycheckresult= $qty->IsQualityChkReqired;
}
// PO Master
if(empty($Deliverydt))
{
@ -583,7 +599,7 @@ class amendmentpurchaseorder extends BaseController
if($PaymentTerms != 'PT08'){
$Otherpayment='';
}
$POMaster = array('ParentPO'=>$PONO,'POType'=>$POType,'SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>PO_RELEASED,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$scopeofwork,'CreatedBy'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$updateddt,'PaymentTerms'=>$PaymentTerms,'PaymentOtherDescription'=>$Otherpayment,'ServiceWorkStatus'=>$WorkStatus,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'AmendedDetails'=>$MAD,'Supplier_Reference'=>$SupplierReference,'Mode_Of_Shipment'=>$ModeOfShipment,'Supplier_Offer_No'=>$SuppliersOfferNo,'Other_Reference'=>$OtherReferences,'Fincap'=>$Fincap,'Description_Of_Service'=>$DescriptionOfPo,'InsuranceStatus'=>$InsuranceOptions,'InsuranceNumber'=>$InsuranceNo,'POSubType'=>$ServiceTypeOptions);
$POMaster = array('ParentPO'=>$PONO,'POType'=>$POType,'SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>PO_RELEASED,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$scopeofwork,'CreatedBy'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$updateddt,'PaymentTerms'=>$PaymentTerms,'PaymentOtherDescription'=>$Otherpayment,'ServiceWorkStatus'=>$WorkStatus,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'AmendedDetails'=>$MAD,'Supplier_Reference'=>$SupplierReference,'Mode_Of_Shipment'=>$ModeOfShipment,'Supplier_Offer_No'=>$SuppliersOfferNo,'Other_Reference'=>$OtherReferences,'Fincap'=>$Fincap,'Description_Of_Service'=>$DescriptionOfPo,'InsuranceStatus'=>$InsuranceOptions,'InsuranceNumber'=>$InsuranceNo,'POSubType'=>$ServiceTypeOptions,'IsQualityChkReqired'=>$qtycheckresult);
$LastPO = $this->purchaseorder_model->addAmendPOMaster($POMaster,$updatedBy,$PONO);
@ -807,6 +823,13 @@ class amendmentpurchaseorder extends BaseController
$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');
$qtycheck = $this->purchaseorder_model->getqtycheck($PONO);
$qtycheckresult='';
foreach($qtycheck as $qty)
{
$qtycheckresult= $qty->IsQualityChkReqired;
}
if(empty($Deliverydt)){
$Deliverydt=null;
@ -816,7 +839,7 @@ class amendmentpurchaseorder extends BaseController
$Otherpayment='';
}
$updatedBy = $this->session->userdata ( 'userId' );
$POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID, 'TotalOrderValue'=>$FinalTotalOrder,'POType'=>$POType,'PODate'=>$PODate,'Status'=>PO_RELEASED,'CapitalRange'=>$PoRange,'ExchangeRate'=>$ExchangeRate,'ExchangeRateCalculatedon'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'PaymentOtherDescription'=>$Otherpayment,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'CurrencyType'=>$currencytypeID,'AmendedDetails'=>$MAD,'Import_DispatchDetails'=>$curdispatch,'Import_PlaceofOrgin'=>$PlaceOforigin,'Supplier_Reference'=>$SupplierReference,'Mode_Of_Shipment'=>$ModeOfShipment,'Supplier_Offer_No'=>$SuppliersOfferNo,'Other_Reference'=>$OtherReferences,'Fincap'=>$Fincap,'InsuranceStatus'=>$InsuranceOptions,'InsuranceNumber'=>$InsuranceNo,'POSubType'=>$ServiceTypeOptions);
$POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID, 'TotalOrderValue'=>$FinalTotalOrder,'POType'=>$POType,'PODate'=>$PODate,'Status'=>PO_RELEASED,'CapitalRange'=>$PoRange,'ExchangeRate'=>$ExchangeRate,'ExchangeRateCalculatedon'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'PaymentOtherDescription'=>$Otherpayment,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'CurrencyType'=>$currencytypeID,'AmendedDetails'=>$MAD,'Import_DispatchDetails'=>$curdispatch,'Import_PlaceofOrgin'=>$PlaceOforigin,'Supplier_Reference'=>$SupplierReference,'Mode_Of_Shipment'=>$ModeOfShipment,'Supplier_Offer_No'=>$SuppliersOfferNo,'Other_Reference'=>$OtherReferences,'Fincap'=>$Fincap,'InsuranceStatus'=>$InsuranceOptions,'InsuranceNumber'=>$InsuranceNo,'POSubType'=>$ServiceTypeOptions,'IsQualityChkReqired'=>$qtycheckresult);
$LastPO = $this->purchaseorder_model->addAmendPOMaster($POMaster,$CreateBy,$PONO);
foreach($LastPO as $PO):
@ -1129,6 +1152,14 @@ class amendmentpurchaseorder extends BaseController
$Insurance=$this->input->post('Insurance');
$qtycheck = $this->purchaseorder_model->getqtycheck($PONO);
$qtycheckresult='';
foreach($qtycheck as $qty)
{
$qtycheckresult= $qty->IsQualityChkReqired;
}
if($Insurance=='YES')
{
@ -1157,7 +1188,7 @@ class amendmentpurchaseorder extends BaseController
$MAD.=$MAD."Current Place of Origin:&nbsp;&nbsp;" . $beforePalaceoforigin."<br>";
}
$POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID, 'POType'=>$POType,'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'Import_PlaceofOrgin'=>$Palaceoforigin,'Mode_Of_Shipment'=>$Shipmentmode,'Supplier_Reference'=>$SupplierRef,'Supplier_Offer_No'=>$SupplierOffer,'Other_Reference'=>$otherRef,'Fincap'=>$finCap,'AmendedDetails'=>$MAD,'PaymentOtherDescription'=>$OtherPayment,'InsuranceStatus'=>$insurestatus,'InsuranceNumber'=>$Insurancenumber,'POSubType'=>$importoption);
$POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID, 'POType'=>$POType,'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'Import_PlaceofOrgin'=>$Palaceoforigin,'Mode_Of_Shipment'=>$Shipmentmode,'Supplier_Reference'=>$SupplierRef,'Supplier_Offer_No'=>$SupplierOffer,'Other_Reference'=>$otherRef,'Fincap'=>$finCap,'AmendedDetails'=>$MAD,'PaymentOtherDescription'=>$OtherPayment,'InsuranceStatus'=>$insurestatus,'InsuranceNumber'=>$Insurancenumber,'POSubType'=>$importoption,'IsQualityChkReqired'=>$qtycheckresult);
$LastPO = $this->purchaseorder_model->addAmendPOMaster($POMaster,$CreateBy,$PONO);
$NewPO = '';
if(count($LastPO)>0)

0
application/controllers/batchcard.php Normal file → Executable file
View File

0
application/logs/log-2018-01-04.php Normal file → Executable file
View File

0
application/logs/log-2018-01-08.php Normal file → Executable file
View File

0
application/logs/log-2018-01-10.php Normal file → Executable file
View File

0
application/logs/log-2018-01-11.php Normal file → Executable file
View File

View File

@ -0,0 +1,72 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1522
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1522
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1523
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1523
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1525
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1525
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1526
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1526
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1527
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1527
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1530
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1530
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1532
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1532
ERROR - 2018-01-25 14:09:29 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; grad has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/grad.php 3
ERROR - 2018-01-25 14:09:29 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; mpdfform has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/mpdfform.php 3
ERROR - 2018-01-25 14:09:29 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; cssmgr has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/cssmgr.php 3
ERROR - 2018-01-25 14:09:29 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; otl has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/otl.php 12
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/views/includes/pdfheader.php 153
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/includes/pdfheader.php 153
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 344
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 344
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 344
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 345
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 345
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 345
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 388
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 388
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 388
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 388
ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 388
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073
ERROR - 2018-01-25 14:09:30 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; TTFontFile has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/ttfontsuni.php 51

0
application/models/batchcard_model.php Normal file → Executable file
View File

View File

@ -1392,7 +1392,7 @@ group by supplier_name,material_name";
function ireport_purchase($cname,$prod,$fa,$aa,$m,$frm,$t,$cat){
$sql="select im.IGRNO as igrn,im.PONO as pono,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,mm.UOM as UOM, sum(distinct id.QuantityAsPerInvoice) as quantity,pl.Rate as rate,sum(distinct id.QuantityAsPerInvoice) * pl.Rate as value,if(POType = 'IMPORT' or POType = 'CAPITAL',sum(distinct pm.ExchangeRate),0) as exchange_rate,
$sql="select im.IGRNO as igrn,im.PONO as pono,pm.POType as potype,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,mm.UOM as UOM, sum(distinct id.QuantityAsPerInvoice) as quantity,pl.Rate as rate,sum(distinct id.QuantityAsPerInvoice) * pl.Rate as value,if(POType = 'IMPORT' or POType = 'CAPITAL',sum(distinct pm.ExchangeRate),0) as exchange_rate,
ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterSGST),sum(distinct st.After_SGST)),0) as sgst,
ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterCGST),sum(distinct st.After_CGST)),0) as cgst,
ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterIGST),sum(distinct st.After_IGST)),0) as igst,
@ -1468,7 +1468,7 @@ $sql.="group by pono,material_name,category,supplier_name";
function ireport_purchase_link($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d,$cat){
$sql="select im.IGRNO as igrn,im.PONO as pono,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,mm.UOM as UOM, sum(distinct id.QuantityAsPerInvoice) as quantity,pl.Rate as rate,sum(distinct id.QuantityAsPerInvoice) * pl.Rate as value,if(POType = 'IMPORT' or POType = 'CAPITAL',sum(distinct pm.ExchangeRate),0) as exchange_rate,
$sql="select im.IGRNO as igrn,im.PONO as pono,pm.POType as potype,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,mm.UOM as UOM, sum(distinct id.QuantityAsPerInvoice) as quantity,pl.Rate as rate,sum(distinct id.QuantityAsPerInvoice) * pl.Rate as value,if(POType = 'IMPORT' or POType = 'CAPITAL',sum(distinct pm.ExchangeRate),0) as exchange_rate,
ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterSGST),sum(distinct st.After_SGST)),0) as sgst,
ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterCGST),sum(distinct st.After_CGST)),0) as cgst,
ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterIGST),sum(distinct st.After_IGST)),0) as igst,

View File

@ -184,6 +184,18 @@ function purchaseorderListing($forwhat='')
return $query->result();
}
function getqtycheck($PONO)
{
$this->db->select('IsQualityChkReqired');
$this->db->from('T_PurchaseOrder_Master');
$this->db->where('PONO',$PONO);
$query = $this->db->get();
return $query->result();
}
/**
* This function is used to get the Raw Material information
* @return array $result : This is result of the query

0
application/views/Bonusreport.php Normal file → Executable file
View File

0
application/views/Bonusreportmonthwise.php Normal file → Executable file
View File

0
application/views/batchcard_stockdetails.php Normal file → Executable file
View File

0
application/views/dailyBatchCardListing.php Normal file → Executable file
View File

0
application/views/dailybatchcard.php Normal file → Executable file
View File

0
application/views/editDailyData.php Normal file → Executable file
View File

0
application/views/edit_hourly_batch_card.php Normal file → Executable file
View File

0
application/views/hourly_batch_card.php Normal file → Executable file
View File

0
application/views/hourlybatchcardlisting.php Normal file → Executable file
View File

View File

@ -1,7 +1,7 @@
<?php
// print_r($list);
// ?>
<CENTER><strong><h3 class="box-title">Siddharth Industries - Income & Expense List</h3></strong></CENTER>
<CENTER><strong><h3 class="box-title">Siddharth Industries - Receipt and Payment List</h3></strong></CENTER>
<div class="content-wrapper">

0
application/views/report_emp.php Normal file → Executable file
View File

0
uploads/QAD/6643071.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 3.6 MiB

After

Width:  |  Height:  |  Size: 3.6 MiB