diff --git a/app/Controllers/Sales.php b/app/Controllers/Sales.php index a7f60b98..970dafaf 100755 --- a/app/Controllers/Sales.php +++ b/app/Controllers/Sales.php @@ -33,7 +33,7 @@ class Sales extends BaseController $data['this_year_sales'] = $this->ipinvoice_model->thisYearSales(); $data['this_year_sales_trend'] = $this->ipinvoice_model->thisYearSalesTrend(); $data['get_today_invoices'] = $this->ipinvoice_model->getTodayInvoices(); - + // dd($data); // Define months from April to March $months = ['Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', 'Jan', 'Feb', 'Mar']; diff --git a/app/Models/Employeedetails_model.php b/app/Models/Employeedetails_model.php index 37fcc01a..07678ecb 100755 --- a/app/Models/Employeedetails_model.php +++ b/app/Models/Employeedetails_model.php @@ -19,7 +19,7 @@ class Employeedetails_model extends Model $builder = $this->db->table('t_employee_details Emp') ->select(' Emp.*,Dep.DepartmentName as DepartmentName') ->join('t_departmentdetails Dep', 'Emp.Departmentcode = Dep.DEPCode', 'left') - ->orderBy("Emp.EmpID", "desc"); + ->orderBy("Emp.EmpID", "asc"); $query = $builder->get(); diff --git a/app/Views/employeeListing.php b/app/Views/employeeListing.php index fde4a92b..10cd0b72 100755 --- a/app/Views/employeeListing.php +++ b/app/Views/employeeListing.php @@ -155,24 +155,7 @@ - +