diff --git a/app/Controllers/Companycontroller.php b/app/Controllers/Companycontroller.php
index 1b224fbb..b72ad125 100644
--- a/app/Controllers/Companycontroller.php
+++ b/app/Controllers/Companycontroller.php
@@ -163,6 +163,7 @@ class Companycontroller extends BaseController
$Exiseregistration = $this->request->getPost('Exiseregistration1');
$TIN = $this->request->getPost('TIN');
$PAN = $this->request->getPost('PAN');
+ $MSME = $this->request->getPost('MSME');
$GSTNO = $this->request->getPost('GSTNO');
$GSTRange = $this->request->getPost('GSTRange');
$CollectrateAddress = $this->request->getPost('CollectrateAddress');
@@ -198,7 +199,7 @@ class Companycontroller extends BaseController
//$createdDate=$this->request->getPost('createdDate');
//$Company = array('CompID'=>$CompID,'CompanyName'=>$CompanyName,'Address'=>$Address,'ContactNumber'=>$ContactNumber,'AlternateContactNumber'=>$AlternateContactNumber,'EmailAddress'=>$EmailAddress,'TIN'=>$TIN,'PAN'=>$PAN,'GSTNO'=>$GSTNO,'GSTRange'=>$GSTRange,'UANumber'=>$UANumber,'PaymentTerms'=>$Payment ,'PaymentDays'=>$PaymentDays ,'PayableAT'=>$PayableAT ,'Createdby'=>$createdby,'ProfilePic'=>$Picture,'Exiseregistration'=>$Exiseregistration,'CollectrateAddress'=>$CollectrateAddress,'FiscalYearStartOn'=>$financialstart,'FiscalYearEndsOn'=> $financialend);
- $Company = array('CompID' => $CompID, 'CompanyName' => $CompanyName, 'Address' => $Address, 'ContactNumber' => $ContactNumber, 'AlternateContactNumber' => $AlternateContactNumber, 'EmailAddress' => $EmailAddress, 'TIN' => $TIN, 'PAN' => $PAN, 'GSTNO' => $GSTNO, 'GSTRange' => $GSTRange, 'UANumber' => $UANumber, 'Createdby' => $createdby, 'ProfilePic' => $Picture, 'Exiseregistration' => $Exiseregistration, 'CollectrateAddress' => $CollectrateAddress, 'FiscalYearStartOn' => $financialstart, 'FiscalYearEndsOn' => $financialend, 'paymentID' => $PaymentId, 'companyWebsite' => $companywebsite, 'UpdatedBY' => $updatedby, 'Updatedon' => $updateddt);
+ $Company = array('CompID' => $CompID, 'CompanyName' => $CompanyName, 'Address' => $Address, 'ContactNumber' => $ContactNumber, 'AlternateContactNumber' => $AlternateContactNumber, 'EmailAddress' => $EmailAddress, 'TIN' => $TIN, 'PAN' => $PAN, 'GSTNO' => $GSTNO, 'GSTRange' => $GSTRange, 'UANumber' => $UANumber, 'MSME' => $MSME , 'Createdby' => $createdby, 'ProfilePic' => $Picture, 'Exiseregistration' => $Exiseregistration, 'CollectrateAddress' => $CollectrateAddress, 'FiscalYearStartOn' => $financialstart, 'FiscalYearEndsOn' => $financialend, 'paymentID' => $PaymentId, 'companyWebsite' => $companywebsite, 'UpdatedBY' => $updatedby, 'Updatedon' => $updateddt);
if (!empty($file)) {
$myfile = array('CompID' => $CompID, 'filename' => $file, 'ID' => $ID, 'filedescription' => $filedescription1, 'createdDate' => $createddt);
diff --git a/app/Controllers/Purchaseorder.php b/app/Controllers/Purchaseorder.php
index 92249aa7..148a30e6 100644
--- a/app/Controllers/Purchaseorder.php
+++ b/app/Controllers/Purchaseorder.php
@@ -369,11 +369,12 @@ class Purchaseorder extends BaseController
// $html = view('pdf_view', $data);
// $mpdf->WriteHTML($html); // Use WriteHTML() method to add body content
$html = view('po_pdf', $data);
+ // echo $html; die;
$mpdf->WriteHTML($html); // Use WriteHTML() method to add body content
// Set HTML footer
// $HTMLFooter = view('includes/pdffooter', $data);
- // $mpdf->setFooter($HTMLFooter . "Page {PAGENO} of {nb}");
+ // $mpdf->setFooter('' . "Page {PAGENO} of {nb}");
// Output PDF
$mpdf->Output('POReport' . $PONO . '.pdf', 'D');
diff --git a/app/Helpers/cias_helper.php b/app/Helpers/cias_helper.php
index 4dc17523..0df54a71 100755
--- a/app/Helpers/cias_helper.php
+++ b/app/Helpers/cias_helper.php
@@ -54,7 +54,7 @@ if (!function_exists('generateCopyrightNotice')) {
}
}
}
-function format_currency($amount)
+function number_alignment($amount)
{
if ($amount) {
@@ -130,4 +130,4 @@ if (!function_exists('trans')) {
return $lang_string;
}
-}
+}
\ No newline at end of file
diff --git a/app/Views/companyview.php b/app/Views/companyview.php
index f23f6365..23454014 100644
--- a/app/Views/companyview.php
+++ b/app/Views/companyview.php
@@ -37,6 +37,7 @@ $bankname='';
$bankifsc='';
$bankaddress='';
$bank_isactive = 1 ;
+$MSME = '';
//print_r($userRecords);die();
if(!empty($userRecords))
{
@@ -57,6 +58,7 @@ if(!empty($userRecords))
$UANumber = $uf->UANumber;
$PaymentTerms = $uf->PaymentTerms ;
$PaymentId = $uf->paymentID;
+ $MSME = $uf->MSME;
//$PaymentDays = $uf->PaymentDays ;
//$PayableAT = $uf->PayableAT ;
$Createdby = $uf->Createdby;
@@ -629,31 +631,36 @@ function ValidateUA() {