Merge branch 'new_theme' of bitbucket.org:venbainformationtechnology/ria into new_theme

This commit is contained in:
aadhavan valli 2024-09-12 08:59:14 +05:30
commit d108028a19
4025 changed files with 1053 additions and 810 deletions

0
.htaccess Normal file → Executable file
View File

0
LICENSE Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
app/.htaccess Normal file → Executable file
View File

0
app/Common.php Normal file → Executable file
View File

0
app/Config/Autoload.php Normal file → Executable file
View File

0
app/Config/Boot/development.php Normal file → Executable file
View File

0
app/Config/Boot/production.php Normal file → Executable file
View File

0
app/Config/Boot/testing.php Normal file → Executable file
View File

0
app/Config/CURLRequest.php Normal file → Executable file
View File

0
app/Config/Cache.php Normal file → Executable file
View File

0
app/Config/Constants.php Normal file → Executable file
View File

0
app/Config/ContentSecurityPolicy.php Normal file → Executable file
View File

0
app/Config/Cookie.php Normal file → Executable file
View File

0
app/Config/Cors.php Normal file → Executable file
View File

0
app/Config/Database.php Normal file → Executable file
View File

0
app/Config/Email.php Normal file → Executable file
View File

0
app/Config/Encryption.php Normal file → Executable file
View File

0
app/Config/Events.php Normal file → Executable file
View File

0
app/Config/Exceptions.php Normal file → Executable file
View File

0
app/Config/Feature.php Normal file → Executable file
View File

0
app/Config/Filters.php Normal file → Executable file
View File

0
app/Config/ForeignCharacters.php Normal file → Executable file
View File

0
app/Config/Format.php Normal file → Executable file
View File

0
app/Config/Generators.php Normal file → Executable file
View File

0
app/Config/Honeypot.php Normal file → Executable file
View File

0
app/Config/Images.php Normal file → Executable file
View File

0
app/Config/Kint.php Normal file → Executable file
View File

0
app/Config/Logger.php Normal file → Executable file
View File

0
app/Config/Migrations.php Normal file → Executable file
View File

0
app/Config/Mimes.php Normal file → Executable file
View File

0
app/Config/Modules.php Normal file → Executable file
View File

0
app/Config/Optimize.php Normal file → Executable file
View File

0
app/Config/Pager.php Normal file → Executable file
View File

0
app/Config/Paths.php Normal file → Executable file
View File

0
app/Config/Publisher.php Normal file → Executable file
View File

0
app/Config/Routes.php Normal file → Executable file
View File

0
app/Config/Routing.php Normal file → Executable file
View File

0
app/Config/Security.php Normal file → Executable file
View File

0
app/Config/Services.php Normal file → Executable file
View File

0
app/Config/Session.php Normal file → Executable file
View File

0
app/Config/Toolbar.php Normal file → Executable file
View File

0
app/Config/UserAgents.php Normal file → Executable file
View File

0
app/Config/Validation.php Normal file → Executable file
View File

0
app/Config/View.php Normal file → Executable file
View File

0
app/Controllers/Amendmentpurchaseorder.php Normal file → Executable file
View File

0
app/Controllers/Assetdetails.php Normal file → Executable file
View File

0
app/Controllers/Batchcard.php Normal file → Executable file
View File

0
app/Controllers/Cashbook.php Normal file → Executable file
View File

34
app/Controllers/Companycontroller.php Normal file → Executable file
View File

@ -132,29 +132,31 @@ class Companycontroller extends BaseController
// {
$file=$this->request->getFile('files');
$PictureName = $this->request->getPost('Image');
$ModifyPictureName = $this->request->getPost('ModifyImage');
$Picture = "";
$file = $this->request->getFile('ModifyImage');
$ProfilePicPhoto = $this->request->getFile('photo');
if ($PictureName != '') {
if ($file !== null && $file->isValid() && !$file->hasMoved()) {
if ($ProfilePicPhoto !== null && $ProfilePicPhoto->isValid() && !$ProfilePicPhoto->hasMoved()) {
$path = ROOTPATH.'public/uploads/images/';
if(!is_dir($path)) { mkdir($path, 0777, true); }
$Picture = $file->getName();
$file->move($path,$Picture);
$Picture = $ProfilePicPhoto->getName();
$ProfilePicPhoto->move($path,$Picture);
}else{
$Picture = $PictureName;
}
}
else {
if ($file !== null && $file->isValid() && !$file->hasMoved()) {
if ($ProfilePicPhoto !== null && $ProfilePicPhoto->isValid() && !$ProfilePicPhoto->hasMoved()) {
$path = ROOTPATH.'public/uploads/images/';
if(!is_dir($path)) { mkdir($path, 0777, true); }
$Picture = $file->getName();
$file->move($path,$Picture);
$Picture = $ProfilePicPhoto->getName();
$ProfilePicPhoto->move($path,$Picture);
}
}
@ -202,11 +204,21 @@ class Companycontroller extends BaseController
$ID = $this->request->getPost('ID');
//$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, 'MSME' => $MSME , '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,'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, '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);
if (!empty($file) && $file->getSize()){
$fileName = $file->getName();
$myfile = array('CompID' => $CompID, 'filename' => $fileName, 'uploadedby' => $ID, 'filedescription' => $filedescription1, 'createdDate' => $createddt);
$result2 = $this->companydetailsmodel->filedetails($myfile);
}

0
app/Controllers/Configurationctrl.php Normal file → Executable file
View File

0
app/Controllers/CostCenter.php Normal file → Executable file
View File

0
app/Controllers/Department.php Normal file → Executable file
View File

0
app/Controllers/Emergencypurchaseorder.php Normal file → Executable file
View File

0
app/Controllers/Employeedetails.php Normal file → Executable file
View File

0
app/Controllers/Emppaydate.php Normal file → Executable file
View File

0
app/Controllers/Error.php Normal file → Executable file
View File

0
app/Controllers/Expense.php Normal file → Executable file
View File

0
app/Controllers/Inprocess.php Normal file → Executable file
View File

0
app/Controllers/Login.php Normal file → Executable file
View File

0
app/Controllers/MRIRcontroller.php Normal file → Executable file
View File

0
app/Controllers/Monthlypay.php Normal file → Executable file
View File

0
app/Controllers/Payslip.php Normal file → Executable file
View File

0
app/Controllers/Purchaseorder.php Normal file → Executable file
View File

0
app/Controllers/Quality.php Normal file → Executable file
View File

0
app/Controllers/Rawmaterialdetails.php Normal file → Executable file
View File

0
app/Controllers/Report.php Normal file → Executable file
View File

0
app/Controllers/Requisitionform.php Normal file → Executable file
View File

0
app/Controllers/Resinbatchcard.php Normal file → Executable file
View File

0
app/Controllers/Sales.php Normal file → Executable file
View File

0
app/Controllers/Servicepurchaseorder.php Normal file → Executable file
View File

0
app/Controllers/Storerequisition.php Normal file → Executable file
View File

0
app/Controllers/Storerequisitioncontroller.php Normal file → Executable file
View File

0
app/Controllers/Storerequisitionlist.php Normal file → Executable file
View File

0
app/Controllers/Storestatus.php Normal file → Executable file
View File

0
app/Controllers/Supplier.php Normal file → Executable file
View File

0
app/Controllers/User.php Normal file → Executable file
View File

0
app/Database/Migrations/.gitkeep Normal file → Executable file
View File

0
app/Database/Seeds/.gitkeep Normal file → Executable file
View File

0
app/Filters/.gitkeep Normal file → Executable file
View File

0
app/Helpers/.gitkeep Normal file → Executable file
View File

0
app/Language/.gitkeep Normal file → Executable file
View File

0
app/Language/en/Validation.php Normal file → Executable file
View File

0
app/Libraries/.gitkeep Normal file → Executable file
View File

0
app/Models/AppConfigModel.php Normal file → Executable file
View File

0
app/Models/Assetdetails_model.php Normal file → Executable file
View File

0
app/Models/Batchcard_model.php Normal file → Executable file
View File

0
app/Models/Cashbook_model.php Normal file → Executable file
View File

4
app/Models/Companydetails_model.php Normal file → Executable file
View File

@ -78,9 +78,9 @@ class Companydetails_model extends Model
function companylisting()
{
$builder = $this->db->table('t_company_details com')
->select('com.*,emp.firstname,pmt.PaymentTerms')
->select('com.*,emp.firstname,pmt.PaymentTerms,tbl.userId')
->join('t_paymentterms pmt', 'com.paymentID = pmt.PaymentID', 'left')
->join('tbl_users as tbl', ' com.createdby = tbl.userid', 'left')
->join('tbl_users as tbl', ' com.Createdby = tbl.userId', 'left')
->join('t_employee_details as emp', 'emp.empid=tbl.empid', 'left');
$query = $builder->get();
$result = $query->getResult();

0
app/Models/Config_model.php Normal file → Executable file
View File

0
app/Models/Costcenter_model.php Normal file → Executable file
View File

0
app/Models/Dashboard_model.php Normal file → Executable file
View File

0
app/Models/Department_model.php Normal file → Executable file
View File

0
app/Models/EmpFilesModel.php Normal file → Executable file
View File

0
app/Models/Employeedetails_model.php Normal file → Executable file
View File

0
app/Models/Emppaydate_model.php Normal file → Executable file
View File

0
app/Models/Expense_model.php Normal file → Executable file
View File

0
app/Models/Inprocess_model.php Normal file → Executable file
View File

0
app/Models/Ipattachment_model.php Normal file → Executable file
View File

0
app/Models/Ipinvoice_model.php Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More