reports list
This commit is contained in:
parent
3502f549b0
commit
385fb1d7fe
@ -47,6 +47,7 @@ $route['404_override'] = 'error';
|
||||
$route['loginMe'] = 'login/loginMe';
|
||||
$route['dashboard'] = 'user';
|
||||
$route['logout'] = 'user/logout';
|
||||
$route['reports']='reportlistcontroller';
|
||||
|
||||
//<-----------Application listing Routes------------>
|
||||
|
||||
@ -223,6 +224,9 @@ $route['Report_year_wise'] = "report/year_wise";
|
||||
$route['Report_supplier'] = "report/purchase_supplier";
|
||||
$route['Report_consolidate'] = "report/consolidate";
|
||||
$route['Report_cumulative'] = "report/cumulative";
|
||||
$route['cashbookreport']="report/cashbook";
|
||||
$route['cashbookmonthlyexpenses']="report/monthexpenses";
|
||||
$route['cashbookyearlyexpenses']="report/yearexpenses";
|
||||
|
||||
// Company Information
|
||||
$route['companyview'] = 'companycontroller/companyview';
|
||||
|
||||
15
application/controllers/monthlypay.php
Normal file → Executable file
15
application/controllers/monthlypay.php
Normal file → Executable file
@ -3,11 +3,11 @@
|
||||
require APPPATH . '/libraries/BaseController.php';
|
||||
|
||||
/**
|
||||
* Class : monthlypay (Monthly Payment Details - Controller)
|
||||
* Class : Cost Center (Cost Center Controller)
|
||||
* User Class to control all user related operations.
|
||||
* @author : Venba Info Tech -
|
||||
* @author : Venba Info Tech - Saravana kumar
|
||||
* @version : 1.1
|
||||
* @since :18 November 2017
|
||||
* @since : 18 November 2017
|
||||
*/
|
||||
class monthlypay extends BaseController
|
||||
{
|
||||
@ -29,7 +29,7 @@ class monthlypay extends BaseController
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$this->global['pageTitle'] = 'Resico: Monthly Pay Details';
|
||||
$this->global['pageTitle'] = 'Resico : Monthly Pay Details';
|
||||
|
||||
$this->loadviews('monthlyListing',$this->global);
|
||||
}
|
||||
@ -47,6 +47,7 @@ class monthlypay extends BaseController
|
||||
function deletePublicHoliday()
|
||||
{
|
||||
$d = $this->input->post('param1');
|
||||
|
||||
$res = $this->monthlypay_model->deleteHoliday($d);
|
||||
if($res == 1){
|
||||
echo "Deleted Successfully..!";
|
||||
@ -62,6 +63,7 @@ class monthlypay extends BaseController
|
||||
foreach($phpdata as $d)
|
||||
{
|
||||
|
||||
if(!empty($d->Holiday_Name)){
|
||||
|
||||
$hname = $d->Holiday_Name;
|
||||
$hdate = date_format(date_create($d->Date),'Y-m-d');
|
||||
@ -79,7 +81,7 @@ class monthlypay extends BaseController
|
||||
$count = $this->monthlypay_model->saveHolidays($tostore,'u');
|
||||
$total = $total + $count;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
echo $total . "-Holiday(s) Saved Successfully..!";
|
||||
@ -88,6 +90,7 @@ class monthlypay extends BaseController
|
||||
|
||||
function attendanceLoad()
|
||||
{
|
||||
|
||||
$month['month'] = '';
|
||||
$monthdays = 0;
|
||||
$begin = 0;
|
||||
@ -117,6 +120,8 @@ class monthlypay extends BaseController
|
||||
$begin = new DateTime($year.'-'.$month.'-01');
|
||||
$end = new DateTime($year.'-'.$month.'-'.$monthdays);
|
||||
}
|
||||
|
||||
|
||||
$sundayarray =array();
|
||||
while ($begin <= $end)
|
||||
{
|
||||
|
||||
76
application/controllers/payslip.php
Normal file → Executable file
76
application/controllers/payslip.php
Normal file → Executable file
@ -5,9 +5,9 @@ require APPPATH . '/third_party/mpdf/mpdf.php';
|
||||
|
||||
|
||||
/**
|
||||
* Class : payslip (Pay Slip - Controller)
|
||||
* Class : Employee (Employee Controller)
|
||||
* User Class to control all user related operations.
|
||||
* @author : Venba Info Tech - Gandhimathi
|
||||
* @author : Venba Info Tech
|
||||
* @version : 1.1
|
||||
* @since : 18 November 2017
|
||||
*/
|
||||
@ -63,7 +63,7 @@ function phpAlert($msg) {
|
||||
$y = substr($payon,3);
|
||||
$month = $monthsoptions[$m]."-".$y;
|
||||
$excel = $this->input->post('excel');
|
||||
$HTML="";
|
||||
$HTML = '';
|
||||
//echo $excel;
|
||||
// if(empty($excel))
|
||||
// {
|
||||
@ -92,13 +92,12 @@ function phpAlert($msg) {
|
||||
}
|
||||
$totamtwords = $this->convertNumber($totalamt);
|
||||
$data['bankdetails']=$this->payroll_model->getBankInfo($bank);
|
||||
$data['companyinformation']=$this->payroll_model->getCompanyInfo();
|
||||
|
||||
$data['Totalamount']=$totalamt;
|
||||
$data['Totalamtwords']=$totamtwords;
|
||||
$data['PayMonth']=$month;
|
||||
$filename = 'Bank Report for'.$payon.'pdf' ;
|
||||
$HTML = $this->load->View("bankreportprint",$data,true);
|
||||
$HTML = $this->load->view("bankreportprint",$data,true);
|
||||
}
|
||||
if($this->input->post('PF_Report'))
|
||||
{
|
||||
@ -126,7 +125,7 @@ function phpAlert($msg) {
|
||||
$data['Totalamtwords']=$totamtwords;
|
||||
if(empty($excel)){
|
||||
$filename = 'PF Report for'.$payon.'pdf' ;
|
||||
$HTML = $this->load->View("pfreportprint",$data,true);
|
||||
$HTML = $this->load->view("pfreportprint",$data,true);
|
||||
// echo "PDF PART 1";
|
||||
}
|
||||
else{
|
||||
@ -260,7 +259,7 @@ function phpAlert($msg) {
|
||||
|
||||
if(empty($excel)){
|
||||
$filename = 'ESI Report for'.$payon.'pdf';
|
||||
$HTML = $this->load->View("esireportprint",$data,true);
|
||||
$HTML = $this->load->view("esireportprint",$data,true);
|
||||
// echo "PDF PART 1";
|
||||
}
|
||||
else{
|
||||
@ -355,9 +354,9 @@ function phpAlert($msg) {
|
||||
|
||||
|
||||
if(empty($excel)){
|
||||
// $php = $this->output->get_output();
|
||||
// $php = $this->output->get_output();
|
||||
|
||||
// // Load library
|
||||
// Load library
|
||||
// $this->load->library('dompdf_gen');
|
||||
|
||||
// require_once(APPPATH .'third_party/dompdf/dompdf_config.inc.php');
|
||||
@ -376,7 +375,8 @@ function phpAlert($msg) {
|
||||
// $font, 6, array(0,0,0));
|
||||
|
||||
// $dompdf->stream($filename);
|
||||
// //echo "PDF PART 2";
|
||||
//echo "PDF PART 2";
|
||||
|
||||
$mpdf=new mPDF('utf-8','A4-P',9, 12,12, 10, 82, 38, 4, 6);
|
||||
$mpdf->SetDisplayMode('fullpage');
|
||||
$mpdf->SetHTMLHeader($HtmlHeading);
|
||||
@ -389,7 +389,6 @@ function phpAlert($msg) {
|
||||
$mpdf->WriteHTML($HTML);
|
||||
$mpdf->Output("".$filename.'.pdf','I',$php);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -437,24 +436,14 @@ function phpAlert($msg) {
|
||||
|
||||
if(empty($this->input->post('finyear')))
|
||||
{
|
||||
// echo "DEFAULT LOAD";
|
||||
//echo "DEFAULT LOAD";
|
||||
$year = date("Y");
|
||||
$month = date("m");
|
||||
$currentyear = '';
|
||||
$nxtyear = '';
|
||||
$source = $this->input->post('source');
|
||||
$data['selsource'] = 'Company';
|
||||
|
||||
// if($month >= 4)
|
||||
// {
|
||||
// $currentyear = $year;
|
||||
// $nxtyear = ($year+1);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// $currentyear =($year-1);
|
||||
// $nxtyear = $year;
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
@ -774,7 +763,7 @@ function getEmployee()
|
||||
*/
|
||||
public function PrintPdf()
|
||||
{
|
||||
|
||||
$html="";
|
||||
$All = $this->input->post('All');
|
||||
if($All == '')
|
||||
{
|
||||
@ -796,25 +785,32 @@ function getEmployee()
|
||||
{
|
||||
|
||||
$result = $this->payroll_model->getEmpAll($Payon);
|
||||
//print_r($result);
|
||||
//echo "-----------------------------------------";
|
||||
// print_r($result);
|
||||
// die();
|
||||
|
||||
if($result > 0 )
|
||||
{
|
||||
for($i=0;$i <count($result) ;$i++ )
|
||||
for($i=0; $i<count($result) ;$i++ )
|
||||
{
|
||||
|
||||
$EmpID = $result[$i]['EmpId'];
|
||||
|
||||
//print_r(
|
||||
//$EmpID );
|
||||
// die();
|
||||
$Data['PayDetails'] = $this->payroll_model->GetPayslipdata($Payon,$EmpID);
|
||||
-
|
||||
//
|
||||
|
||||
$totalsalary =$Data['PayDetails'][0]->LessAdvance;
|
||||
$totalsalaryinwords = $this->convertNumber(round($totalsalary));
|
||||
$Data['amtinwords']=$totalsalaryinwords;
|
||||
// print_r ($Data);
|
||||
// exit();
|
||||
//$Data['Count'] = $i;
|
||||
|
||||
$html.= $this->load->View("payslipgenerateprint", $Data ,true);
|
||||
|
||||
$html.=$this->load->view("payslipgenerateprint", $Data,true );
|
||||
|
||||
// print_r ($Data);
|
||||
// exit();
|
||||
}
|
||||
|
||||
}
|
||||
@ -828,8 +824,9 @@ function getEmployee()
|
||||
$totalsalary =$Data['PayDetails'][0]->LessAdvance;
|
||||
$totalsalaryinwords = $this->convertNumber(round($totalsalary));
|
||||
$Data['amtinwords']=$totalsalaryinwords;
|
||||
|
||||
$html = $this->load->View("payslipgenerateprint", $Data,true );
|
||||
//print_r ($Data);
|
||||
//exit();
|
||||
$html=$this->load->view("payslipgenerateprint", $Data,true );
|
||||
|
||||
}
|
||||
|
||||
@ -837,7 +834,7 @@ function getEmployee()
|
||||
// $php = $this->output->get_output();
|
||||
|
||||
// // Load library
|
||||
// $this->load->library('dompdf_gen');
|
||||
// $this->load->library('dompdf_gen');
|
||||
|
||||
// if($All != '')
|
||||
// {
|
||||
@ -859,12 +856,13 @@ function getEmployee()
|
||||
// $canvas = $dompdf->get_canvas();
|
||||
// $font = Font_Metrics::get_font("helvetica", "bold");
|
||||
|
||||
// // the same call as in my previous example
|
||||
// // the same call as in my previous example
|
||||
// $canvas->page_text(72, 18, "Page: {PAGE_NUM} of {PAGE_COUNT}",
|
||||
// $font, 6, array(0,0,0));
|
||||
|
||||
// $dompdf->stream($filename);
|
||||
// }
|
||||
|
||||
$mpdf=new mPDF('utf-8','A4-P',10, 10,10, 10, 10, 24, 4, 6);
|
||||
$mpdf->SetDisplayMode('fullpage');
|
||||
$mpdf->SetHTMLHeader($HtmlHeading);
|
||||
@ -875,9 +873,9 @@ function getEmployee()
|
||||
$mpdf->setAutoBottomMargin = 'stretch';
|
||||
$mpdf->WriteHTML($html);
|
||||
$mpdf->Output("".$filename.'.pdf','I',$php);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function updatePayslip()
|
||||
{
|
||||
@ -1063,8 +1061,8 @@ function getEmployee()
|
||||
{
|
||||
$loanRecovered = strtoupper($loanRecovered);
|
||||
}
|
||||
$Incentive =$sheet->getCell('H'.$x)->getValue();
|
||||
$Other_Deductions =$sheet->getCell('I'.$x)->getValue();
|
||||
$Incentive =$sheet->getCell('G'.$x)->getValue();
|
||||
$Other_Deductions =$sheet->getCell('H'.$x)->getValue();
|
||||
|
||||
if( $EmpId != '')
|
||||
{
|
||||
|
||||
133
application/controllers/report.php
Normal file → Executable file
133
application/controllers/report.php
Normal file → Executable file
@ -62,29 +62,40 @@ class report extends BaseController
|
||||
public function TotalOrd()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Total Orders Reports -';
|
||||
$this->global['pageTitle'] = 'Total Orders Reports';
|
||||
|
||||
|
||||
|
||||
$data['Total']=$this->dahsboard_Model->report_total();
|
||||
|
||||
|
||||
$this->loadviews("Report_totalorders",$this->global,$data, NULL);
|
||||
|
||||
if ($this->input->post('financialyear')) {
|
||||
$ab = $this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['Total']=$this->dahsboard_Model->report_total($fa,$aa);
|
||||
}
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$this->loadviews("Report_totalorders",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function ccr()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Cost Center Reports -';
|
||||
$this->global['pageTitle'] = 'Cost Center Reports -';
|
||||
|
||||
if ($this->input->post('financialyear')) {
|
||||
$ab = $this->input->post('financialyear');
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['ccrpt']=$this->dahsboard_Model->report_ccr($fa,$aa);
|
||||
|
||||
}
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
|
||||
$this->loadviews("Report_costcenter",$this->global,$data, NULL);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
$data['ccrpt']=$this->dahsboard_Model->report_ccr();
|
||||
|
||||
|
||||
$this->loadviews("Report_costcenter",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function MM_Supplier()
|
||||
{
|
||||
|
||||
@ -336,15 +347,93 @@ class report extends BaseController
|
||||
$this->loadviews("Report_cumulative_day",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function cashbook()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Cashbook - Cashbook Reports - ';
|
||||
|
||||
|
||||
$data['getTotalServicePoCount'] = $this->dahsboard_Model->getTotalServicePoCount();
|
||||
$data['getTotalimportPoCount'] = $this->dahsboard_Model->getTotalimportPoCount();
|
||||
$data['getTotalcapitalPoCount'] = $this->dahsboard_Model->getTotalcapitalPoCount();
|
||||
$data['getTotalrevenuePoCount'] = $this->dahsboard_Model->getTotalrevenuePoCount();
|
||||
$data['cashbook']=$this->dahsboard_Model->cashbook();
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
|
||||
|
||||
$income="INCOME";
|
||||
$expense="EXPENSE";
|
||||
$data['monthlywiseincome']=$this->dahsboard_Model->monthwise_data($income);
|
||||
$data['monthlywiseexpense']=$this->dahsboard_Model->monthwise_data($expense);
|
||||
$data['todayincome']=$this->dahsboard_Model->today_data($income);
|
||||
$data['todayexpense']=$this->dahsboard_Model->today_data($expense);
|
||||
$data['yearincome']=$this->dahsboard_Model->yearwise_data($income);
|
||||
$data['yearexpense']=$this->dahsboard_Model->yearwise_data($expense);
|
||||
|
||||
$this->loadviews("Reportcashbook",$this->global,$data, NULL);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
public function monthexpenses()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Cashbook - monthly expenses Reports - ';
|
||||
|
||||
|
||||
|
||||
$data['monthlyreport']=$this->dahsboard_Model->monthexpensereport();
|
||||
// $data['monthlyincreport']=$this->dahsboard_Model->monthincomereport();
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
$this->loadviews("cashbookmonthlyexpenses",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function yearexpenses()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Cashbook - yearly expenses Reports - ';
|
||||
|
||||
|
||||
//$data['yearlyincreport']=$this->dahsboard_Model->yearincomereport();
|
||||
$data['yearlyreport']=$this->dahsboard_Model->yearexpensereport();
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
|
||||
$this->loadviews("cashbookyearlyexpenses",$this->global,$data, NULL);
|
||||
|
||||
}
|
||||
public function cashbookdepartment()
|
||||
{
|
||||
$sid=$_GET['sid'];
|
||||
$this->global['pageTitle'] = 'Cashbook - department - ';
|
||||
$data['departmentwise']=$this->dahsboard_Model->departmentwise($sid);
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
//print_r($data['departmentwise']);
|
||||
$this->loadviews("cashbookmonthlydep",$this->global,$data, NULL);
|
||||
}
|
||||
//for cashbook menu link//
|
||||
public function cashbookmonthmenu()
|
||||
{
|
||||
|
||||
$this->global['pageTitle'] = 'Cashbook - department - ';
|
||||
$data['monthlymenupayments']=$this->dahsboard_Model->monthlypayments();
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
//print_r($data['departmentwise']);
|
||||
$this->loadviews("cashbookmonthmenu",$this->global,$data, NULL);
|
||||
}
|
||||
public function yearmonthwise()
|
||||
{
|
||||
$sid=$_GET['sid'];
|
||||
$this->global['pageTitle'] = 'Cashbook - yearmonthwise - ';
|
||||
$data['yearmonthwise']=$this->dahsboard_Model->yearmonthwise($sid);
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
//print_r($data['departmentwise']);
|
||||
$this->loadviews("cashbookyearmonthwise",$this->global,$data, NULL);
|
||||
}
|
||||
public function Viewtoday()
|
||||
{
|
||||
$this->global['pageTitle'] = 'Cashbook - viewtoday ';
|
||||
$data['tdy']=$this->dahsboard_Model->today();
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
$this->loadviews("cashbooktoday",$this->global,$data, NULL);
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
39
application/controllers/reportlistcontroller.php
Normal file
39
application/controllers/reportlistcontroller.php
Normal file
@ -0,0 +1,39 @@
|
||||
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
require APPPATH . '/libraries/BaseController.php';
|
||||
|
||||
/**
|
||||
* Class : User (UserController)
|
||||
* User Class to control all user related operations.
|
||||
* @author : Kishor Mali
|
||||
* @version : 1.1
|
||||
* @since : 15 November 2016
|
||||
*/
|
||||
class reportlistcontroller extends BaseController
|
||||
{
|
||||
/**
|
||||
* This is default constructor of the class
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->load->model('user_model');
|
||||
$this->load->library('form_validation');
|
||||
|
||||
$this->isLoggedIn();
|
||||
}
|
||||
|
||||
/**
|
||||
* This function used to load the first screen of the user
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$this->global['pageTitle'] = 'Reports list ';
|
||||
$this->loadViews("reportslink", $this->global , NULL);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@ -2,6 +2,9 @@
|
||||
|
||||
class dahsboard_Model extends CI_Model
|
||||
{
|
||||
|
||||
|
||||
|
||||
function totalpurchaseorder(){
|
||||
|
||||
|
||||
@ -376,7 +379,7 @@ group by PONO,POType,Dept_Name";
|
||||
|
||||
}
|
||||
|
||||
function report_total(){
|
||||
function report_total($fa,$aa){
|
||||
|
||||
|
||||
$sql="select Dept_Details.DepartmentName As Dept_Name,
|
||||
@ -388,11 +391,13 @@ group by PONO,POType,Dept_Name";
|
||||
SUM(CASE WHEN Mast.Status = 'ST026' THEN 1 ELSE 0 END) AS Released,
|
||||
SUM(CASE WHEN Mast.Status = 'ST027' THEN 1 ELSE 0 END) AS IGR_Created,
|
||||
SUM(CASE WHEN Mast.Status = 'ST044' THEN 1 ELSE 0 END) AS MRIR_Approved,
|
||||
SUM(CASE WHEN Mast.Status = 'ST045' THEN 1 ELSE 0 END) AS MRIR_Rejected
|
||||
SUM(CASE WHEN Mast.Status = 'ST045' THEN 1 ELSE 0 END) AS MRIR_Rejected,
|
||||
SUM(CASE WHEN Mast.Status = 'ST056' THEN 1 ELSE 0 END) AS Special_po
|
||||
from T_PO_Detail Mast
|
||||
JOIN T_Requestion_Master as Req on Req.ReqNo=Mast.ReqNo
|
||||
JOIN T_Employee_Details as Emp_Det on Emp_Det.EmpID=Req.RequestedBy
|
||||
JOIN T_DepartmentDetails Dept_Details on Dept_Details.DEPCode=Emp_Det.Departmentcode
|
||||
where Mast.PODate >= '".$fa."-04-01' and Mast.PODate <= '".$aa."-03-31'
|
||||
group by Dept_Name";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
@ -401,7 +406,7 @@ group by Dept_Name";
|
||||
|
||||
}
|
||||
|
||||
function report_ccr(){
|
||||
function report_ccr($fa,$aa){
|
||||
|
||||
|
||||
$sql="SELECT Cost_Center_Budget.CostCenterCode as Cost_Center_Code, CostCenterName as Cost_Center_Name,group_concat(distinct Dept_Details.DepartmentName) as Dept_Name,Cost_Center_Budget.BudgetType as BudgetType,Cost_Center_Budget.BudgetYear as BudgetYear,
|
||||
@ -435,7 +440,7 @@ JOIN T_CostCenter_Master Cost_Mast on Cost_Center_Budget.CostCenterCode=Cost_Mas
|
||||
JOIN T_CostCenter_Departments CostCentDept on CostCentDept.CostCenterCode=Cost_Mast.CostCenterCode
|
||||
JOIN T_DepartmentDetails Dept_Details on Dept_Details.DEPCode= CostCentDept.DEPCode
|
||||
left JOIN T_Service_Tax st on st.LineItemNo = PO_Line_Item.LineItemNo
|
||||
WHERE Cost_Center_Budget.BudgetType = po.POType
|
||||
WHERE Cost_Center_Budget.BudgetType = po.POType and date(po.CreatedDate) >= '".$fa."-04-01' and date(po.CreatedDate) <= '".$aa."-03-31'
|
||||
group by
|
||||
Cost_Center_Budget.CostCenterCode,Cost_Center_Budget.BudgetYear,Cost_Center_Budget.BudgetType
|
||||
order by Cost_Center_Budget.CostCenterCode";
|
||||
@ -466,7 +471,7 @@ group by po.SupplierID,pl.MaterialCode";
|
||||
function report_MMItem(){
|
||||
|
||||
|
||||
$sql="SELECT MaterialCode,MaterialName,UOM,Category FROM T_MaterialMaster group by MaterialCode";
|
||||
$sql="SELECT MaterialCode,MaterialName,UOM,Category,HSNCODE FROM T_MaterialMaster group by MaterialCode";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
|
||||
@ -493,14 +498,36 @@ order by monthname(matv.CreatedDate)";
|
||||
function report_purchase($cname,$prod,$fa,$aa,$m,$frm,$t){
|
||||
|
||||
|
||||
$sql="SELECT pm.PONO as pono,date_format(pm.CreatedDate,'%d-%m-%Y') as created_date, TIME_FORMAT(pm.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,sd.SupplierName as supplier_name,ifnull(sum(pl.Quantity),0) as quantity,ifnull(sum(pl.Rate),0) as rate,round(ifnull(sum(pl.Quantity * pl.Rate),0),2) as value,ifnull(sum(st.After_SGST),0) as sgst,ifnull(sum(st.After_CGST),0) as cgst,ifnull(sum(st.After_IGST),0) as igst,round((ifnull(sum(pl.Quantity * pl.Rate),0) + ifnull(sum(st.After_SGST),0) + ifnull(sum(st.After_CGST),0) + ifnull(sum(st.After_IGST),0)),2) as total
|
||||
FROM T_PurchaseOrder_Master pm
|
||||
$sql="SELECT pm.PONO as pono,date_format(pm.CreatedDate,'%d-%m-%Y') as created_date,
|
||||
TIME_FORMAT(pm.CreatedDate,'%l:%i %p') as created_time,
|
||||
mm.MaterialName as material_name,sd.SupplierName as supplier_name,
|
||||
ifnull(sum(pl.Quantity),0) as quantity,mm.UOM as UOM,ifnull(sum(pl.Rate),0) as rate,
|
||||
round(ifnull(sum(pl.Quantity * pl.Rate),0),2) as value,
|
||||
if(POType = 'IMPORT' or POType = 'CAPITAL',sum(pm.ExchangeRate),0) as exchange_rate,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterSGST),sum(st.After_SGST)),0) as sgst,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterCGST),sum(st.After_CGST)),0) as cgst,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterIGST),sum(st.After_IGST)),0) as igst,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterDiscount),sum(st.Afterdiscountval)),0) as discount,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterFreightValue),sum(st.AfterFreightValue)),0) as freight,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterPackagingValue),0),0) as Package,
|
||||
round((
|
||||
if(POType = 'IMPORT',sum(distinct pm.ExchangeRate * (pl.Quantity * pl.Rate)),
|
||||
if(POType = 'CAPITAL' && CapitalRange = 0,sum(distinct pm.ExchangeRate * (pl.Quantity * pl.Rate)),
|
||||
ifnull(sum(pl.Quantity * pl.Rate),0)))
|
||||
+ ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterSGST),sum(distinct st.After_SGST)),0)
|
||||
+ ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterCGST),sum(distinct st.After_CGST)),0)
|
||||
+ ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterIGST),sum(distinct st.After_IGST)),0)
|
||||
+ ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterFreightValue),sum(distinct st.AfterFreightValue)),0)
|
||||
+ ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterPackagingValue),0),0)
|
||||
- ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterDiscount),sum(distinct st.Afterdiscountval)),0)),2) as total
|
||||
FROM T_PurchaseOrder_Master pm
|
||||
left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
left join T_Service_Tax st on st.LineItemNo = pl.LineItemNo
|
||||
left join T_Revenue_Tax rt on rt.LineItemNo = pl.LineItemNo
|
||||
where
|
||||
pm.PONO>'0' ";
|
||||
pm.Status != 'ST030' ";
|
||||
|
||||
if ($cname!= ''){
|
||||
|
||||
@ -545,14 +572,36 @@ $sql.="group by pono,material_name,supplier_name";
|
||||
function report_purchase_link($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d){
|
||||
|
||||
|
||||
$sql="SELECT sd.SupplierID as sid,mm.MaterialCode as mid,pm.PONO as pono,date_format(pm.CreatedDate,'%d-%m-%Y') as created_date, TIME_FORMAT(pm.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,sd.SupplierName as supplier_name,ifnull(sum(pl.Quantity),0) as quantity,ifnull(sum(pl.Rate),0) as rate,round(ifnull(sum(pl.Quantity * pl.Rate),0),2) as value,ifnull(sum(st.After_SGST),0) as sgst,ifnull(sum(st.After_CGST),0) as cgst,ifnull(sum(st.After_IGST),0) as igst,round((ifnull(sum(pl.Quantity * pl.Rate),0) + ifnull(sum(st.After_SGST),0) + ifnull(sum(st.After_CGST),0) + ifnull(sum(st.After_IGST),0)),2) as total
|
||||
FROM T_PurchaseOrder_Master pm
|
||||
$sql="SELECT pm.PONO as pono,date_format(pm.CreatedDate,'%d-%m-%Y') as created_date,
|
||||
TIME_FORMAT(pm.CreatedDate,'%l:%i %p') as created_time,
|
||||
mm.MaterialName as material_name,sd.SupplierName as supplier_name,
|
||||
ifnull(sum(pl.Quantity),0) as quantity,mm.UOM as UOM,ifnull(sum(pl.Rate),0) as rate,
|
||||
round(ifnull(sum(pl.Quantity * pl.Rate),0),2) as value,
|
||||
if(POType = 'IMPORT' or POType = 'CAPITAL',sum(pm.ExchangeRate),0) as exchange_rate,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterSGST),sum(st.After_SGST)),0) as sgst,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterCGST),sum(st.After_CGST)),0) as cgst,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterIGST),sum(st.After_IGST)),0) as igst,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterDiscount),sum(st.Afterdiscountval)),0) as discount,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterFreightValue),sum(st.AfterFreightValue)),0) as freight,
|
||||
ifnull(if(POType = 'REVENUE',sum(rt.AfterPackagingValue),0),0) as Package,
|
||||
round((
|
||||
if(POType = 'IMPORT',sum(distinct pm.ExchangeRate * (pl.Quantity * pl.Rate)),
|
||||
if(POType = 'CAPITAL' && CapitalRange = 0,sum(distinct pm.ExchangeRate * (pl.Quantity * pl.Rate)),
|
||||
ifnull(sum(pl.Quantity * pl.Rate),0)))
|
||||
+ ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterSGST),sum(distinct st.After_SGST)),0)
|
||||
+ ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterCGST),sum(distinct st.After_CGST)),0)
|
||||
+ ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterIGST),sum(distinct st.After_IGST)),0)
|
||||
+ ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterFreightValue),sum(distinct st.AfterFreightValue)),0)
|
||||
+ ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterPackagingValue),0),0)
|
||||
- ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterDiscount),sum(distinct st.Afterdiscountval)),0)),2) as total
|
||||
FROM T_PurchaseOrder_Master pm
|
||||
left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
left join T_Service_Tax st on st.LineItemNo = pl.LineItemNo
|
||||
left join T_Revenue_Tax rt on rt.LineItemNo = pl.LineItemNo
|
||||
where
|
||||
pm.PONO>'0' ";
|
||||
pm.Status != 'ST030' ";
|
||||
|
||||
if ($cname!= ''){
|
||||
|
||||
@ -633,6 +682,7 @@ left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
left join T_Service_Tax st on st.LineItemNo = pl.LineItemNo
|
||||
where pm.Status != 'ST030'
|
||||
group by month(created_date)";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
@ -660,7 +710,7 @@ left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
left join T_Service_Tax st on st.LineItemNo = pl.LineItemNo
|
||||
where sd.SupplierName is not null and month(pm.CreatedDate)= ? and year(pm.CreatedDate) = ?
|
||||
where pm.Status != 'ST030' and sd.SupplierName is not null and month(pm.CreatedDate)= ? and year(pm.CreatedDate) = ?
|
||||
group by supplier_name,material_name";
|
||||
$query = $this->db->query($sql,array($month,$year));
|
||||
return $query->result();
|
||||
@ -673,7 +723,7 @@ left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
left join T_Service_Tax st on st.LineItemNo = pl.LineItemNo
|
||||
where sd.SupplierName is not null and date(pm.CreatedDate) >= '$a-04-01' and date(pm.CreatedDate) <= '$b-03-31'
|
||||
where pm.Status != 'ST030' and sd.SupplierName is not null and date(pm.CreatedDate) >= '$a-04-01' and date(pm.CreatedDate) <= '$b-03-31'
|
||||
group by supplier_name,material_name";
|
||||
$query = $this->db->query($sql,array());
|
||||
return $query->result();
|
||||
@ -682,13 +732,48 @@ group by supplier_name,material_name";
|
||||
function report_supplier($cname,$fa,$aa,$m,$frm,$t){
|
||||
|
||||
|
||||
$sql="SELECT sd.SupplierID as sid,sd.SupplierName as supplier_name,count(pm.PONO) as counts,ifnull(sum(pl.Quantity),0) as quantity,round(ifnull(sum(pl.Quantity * pl.Rate),0),2) as value,round(sum(ifnull((pl.Quantity * pl.Rate),0) + ifnull(st.After_SGST,0) + ifnull(st.After_CGST,0) + ifnull(st.After_IGST,0)),2) as total
|
||||
$sql="SELECT sd.SupplierID as sid,sd.SupplierName as supplier_name,count(pm.PONO) as counts,ifnull(sum(pl.Quantity),0) as quantity,round(ifnull(sum(pl.Quantity * pl.Rate),0),2) as value,
|
||||
|
||||
case pm.POType
|
||||
when 'IMPORT'
|
||||
then ifnull((sum(distinct(pl.Quantity * pl.Rate) * pm.ExchangeRate)
|
||||
|
||||
),0)
|
||||
when 'CAPITAL'
|
||||
then sum(distinct if(pm.CapitalRange=0,(( pl.Quantity * pl.Rate) * pm.ExchangeRate),( pl.Quantity * pl.Rate)
|
||||
- st.Afterdiscountval))
|
||||
+ ifnull(sum(distinct st.After_SGST),0)
|
||||
+ ifnull(sum(distinct st.After_CGST),0)
|
||||
+ ifnull(sum(distinct st.After_IGST),0)
|
||||
+ ifnull(sum(distinct st.AfterFreightValue),0)
|
||||
|
||||
|
||||
when 'SERVICE'
|
||||
then ifnull(sum(distinct pl.Quantity * pl.Rate),0)
|
||||
+ ifnull(sum(distinct st.After_SGST),0)
|
||||
+ ifnull(sum(distinct st.After_CGST),0)
|
||||
+ ifnull(sum(distinct st.After_IGST),0)
|
||||
+ ifnull(sum(distinct st.AfterFreightValue),0)
|
||||
- ifnull(sum(distinct st.Afterdiscountval),0)
|
||||
|
||||
when 'REVENUE'
|
||||
then ifnull(sum(distinct pl.Quantity * pl.Rate),0)
|
||||
- ifnull(sum(distinct rt.AfterDiscount),0)
|
||||
+ ifnull(sum(distinct rt.AfterSGST),0)
|
||||
+ ifnull(sum(distinct rt.AfterCGST),0)
|
||||
+ ifnull(sum(distinct rt.AfterIGST),0)
|
||||
+ ifnull(sum(distinct rt.AfterFreightValue),0)
|
||||
+ ifnull(sum(distinct rt.AfterPackagingValue),0)
|
||||
|
||||
end
|
||||
as total
|
||||
FROM T_PurchaseOrder_Master pm
|
||||
join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
left join T_Service_Tax st on st.LineItemNo = pl.LineItemNo
|
||||
left join T_Revenue_Tax rt on rt.LineItemNo = pl.LineItemNo
|
||||
where
|
||||
pm.PONO>'0' ";
|
||||
pm.Status != 'ST030' ";
|
||||
|
||||
if ($cname!= ''){
|
||||
|
||||
@ -756,7 +841,8 @@ sum(pl.Quantity * pl.Rate) as vtotal
|
||||
FROM T_PurchaseOrder_Master pm
|
||||
join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID ";
|
||||
join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
where pm.Status != 'ST030' ";
|
||||
|
||||
if ($cname!= ''){
|
||||
|
||||
@ -786,7 +872,7 @@ FROM T_PurchaseOrder_Master pm
|
||||
left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
where sd.SupplierName is not null and
|
||||
where pm.Status != 'ST030' and sd.SupplierName is not null and
|
||||
case
|
||||
when (month(pm.CreatedDate) >=4) then
|
||||
(YEAR(pm.CreatedDate) = YEAR(CURRENT_DATE) and MONTH(pm.CreatedDate) >= 4 ) or ( YEAR(pm.CreatedDate) = YEAR(CURRENT_DATE)+1 and MONTH(pm.CreatedDate) <= 3 )
|
||||
@ -800,7 +886,7 @@ FROM T_PurchaseOrder_Master pm
|
||||
left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
where sd.SupplierName is not null and
|
||||
where pm.Status != 'ST030' and sd.SupplierName is not null and
|
||||
month(pm.CreatedDate) = month(current_date())
|
||||
group by supplier_name,material_name
|
||||
) as month on month.supplier_name=year.supplier_name and month.material_name=year.material_name
|
||||
@ -810,7 +896,7 @@ FROM T_PurchaseOrder_Master pm
|
||||
left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
where sd.SupplierName is not null and
|
||||
where pm.Status != 'ST030' and sd.SupplierName is not null and
|
||||
date(pm.CreatedDate) = current_date()
|
||||
group by supplier_name,material_name
|
||||
) as today on today.supplier_name=month.supplier_name and today.material_name=month.material_name
|
||||
@ -826,7 +912,7 @@ FROM T_PurchaseOrder_Master pm
|
||||
left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
where sd.SupplierName is not null and month(pm.CreatedDate) = month(current_date()) and sd.SupplierID = '".$sup."' and mm.MaterialCode = '".$mat."'
|
||||
where pm.Status != 'ST030' and sd.SupplierName is not null and month(pm.CreatedDate) = month(current_date()) and sd.SupplierID = '".$sup."' and mm.MaterialCode = '".$mat."'
|
||||
group by supplier_name,material_name";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
@ -838,7 +924,7 @@ FROM T_PurchaseOrder_Master pm
|
||||
left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
where sd.SupplierName is not null and
|
||||
where pm.Status != 'ST030' and sd.SupplierName is not null and
|
||||
case
|
||||
when (month(pm.CreatedDate) >=4) then
|
||||
(YEAR(pm.CreatedDate) = YEAR(CURRENT_DATE) and MONTH(pm.CreatedDate) >= 4 ) or ( YEAR(pm.CreatedDate) = YEAR(CURRENT_DATE)+1 and MONTH(pm.CreatedDate) <= 3 )
|
||||
@ -850,7 +936,129 @@ group by supplier_name,material_name";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
}
|
||||
function report_cum_day($sup=null,$mat=null){
|
||||
|
||||
$sql="SELECT sd.SupplierID as sid,mm.MaterialCode as mid,sd.SupplierName as supplier_name,ifnull(mm.MaterialName,'-') as material_name,IF(pl.Quantity IS NULL or pl.Quantity = '', 0, sum(pl.Quantity)) as tquantity,ifnull(sum(pl.Quantity * pl.Rate),0) as ttotal
|
||||
FROM T_PurchaseOrder_Master pm
|
||||
left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
where pm.Status != 'ST030' and sd.SupplierName is not null and
|
||||
date(pm.CreatedDate) = current_date() and sd.SupplierID = '".$sup."' and mm.MaterialCode = '".$mat."'
|
||||
group by supplier_name,material_name";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
}
|
||||
function cashbook()
|
||||
{
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,tinc.total,tinc.towhom,tinc.description,tinc.account_code,ac.name FROM t_income_expense tinc join t_accountcode ac on ac.code=tinc.account_code ";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
}
|
||||
|
||||
function monthexpensereport()
|
||||
{
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,sum(tinc.total)as total,tinc.towhom,tinc.description,tinc.account_code, ac.name FROM t_income_expense as tinc join t_accountcode ac on ac.code=tinc.account_code where tinc.type='EXPENSE' and month(tinc.date)= month(current_date()) group by account_code order by total desc limit 10 ";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
|
||||
function yearexpensereport()
|
||||
{
|
||||
$sql="SELECT date_format(date,'%d-%m-%Y')as date,type,sum(total)as total,towhom,description,account_code,monthname(date)as month FROM t_income_expense where type='EXPENSE' and year(date)= year(current_date()) group by month order by total desc limit 10 ";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
function today_data($value='')
|
||||
{
|
||||
$sql="SELECT type,Sum(total) as todaydata FROM t_income_expense WHERE type = ? AND DATE(date) = CURRENT_DATE";
|
||||
$query = $this->db->query($sql,array($value));
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
|
||||
function monthwise_data($value='')
|
||||
{
|
||||
$sql="SELECT type,Sum(total) as monthlydata FROM t_income_expense WHERE type = ? AND MONTH(date) = MONTH(curdate())";
|
||||
$query = $this->db->query($sql,array($value));
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
function yearwise_data($value='')
|
||||
{
|
||||
|
||||
$sql="SELECT type,sum(total) as yearlydata from t_income_expense
|
||||
where
|
||||
type = ? and ((YEAR(date) = YEAR(CURRENT_DATE) and MONTH(date) >= 4) or (YEAR(date) = YEAR(CURRENT_DATE)+1 and MONTH(date) <= 3))";
|
||||
$query = $this->db->query($sql,array($value));
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
function departmentwise($sid='')
|
||||
{
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,tinc.total,tinc.towhom,.tinc.description, ac.name FROM
|
||||
t_income_expense tinc join t_accountcode ac on ac.code=tinc.account_code
|
||||
WHERE account_code = ?";
|
||||
$query = $this->db->query($sql,array($sid));
|
||||
//print_r($this->db->last_query());
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
function yearmonthwise($sid='')
|
||||
{
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,sum(tinc.total)as total,tinc.description,tinc.towhom,tinc.account_code,ac.name FROM t_income_expense tinc
|
||||
join t_accountcode ac on ac.code=tinc.account_code
|
||||
WHERE monthname(date) = ? group by account_code";
|
||||
$query = $this->db->query($sql,array($sid));
|
||||
//print_r($this->db->last_query());
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
//for dashboard graph in cashbook//
|
||||
function gettoptotal(){
|
||||
$i=1;
|
||||
|
||||
while($i<=12){
|
||||
$sql="SELECT sum(total) as tot FROM t_income_expense where month(date)= $i";
|
||||
// $sql="SELECT sum(total)as ttl,concat(sum(total),'-',account_code)as atotal FROM t_income_expense where month(date)= $i
|
||||
// group by account_code order by ttl desc limit 4";
|
||||
|
||||
$query = $this->db->query($sql);
|
||||
//print_r($this->db->last_query());
|
||||
//return $query->result();
|
||||
$array_result[]=$query->result();
|
||||
$i++;
|
||||
|
||||
}
|
||||
|
||||
return $array_result;
|
||||
|
||||
}
|
||||
function INRSymbol()
|
||||
{
|
||||
$sql='select FontCode2000 from T_Currency_Details where Currency_Code="INR"';
|
||||
$query=$this->db->query($sql);
|
||||
return $query->result();
|
||||
}
|
||||
function today()
|
||||
{
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,tinc.total,tinc.towhom,tinc.description,tinc.account_code,tac.name FROM t_income_expense tinc
|
||||
LEFT JOIN t_accountcode tac ON tac.code = tinc.account_code
|
||||
WHERE DATE(date) = CURRENT_DATE";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
}
|
||||
//for menu link in monthly payments//
|
||||
function monthlypayments()
|
||||
{
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,tinc.total,tinc.towhom,.tinc.description, ac.name FROM t_income_expense tinc join t_accountcode ac on ac.code=tinc.account_code WHERE MONTH(date) = MONTH(curdate()) group by account_code";
|
||||
$query = $this->db->query($sql);
|
||||
//print_r($this->db->last_query());
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
|
||||
function totalcapitalpo ()
|
||||
{
|
||||
@ -862,27 +1070,6 @@ function totalcapitalpo ()
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function report_cum_day($sup=null,$mat=null){
|
||||
|
||||
$sql="SELECT sd.SupplierID as sid,mm.MaterialCode as mid,sd.SupplierName as supplier_name,ifnull(mm.MaterialName,'-') as material_name,IF(pl.Quantity IS NULL or pl.Quantity = '', 0, sum(pl.Quantity)) as tquantity,ifnull(sum(pl.Quantity * pl.Rate),0) as ttotal
|
||||
FROM T_PurchaseOrder_Master pm
|
||||
left join T_PurchaseOrder_LineItem pl on pl.PONO = pm.PONO
|
||||
left join T_MaterialMaster mm on mm.MaterialCode = pl.MaterialCode
|
||||
left join T_SupplierDetailsN sd on sd.SupplierID = pm.SupplierID
|
||||
where sd.SupplierName is not null and
|
||||
date(pm.CreatedDate) = current_date() and sd.SupplierID = '".$sup."' and mm.MaterialCode = '".$mat."'
|
||||
group by supplier_name,material_name";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@ -13,10 +13,11 @@ class monthlypay_model extends CI_Model
|
||||
function monthlyListing($current="")
|
||||
{
|
||||
//echo $current;
|
||||
$this->db->select('T_Monthly_Pay_Inputs.*,T_Employee_Details.FirstName,T_Employee_Details.LastName,T_Payroll.Key');
|
||||
$this->db->select('T_Monthly_Pay_Inputs.*,T_Employee_Details.FirstName,T_Employee_Details.LastName,T_Payroll.Key,T_Loan_Master.Loan_ID');
|
||||
$this->db->from('T_Monthly_Pay_Inputs');
|
||||
$this->db->join('T_Employee_Details','T_Monthly_Pay_Inputs.EmpID=T_Employee_Details.EmpID');
|
||||
$this->db->join('T_Payroll','T_Monthly_Pay_Inputs.EmpID=T_Payroll.EmpID','left');
|
||||
$this->db->join('T_Loan_Master','T_Monthly_Pay_Inputs.EmpID=T_Loan_Master.EmpID','left');
|
||||
$this->db->where('Month_Year',$current);
|
||||
|
||||
$query = $this->db->get();
|
||||
@ -47,9 +48,10 @@ class monthlypay_model extends CI_Model
|
||||
//echo $current;
|
||||
$current = date_create($current);
|
||||
$current = date_format($current,'Y-m-d');
|
||||
$sql = "select T_Emp_Pay_Data.EmpID,T_Employee_Details.FirstName,T_Employee_Details.LastName,T_Employee_Details.DateofJoining,T_Attendance.Days_Worked as Days_worked,T_Attendance.Absent as LOP_Days,T_Attendance.Paid_Leave as Paid_leave,T_Attendance.Total_OTHrs as OT_Hrs_Worked,T_Attendance.NoofDays from T_Emp_Pay_Data
|
||||
$sql = "select T_Emp_Pay_Data.EmpID,T_Employee_Details.FirstName,T_Employee_Details.LastName,T_Employee_Details.DateofJoining,T_Attendance.Days_Worked as Days_worked,T_Attendance.Absent as LOP_Days,T_Attendance.Paid_Leave as Paid_leave,T_Attendance.Total_OTHrs as OT_Hrs_Worked,T_Attendance.NoofDays,T_Loan_Master.Loan_ID from T_Emp_Pay_Data
|
||||
left join T_Employee_Details on T_Employee_Details.EmpID = T_Emp_Pay_Data.EmpID
|
||||
left join T_Attendance on T_Emp_Pay_Data.EmpID = T_Attendance.EmpID
|
||||
left join T_Loan_Master on T_Emp_Pay_Data.EmpID = T_Loan_Master.EmpID and T_Loan_Master.is_Active = 1
|
||||
where T_Employee_Details.DateofJoining <= CURRENT_DATE
|
||||
and month(T_Attendance.Month_Year) = month(?)";
|
||||
|
||||
|
||||
8
application/models/payroll_model.php
Normal file → Executable file
8
application/models/payroll_model.php
Normal file → Executable file
@ -193,14 +193,6 @@ class Payroll_model extends CI_Model
|
||||
}
|
||||
$query = $this->db->get();
|
||||
return $query->result();
|
||||
}
|
||||
function getCompanyInfo()
|
||||
{
|
||||
$this->db->select('*');
|
||||
$this->db->from('T_Company_Details');
|
||||
$query = $this->db->get();
|
||||
$result = $query->result();
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getReportforBank($bank,$payon)
|
||||
|
||||
135
application/views/Report_purchase.php
Normal file → Executable file
135
application/views/Report_purchase.php
Normal file → Executable file
@ -6,6 +6,15 @@ if(!empty($mms))
|
||||
|
||||
}
|
||||
?>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
|
||||
$("#client_name").select2();
|
||||
$("#item_name").select2();
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.3.1/css/buttons.dataTables.min.css">
|
||||
<style>
|
||||
|
||||
@ -25,8 +34,8 @@ if(!empty($mms))
|
||||
|
||||
}
|
||||
.btn-success {
|
||||
background-color: #5d0411;
|
||||
border-color: #5d0411;
|
||||
background-color: #3c8dbc;
|
||||
border-color: #3c8dbc;
|
||||
}
|
||||
|
||||
|
||||
@ -37,7 +46,7 @@ if(!empty($mms))
|
||||
<!-- TABLE: LATEST ORDERS -->
|
||||
<div class="box box-info">
|
||||
<div class="box-header with-border">
|
||||
<center><h3 class="box-title"><p style="color:#5d0411"><b>Report - Purchase</b></p></h3></center>
|
||||
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Report - Purchase</b></p></h3></center>
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
|
||||
@ -68,11 +77,11 @@ if(!empty($mms))
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label for="client_name">
|
||||
<?php echo'Product'; ?>
|
||||
<?php echo'Material'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<select class="form-control" id="item_name" name="item_name">
|
||||
<option value="">Select Product</option>
|
||||
<option value="">Select Material</option>
|
||||
<?php
|
||||
|
||||
|
||||
@ -91,7 +100,7 @@ if(!empty($mms))
|
||||
<br><br><br><br>
|
||||
<div class="col-md-2">
|
||||
<label for="to_date">
|
||||
<?php echo 'year'; ?>
|
||||
<?php echo 'Year'; ?>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<select class="form-control" id="financialyear" name="financialyear">
|
||||
@ -174,21 +183,26 @@ if(!empty($mms))
|
||||
|
||||
<div class="box-body">
|
||||
<div>
|
||||
<table class="table table-bordered table-hover" id="cc" style="font-size:12px;">
|
||||
<table class="table table-bordered table-hover" id="cc" style="font-size:14px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align:center">PO NO</th>
|
||||
<th style="text-align:center">Date</th>
|
||||
<th style="text-align:center">Time</th>
|
||||
<th style="text-align:center">Material</th>
|
||||
<th style="text-align:center">Supplier</th>
|
||||
<th style="text-align:center">Material Name</th>
|
||||
<th style="text-align:center">Supplier Name</th>
|
||||
<th style="text-align:center">Quantity</th>
|
||||
<th style="text-align:center">Rate</th>
|
||||
<th style="text-align:center">Value</th>
|
||||
<th style="text-align:center">SGST</th>
|
||||
<th style="text-align:center">CGST</th>
|
||||
<th style="text-align:center">IGST</th>
|
||||
<th style="text-align:center">Total</th>
|
||||
<th style="text-align:center">UOM</th>
|
||||
<th style="text-align:center">Rate (<i class="fa fa-rupee "></i>)</th>
|
||||
<th style="text-align:center">Value (<i class="fa fa-rupee " ></i>)</th>
|
||||
<th style="text-align:center">Exchange Rate</th>
|
||||
<th style="text-align:center">SGST (<i class="fa fa-rupee " ></i>)</th>
|
||||
<th style="text-align:center">CGST (<i class="fa fa-rupee " ></i>)</th>
|
||||
<th style="text-align:center">IGST (<i class="fa fa-rupee " ></i>)</th>
|
||||
<th style="text-align:center">Discount (<i class="fa fa-rupee " ></i>)</th>
|
||||
<th style="text-align:center">Freight (<i class="fa fa-rupee " ></i>)</th>
|
||||
<th style="text-align:center">Package (<i class="fa fa-rupee " ></i>)</th>
|
||||
<th style="text-align:center">Total (<i class="fa fa-rupee "></i>)</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
@ -197,9 +211,13 @@ if(!empty($mms))
|
||||
$tot_qty = 0;
|
||||
$tot_rate = 0;
|
||||
$tot_value = 0;
|
||||
$tot_ex = 0;
|
||||
$tot_CGST = 0;
|
||||
$tot_SCGT = 0.0000;
|
||||
$tot_ICGT = 0;
|
||||
$tot_dis = 0;
|
||||
$tot_frg = 0;
|
||||
$tot_pac = 0;
|
||||
$tot_tot = 0;
|
||||
|
||||
foreach($purchase as $rel)
|
||||
@ -215,23 +233,37 @@ if(!empty($mms))
|
||||
$tot_qty= $tot_qty + round($rel->quantity);
|
||||
echo round($rel->quantity);?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_rate= $tot_rate + round($rel->rate);
|
||||
echo round($rel->rate);?></span></td>
|
||||
echo $rel->UOM;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_value= $tot_value + round($rel->value);
|
||||
echo round($rel->value);?></span></td>
|
||||
$tot_rate= $tot_rate + $rel->rate;
|
||||
echo $rel->rate;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_SCGT= $tot_SCGT + round($rel->sgst);
|
||||
echo round($rel->sgst);?></span></td>
|
||||
$tot_value= $tot_value + $rel->value;
|
||||
echo $rel->value;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_CGST= $tot_CGST + round($rel->cgst);
|
||||
echo round($rel->cgst);?></span></td>
|
||||
$tot_ex= $tot_ex + $rel->exchange_rate;
|
||||
echo $rel->exchange_rate;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_ICGT= $tot_ICGT + round($rel->igst);
|
||||
echo round($rel->igst);?></span></td>
|
||||
$tot_SCGT= $tot_SCGT + $rel->sgst;
|
||||
echo $rel->sgst;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_tot= $tot_tot + round($rel->total);
|
||||
echo round($rel->total);?></span></td>
|
||||
$tot_CGST= $tot_CGST + $rel->cgst;
|
||||
echo $rel->cgst;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_ICGT= $tot_ICGT + $rel->igst;
|
||||
echo $rel->igst;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_dis= $tot_dis + $rel->discount;
|
||||
echo $rel->discount;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_frg= $tot_frg + $rel->freight;
|
||||
echo $rel->freight;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_pac= $tot_pac + $rel->Package;
|
||||
echo $rel->Package;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
$tot_tot= $tot_tot + round($rel->total,2);
|
||||
echo round($rel->total,2);?></span></td>
|
||||
|
||||
|
||||
|
||||
@ -265,6 +297,15 @@ if(!empty($mms))
|
||||
|
||||
}
|
||||
?>
|
||||
</strong>
|
||||
</td>
|
||||
<td class="amount"><strong>
|
||||
<?php
|
||||
{
|
||||
//echo format_currency($tot_rate,2,'.','');
|
||||
|
||||
}
|
||||
?>
|
||||
</strong>
|
||||
</td>
|
||||
<td class="amount" style="text-align:right">
|
||||
@ -276,6 +317,16 @@ if(!empty($mms))
|
||||
}
|
||||
?>
|
||||
</strong>
|
||||
</td>
|
||||
<td class="amount" style="text-align:right">
|
||||
<strong>
|
||||
<?php
|
||||
{
|
||||
echo $tot_ex;
|
||||
|
||||
}
|
||||
?>
|
||||
</strong>
|
||||
</td>
|
||||
<td class="amount" style="text-align:right">
|
||||
<strong>
|
||||
@ -307,6 +358,36 @@ if(!empty($mms))
|
||||
?>
|
||||
</strong>
|
||||
</td>
|
||||
<td class="amount" style="text-align:right">
|
||||
<strong>
|
||||
<?php
|
||||
{
|
||||
echo $tot_dis;
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
</strong></td>
|
||||
<td class="amount" style="text-align:right">
|
||||
<strong>
|
||||
<?php
|
||||
{
|
||||
echo $tot_frg;
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
</strong></td>
|
||||
<td class="amount" style="text-align:right">
|
||||
<strong>
|
||||
<?php
|
||||
{
|
||||
echo $tot_pac;
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
</strong></td>
|
||||
<td class="amount" style="text-align:right">
|
||||
<strong>
|
||||
<?php
|
||||
|
||||
462
application/views/Reportcashbook.php
Normal file
462
application/views/Reportcashbook.php
Normal file
@ -0,0 +1,462 @@
|
||||
|
||||
|
||||
<?php
|
||||
$today_in='';
|
||||
$today_ex='';
|
||||
$month_in='';
|
||||
$month_ex='';
|
||||
$year_in='';
|
||||
$year_ex='';
|
||||
|
||||
if(!empty($todayincome))
|
||||
{
|
||||
foreach ($todayincome as $ti)
|
||||
{
|
||||
$today_in=$ti->todaydata;
|
||||
}}
|
||||
|
||||
if(!empty($todayexpense))
|
||||
{
|
||||
foreach ($todayexpense as $te)
|
||||
{
|
||||
$today_ex=$te->todaydata;
|
||||
}}
|
||||
|
||||
if(!empty($monthlywiseincome))
|
||||
{
|
||||
foreach ($monthlywiseincome as $mi)
|
||||
{
|
||||
$month_in = $mi->monthlydata;
|
||||
}}
|
||||
|
||||
if(!empty($monthlywiseexpense))
|
||||
{
|
||||
foreach ($monthlywiseexpense as $me)
|
||||
{
|
||||
$month_ex = $me->monthlydata;
|
||||
}}
|
||||
if(!empty($yearexpense))
|
||||
{
|
||||
foreach ($yearexpense as $ye)
|
||||
{
|
||||
$year_ex=$ye->yearlydata;
|
||||
}}
|
||||
|
||||
if(!empty($yearincome))
|
||||
{
|
||||
foreach ($yearincome as $yi)
|
||||
{
|
||||
$year_in = $yi->yearlydata;
|
||||
}}
|
||||
|
||||
$inrsymbol='';
|
||||
if(!empty($Indiancurrency))
|
||||
{
|
||||
foreach ($Indiancurrency as $inr)
|
||||
{
|
||||
$inrsymbol = $inr->FontCode2000;
|
||||
}}
|
||||
|
||||
|
||||
?>
|
||||
<head>
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.3.1/css/buttons.dataTables.min.css">
|
||||
|
||||
<link href="<?php echo base_url();?>assets/plugins/morris/morris.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
</head>
|
||||
<script>
|
||||
/*!
|
||||
DataTables Bootstrap 3 integration
|
||||
©2011-2014 SpryMedia Ltd - datatables.net/license
|
||||
*/
|
||||
(function(l,q){var e=function(b,c){b.extend(!0,c.defaults,{dom:"<'row'<'col-sm-9'l><'col-sm-3'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-9'i><'col-sm-3'p>>",renderer:"bootstrap"});b.extend(c.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm"});c.ext.renderer.pageButton.bootstrap=function(g,e,r,s,i,m){var t=new c.Api(g),u=g.oClasses,j=g.oLanguage.oPaginate,d,f,n=0,p=function(c,e){var k,h,o,a,l=function(a){a.preventDefault();
|
||||
b(a.currentTarget).hasClass("disabled")||t.page(a.data.action).draw(!1)};k=0;for(h=e.length;k<h;k++)if(a=e[k],b.isArray(a))p(c,a);else{f=d="";switch(a){case "ellipsis":d="…";f="disabled";break;case "first":d=j.sFirst;f=a+(0<i?"":" disabled");break;case "previous":d=j.sPrevious;f=a+(0<i?"":" disabled");break;case "next":d=j.sNext;f=a+(i<m-1?"":" disabled");break;case "last":d=j.sLast;f=a+(i<m-1?"":" disabled");break;default:d=a+1,f=i===a?"active":""}d&&(o=b("<li>",{"class":u.sPageButton+" "+
|
||||
f,id:0===r&&"string"===typeof a?g.sTableId+"_"+a:null}).append(b("<a>",{href:"#","aria-controls":g.sTableId,"data-dt-idx":n,tabindex:g.iTabIndex}).html(d)).appendTo(c),g.oApi._fnBindAction(o,{action:a},l),n++)}},h;try{h=b(q.activeElement).data("dt-idx")}catch(l){}p(b(e).empty().html('<ul class="pagination"/>').children("ul"),s);h&&b(e).find("[data-dt-idx="+h+"]").focus()};c.TableTools&&(b.extend(!0,c.TableTools.classes,{container:"DTTT btn-group",buttons:{normal:"btn btn-default",disabled:"disabled"},
|
||||
collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:"disabled"}},print:{info:"DTTT_print_info"},select:{row:"active"}}),b.extend(!0,c.TableTools.DEFAULTS.oTags,{collection:{container:"ul",button:"li",liner:"a"}}))};"function"===typeof define&&define.amd?define(["jquery","datatables"],e):"object"===typeof exports?e(require("jquery"),require("datatables")):jQuery&&e(jQuery,jQuery.fn.dataTable)})(window,document);
|
||||
|
||||
</script>
|
||||
<style>
|
||||
|
||||
.dataTables_filter {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
.dataTables_paginate {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
div.dt-buttons {
|
||||
position: relative;
|
||||
float: right;
|
||||
|
||||
}
|
||||
table{
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
border-collapse: collapse;
|
||||
table-layout: fixed;
|
||||
word-wrap:break-word;
|
||||
|
||||
}
|
||||
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
margin: 0 auto;
|
||||
|
||||
}
|
||||
|
||||
div.container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.dataTables_paginate {
|
||||
margin-top: -25px;
|
||||
position: absolute;
|
||||
text-align: right;
|
||||
left: -20%;
|
||||
}
|
||||
|
||||
#container {
|
||||
min-width: 310px;
|
||||
max-width: 800px;
|
||||
height: 400px;
|
||||
margin: 0 auto
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
<div>
|
||||
<section class="content-header">
|
||||
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<!-- Info boxes -->
|
||||
<center>
|
||||
<div class="col-md-12">
|
||||
|
||||
<!-- fix for small devices only -->
|
||||
<div class="clearfix visible-sm-block"></div>
|
||||
<div class="col-md-4">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-red" style="height: 90px;padding:25px;"><i class="fa fa-hourglass-end"></i></span>
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-number"><a href="<?php echo base_url().'report/Viewtoday' ?>" data-toggle="tooltip" title="Click here to View Today's Payment Details"><?php echo "Today's Payments" ?></a></span>
|
||||
|
||||
<span class="info-box-text text-center"><?php echo "Receipt: ".$inrsymbol.number_format($today_in,2,'.',''); ?> </span>
|
||||
<span class="info-box-text text-center"><?php echo "Payments : ".$inrsymbol.number_format($today_ex,2,'.',''); ?> </span>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- fix for small devices only -->
|
||||
<div class="clearfix visible-sm-block"></div>
|
||||
<div class="col-md-4">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-aqua" style="height: 90px;padding:25px;"><i<i class="fa fa-spinner"></span>
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-number"><a href="<?php echo base_url().'report/monthexpenses' ?>" data-toggle="tooltip" title="Click here to View Monthly Payments details"><?php echo "Monthly Payments" ?></a></span>
|
||||
<span class="info-box-text text-center"><?php echo "Receipt :".$inrsymbol.number_format($month_in,2,'.',''); ?></span>
|
||||
<span class="info-box-text text-center"><?php echo "Payments :".$inrsymbol.number_format($month_ex,2,'.',''); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- fix for small devices only -->
|
||||
<div class="clearfix visible-sm-block"></div>
|
||||
<div class="col-md-4">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-green" style="height: 90px;padding:25;"><i class="fa fa-industry" style="padding: 5px;"></i></span>
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-number"><?php echo "year Payments" ?></span>
|
||||
<span class="info-box-text text-center"><?php echo "Receipt :".$inrsymbol.number_format($year_in,2,'.',''); ?></span>
|
||||
<span class="info-box-text text-center"><?php echo "Payments :".$inrsymbol.number_format($year_ex,2,'.',''); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
|
||||
</div>
|
||||
|
||||
<!--<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div id="container"></div>
|
||||
|
||||
</div>
|
||||
</div>-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Left col -->
|
||||
<div class="col-md-12">
|
||||
<!-- TABLE: LATEST ORDERS -->
|
||||
<div class="box box-info">
|
||||
<!--<div class="box-header with-border">-->
|
||||
<!--<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Cashbook Reports</b></p></h3></center>-->
|
||||
<!--</div>-->
|
||||
<!-- /.box-header -->
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="box-body">
|
||||
<div>
|
||||
<table class="table table-bordered table-hover" id="req" style="font-size:13px;">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Date</th>
|
||||
<!--<th>Account Code</th>-->
|
||||
<th>Account Name</th>
|
||||
<th>Paid To</th>
|
||||
<th>Paid Type</th>
|
||||
<th style="text-align:right;"> Amount <?php echo '('.$inrsymbol.')' ?></th>
|
||||
|
||||
<th>Description</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if(!empty($cashbook)){
|
||||
foreach($cashbook as $cash)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
|
||||
<td><span><?php echo $cash->date?></span></td>
|
||||
<td align="left"><span><?php echo $cash->name?></span></td>
|
||||
<td align="left"><span><?php echo $cash->towhom?></span></td>
|
||||
<td align="left"><span><?php echo $cash->type?></span></td>
|
||||
<td align="right"><span><?php echo number_format($cash->total,2,'.','');?></span></td>
|
||||
<td align="left"><span><?php echo $cash->description?></span></td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/dataTables.buttons.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.flash.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.print.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
|
||||
<script src="https://code.highcharts.com/highcharts.js"></script>
|
||||
<script src="https://code.highcharts.com/modules/series-label.js"></script>
|
||||
<script src="https://code.highcharts.com/modules/exporting.js"></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
table = $('#req').DataTable( {
|
||||
"dom": "<'row'<'col-md-6'l><'col-md-6'Bf>>" +
|
||||
"<'row'<'col-md-6'><'col-md-6'>>" +
|
||||
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
||||
buttons: [
|
||||
{
|
||||
extend: 'collection',
|
||||
text: 'Export Cashbook Reports',
|
||||
buttons: [
|
||||
'excel'
|
||||
]
|
||||
}
|
||||
]
|
||||
} );
|
||||
} );
|
||||
</script>
|
||||
<script src="<?php echo base_url();?>assets/plugins/chartjs/Chart.min.js"></script>
|
||||
<script src="<?php echo base_url(); ?>assets/plugins/knob/jquery.knob.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
/* ChartJS
|
||||
* -------
|
||||
* Here we will create a few charts using ChartJS
|
||||
*/
|
||||
|
||||
//-----------------------
|
||||
//- MONTHLY SALES CHART -
|
||||
//-----------------------
|
||||
|
||||
// Get context with jQuery - using jQuery's .get() method.
|
||||
|
||||
|
||||
/* ChartJS
|
||||
* -------
|
||||
* Here we will create a few charts using ChartJS
|
||||
*/
|
||||
|
||||
//-----------------------
|
||||
//- MONTHLY SALES CHART -
|
||||
//-----------------------
|
||||
|
||||
// Get context with jQuery - using jQuery's .get() method.
|
||||
var salesChartCanvas = $("#salesChart").get(0).getContext("2d");
|
||||
// This will get the first returned node in the jQuery collection.
|
||||
|
||||
var salesChart = new Chart(salesChartCanvas);
|
||||
|
||||
|
||||
var service = <?php echo JSON_encode($gettoptotal1)?>;
|
||||
|
||||
//var service = <?php echo JSON_encode($getTotalServicePoCount)?>;
|
||||
// alert(service+'hai');
|
||||
//print_r($gettoptotal1);
|
||||
var Import = <?php echo JSON_encode($getTotalimportPoCount)?>;
|
||||
var capital = <?php echo JSON_encode($getTotalcapitalPoCount)?>;
|
||||
var revenue = <?php echo JSON_encode($getTotalrevenuePoCount)?>;
|
||||
|
||||
//alert(service.PONO);
|
||||
var serviceValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (service,function(idx,obj){
|
||||
serviceValues.push(obj[0].tot);
|
||||
});
|
||||
var ImportValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (Import,function(idx,obj){
|
||||
ImportValues.push(obj[0].totalImport);
|
||||
});
|
||||
var capitalValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (capital,function(idx,obj){
|
||||
capitalValues.push(obj[0].totalcapital);
|
||||
});
|
||||
var revenueValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (revenue,function(idx,obj){
|
||||
revenueValues.push(obj[0].totalrevenue);
|
||||
});
|
||||
|
||||
|
||||
//alert(arr.total2);
|
||||
var salesChartData = {
|
||||
labels: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
||||
|
||||
datasets: [
|
||||
|
||||
{
|
||||
label: "Electronics",
|
||||
fillColor: "rgba(0, 192, 239, 0.2)",
|
||||
strokeColor: "rgba(0, 192, 239,0.6)",
|
||||
pointColor: "#00c0ef ",
|
||||
pointStrokeColor: "rgba(60,141,188,1)",
|
||||
pointHighlightFill: "#fff",
|
||||
pointHighlightStroke: "rgba(60,141,188,1)",
|
||||
data:serviceValues
|
||||
|
||||
},
|
||||
|
||||
{
|
||||
label: "Digital Goods",
|
||||
fillColor: "rgba(221, 75, 57,0.2)",
|
||||
strokeColor: "rgba(221, 75, 57,0.8)",
|
||||
pointColor: "#dd4b39 ",
|
||||
pointStrokeColor: "rgba(60,141,188,1)",
|
||||
pointHighlightFill: "#fff",
|
||||
pointHighlightStroke: "rgba(60,141,188,1)",
|
||||
data:revenueValues
|
||||
},
|
||||
{
|
||||
label: "Food",
|
||||
fillColor: "rgba(0, 166, 90, 0.2)",
|
||||
strokeColor: "rgba(0, 166, 90,0.8)",
|
||||
pointColor: "#00a65a ",
|
||||
pointStrokeColor: "rgba(60,141,188,1)",
|
||||
pointHighlightFill: "#fff",
|
||||
pointHighlightStroke: "rgba(60,141,188,1",
|
||||
data:ImportValues
|
||||
},
|
||||
{
|
||||
label: "Food",
|
||||
fillColor: "rgba(243, 156, 18, 0.2)",
|
||||
strokeColor: "rgba(243, 156, 18,0.8)",
|
||||
pointColor: "#f39c12 ",
|
||||
pointStrokeColor: "rgba(60,141,188,1)",
|
||||
pointHighlightFill: "#fff",
|
||||
pointHighlightStroke: "rgba(60,141,188,1",
|
||||
data:capitalValues
|
||||
}
|
||||
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
var salesChartOptions = {
|
||||
//Boolean - If we should show the scale at all
|
||||
showScale: true,
|
||||
//Boolean - Whether grid lines are shown across the chart
|
||||
scaleShowGridLines: false,
|
||||
//String - Colour of the grid lines
|
||||
scaleGridLineColor: "rgba(0,0,0,.05)",
|
||||
//Number - Width of the grid lines
|
||||
scaleGridLineWidth: 1,
|
||||
//Boolean - Whether to show horizontal lines (except X axis)
|
||||
scaleShowHorizontalLines: true,
|
||||
//Boolean - Whether to show vertical lines (except Y axis)
|
||||
scaleShowVerticalLines: true,
|
||||
//Boolean - Whether the line is curved between points
|
||||
bezierCurve: true,
|
||||
//Number - Tension of the bezier curve between points
|
||||
bezierCurveTension: 0.3,
|
||||
//Boolean - Whether to show a dot for each point
|
||||
pointDot: true,
|
||||
//Number - Radius of each point dot in pixels
|
||||
pointDotRadius: 4,
|
||||
//Number - Pixel width of point dot stroke
|
||||
pointDotStrokeWidth: 1,
|
||||
//Number - amount extra to add to the radius to cater for hit detection outside the drawn point
|
||||
pointHitDetectionRadius: 20,
|
||||
//Boolean - Whether to show a stroke for datasets
|
||||
datasetStroke: true,
|
||||
//Number - Pixel width of dataset stroke
|
||||
datasetStrokeWidth: 5,
|
||||
//Boolean - Whether to fill the dataset with a color
|
||||
datasetFill: true,
|
||||
//String - A legend template
|
||||
legendTemplate: "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<datasets.length; i++){%><li><span style=\"background-color:<%=datasets[i].lineColor%>\"></span><%=datasets[i].label%></li><%}%></ul>",
|
||||
//Boolean - whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container
|
||||
maintainAspectRatio: false,
|
||||
//Boolean - whether to make the chart responsive to window resizing
|
||||
responsive: true
|
||||
};
|
||||
|
||||
// alert(salesChartData);
|
||||
|
||||
//Create the line chart
|
||||
salesChart.Line(salesChartData, salesChartOptions);
|
||||
|
||||
//---------------------------
|
||||
//- END MONTHLY SALES CHART -
|
||||
//- PIE CHART -
|
||||
//-------------
|
||||
// Get context with jQuery - using jQuery's .get() method.
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
0
application/views/addMontly.php
Normal file → Executable file
0
application/views/addMontly.php
Normal file → Executable file
@ -20,7 +20,6 @@ $datefordropdown = date_format($datefordropdown,'M-Y');
|
||||
$attendance = array_merge($attendance,$emppay);
|
||||
date_default_timezone_set('Asia/Kolkata');
|
||||
$currentday = date('d');
|
||||
|
||||
// print_r($attendance);
|
||||
// echo "<br>------------------------------<br>";
|
||||
|
||||
@ -364,8 +363,8 @@ $currentday = date('d');
|
||||
$OT = 'OT'.$col;
|
||||
|
||||
?>
|
||||
<td <?php if($flag2 == 1){ ?> title = " <?php echo $title; ?> " <?php } else if($flag == 1 ){ ?> title = "sunday" <?php }?> class="celda_normal" onkeyup="myFunction(this.parentNode.id,this.id,this.textContent);" id = "<?php if($flag == 1 or $flag2 == 1) {echo $row.'row'.$col.'WS';} else { echo $row.'row'.$col.'W';}?>" <?php if($flag == 1 or $flag2 == 1){ echo "style='background: #f9cd86 ;'";} else if($todayflag == 1){ echo "style='background: #f7e6ff ;'"; }?> contenteditable = "true" tabindex="<?php echo $col;?>"> <?php if(!empty($a->$WH)){echo $a->$WH;} else { echo '';}?></td>
|
||||
<td <?php if($flag2 == 1){ ?> title = " <?php echo $title; ?> " <?php } else if($flag == 1 ){ ?> title = "sunday" <?php }?> class="celda_normal" onkeyup="myFunction(this.parentNode.id,this.id,this.textContent);" id = "<?php if($flag == 1 or $flag2 == 1) {echo $row.'row'.$col.'OTS';} else { echo $row.'row'.$col.'OT';}?>" <?php if($flag == 1 or $flag2 == 1){ echo "style='background: #f9cd86 ;'";} else if($todayflag == 1){ echo "style='background: #f7e6ff ;'"; }?> contenteditable = "true" tabindex="<?php echo $col;?>"> <?php if(!empty($a->$OT)){echo $a->$OT;} else { echo '';}?></td>
|
||||
<td <?php if($flag2 == 1){ ?> title = " <?php echo $title; ?> " <?php } else if($flag == 1 ){ ?> title = "sunday" <?php }?> class="celda_normal" onkeyup="myFunction(this.parentNode.id,this.id,this.textContent);" id = "<?php if($flag == 1 or $flag2 == 1) {echo $row.'row'.$col.'WS';} else { echo $row.'row'.$col.'W';}?>" <?php if($flag == 1 or $flag2 == 1){ echo "style='background: #f9cd86 ;'";} else if($todayflag == 1){ echo "style='background: #f7e6ff ;'"; }?> contenteditable = "true" tabindex="<?php echo $col;?>"> <?php if(!empty($a->$WH)){echo $a->$WH;} else { echo ' ';}?></td>
|
||||
<td <?php if($flag2 == 1){ ?> title = " <?php echo $title; ?> " <?php } else if($flag == 1 ){ ?> title = "sunday" <?php }?> class="celda_normal" onkeyup="myFunction(this.parentNode.id,this.id,this.textContent);" id = "<?php if($flag == 1 or $flag2 == 1) {echo $row.'row'.$col.'OTS';} else { echo $row.'row'.$col.'OT';}?>" <?php if($flag == 1 or $flag2 == 1){ echo "style='background: #f9cd86 ;'";} else if($todayflag == 1){ echo "style='background: #f7e6ff ;'"; }?> contenteditable = "true" tabindex="<?php echo $col;?>"> <?php if(!empty($a->$OT)){echo $a->$OT;} else { echo ' ';}?></td>
|
||||
|
||||
<?php $flag =0;
|
||||
$flag2 =0;
|
||||
|
||||
135
application/views/cashbookmonthlydep.php
Normal file
135
application/views/cashbookmonthlydep.php
Normal file
@ -0,0 +1,135 @@
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
if(!empty($departmentwise))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
$inrsymbol='';
|
||||
if(!empty($Indiancurrency))
|
||||
{
|
||||
foreach ($Indiancurrency as $inr)
|
||||
{
|
||||
$inrsymbol = $inr->FontCode2000;
|
||||
}}
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.3.1/css/buttons.dataTables.min.css">
|
||||
<style>
|
||||
|
||||
.dataTables_filter {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
.dataTables_paginate {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
div.dt-buttons {
|
||||
position: relative;
|
||||
float: right;
|
||||
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
<div class="row" style="min-height: 600px;">
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div id="panel-quick-actions" class="panel panel-default quick-actions">
|
||||
<div class="panel-heading">
|
||||
<center><b>Department Monthly Payments</b></center>
|
||||
</div>
|
||||
<div class="btn-group btn-group-justified no-margin">
|
||||
|
||||
<div>
|
||||
<table class="table table-bordered table-hover" id="req" style="font-size:13px;">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Date</th>
|
||||
<!--<th>Account Code</th>-->
|
||||
<th>Account Name</th>
|
||||
<th>Paid Type</th>
|
||||
<th style="text-align:right;"> Amount <?php echo '('.$inrsymbol.')' ?></th>
|
||||
|
||||
<th>Description</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if(!empty($departmentwise)){
|
||||
foreach($departmentwise as $dw)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
|
||||
<td><span><?php echo $dw->date?></span></td>
|
||||
<!--<td align="left"><span><?php echo $dw->account_code?></span></td>-->
|
||||
<td align="left"><span><?php echo $dw->name?></span></td>
|
||||
<td align="left"><span><?php echo $dw->type?></span></td>
|
||||
|
||||
<td align="right"><span><?php echo number_format($dw->total,2,'.','');?></span></td>
|
||||
<td align="left"><span><?php echo $dw->description?></span></td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/dataTables.buttons.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.flash.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.print.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
// Bootstrap datepicker
|
||||
// Set up your table
|
||||
$(document).ready(function() {
|
||||
table = $('#req').DataTable( {
|
||||
"dom": "<'row'<'col-md-3'l><'col-md-9'Bf>>" +
|
||||
"<'row'<'col-md-6'><'col-md-6'>>" +
|
||||
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
||||
buttons: [
|
||||
{
|
||||
extend: 'collection',
|
||||
text: 'Export Cashbook Reports',
|
||||
buttons: [
|
||||
'excel'
|
||||
]
|
||||
}
|
||||
]
|
||||
} );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
138
application/views/cashbookmonthlyexpenses.php
Normal file
138
application/views/cashbookmonthlyexpenses.php
Normal file
@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
$inrsymbol='';
|
||||
if(!empty($Indiancurrency))
|
||||
{
|
||||
foreach ($Indiancurrency as $inr)
|
||||
{
|
||||
$inrsymbol = $inr->FontCode2000;
|
||||
}}
|
||||
|
||||
|
||||
if(!empty($monthlyreport))
|
||||
{
|
||||
|
||||
}
|
||||
if(!empty($monthlyincreport))
|
||||
{
|
||||
|
||||
}
|
||||
?>
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.3.1/css/buttons.dataTables.min.css">
|
||||
<style>
|
||||
|
||||
.dataTables_filter {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
.dataTables_paginate {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
div.dt-buttons {
|
||||
position: relative;
|
||||
float: right;
|
||||
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
<div class="row" style="min-height: 600px;">
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div id="panel-quick-actions" class="panel panel-default quick-actions">
|
||||
<div class="panel-heading">
|
||||
<center><b>Monthly Payments</b></center>
|
||||
</div>
|
||||
<div class="btn-group btn-group-justified no-margin">
|
||||
|
||||
<div>
|
||||
<table class="table table-bordered table-hover" id="req" style="font-size:13px;">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Date</th>
|
||||
<!--<th>Account Code</th>-->
|
||||
<th>Paid To</th>
|
||||
<th>Paid Type</th>
|
||||
<th style="text-align:right;"> Amount <?php echo '('.$inrsymbol.')' ?></th>
|
||||
|
||||
<!--<th>Description</th>-->
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if(!empty($monthlyreport)){
|
||||
foreach($monthlyreport as $mr)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
|
||||
<td><span><?php echo $mr->date?></span></td>
|
||||
<!--<td align="left"><a href="<?php echo base_url(); ?>report/cashbookdepartment?sid=<?php echo $mr->account_code;?>"><span><?php echo $mr->account_code?></span></a></td>-->
|
||||
<td align="left"><a href="<?php echo base_url(); ?>report/cashbookdepartment?sid=<?php echo $mr->account_code;?>"><span><?php echo $mr->name?></span></a></td>
|
||||
<td align="left"><span><?php echo $mr->type?></span></td>
|
||||
|
||||
<td align="right"><span><?php echo number_format($mr->total,2,'.','');?></span></td>
|
||||
<!--<td align="left"><span><?php echo $mr->account_code?></span></td>-->
|
||||
<!--<td align="left"><span><?php echo $mr->description?></span></td>-->
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/dataTables.buttons.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.flash.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.print.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
// Bootstrap datepicker
|
||||
// Set up your table
|
||||
$(document).ready(function() {
|
||||
table = $('#req').DataTable( {
|
||||
"dom": "<'row'<'col-md-3'l><'col-md-9'Bf>>" +
|
||||
"<'row'<'col-md-6'><'col-md-6'>>" +
|
||||
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
||||
buttons: [
|
||||
{
|
||||
extend: 'collection',
|
||||
text: 'Export Cashbook Reports',
|
||||
buttons: [
|
||||
'excel'
|
||||
]
|
||||
}
|
||||
]
|
||||
} );
|
||||
} );
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
83
application/views/cashbookmonthmenu.php
Normal file
83
application/views/cashbookmonthmenu.php
Normal file
@ -0,0 +1,83 @@
|
||||
<?php
|
||||
$inrsymbol='';
|
||||
if(!empty($Indiancurrency))
|
||||
{
|
||||
foreach ($Indiancurrency as $inr)
|
||||
{
|
||||
$inrsymbol = $inr->FontCode2000;
|
||||
}}
|
||||
?>
|
||||
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<CENTER><h3 class="box-title"><strong>Caskbook - "Monthly Payments"</strong></h3></CENTER>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
|
||||
<table class="table table-bordered table-hover" id="datatable" style="background-color:#fff;font-size:11px;" >
|
||||
<thead style="background-color:#ddf">
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
|
||||
|
||||
<th>Paid To</th>
|
||||
<th>Paid Type</th>
|
||||
<th style="text-align:right;"> Amount <?php echo '('.$inrsymbol.')' ?></th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if(!empty($monthlymenupayments)){
|
||||
foreach($monthlymenupayments as $t)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
|
||||
<td><span><?php echo $t->date?></span></td>
|
||||
|
||||
<td align="left"><span><?php echo $t->name ?></span></td>
|
||||
|
||||
<td align="left"><span><?php echo $t->type?></span></td>
|
||||
|
||||
<td align="right"><span><?php echo number_format($t->total,2,'.','');?></span></td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
$(function () {
|
||||
|
||||
$('#datatable').DataTable({
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
82
application/views/cashbooktoday.php
Normal file
82
application/views/cashbooktoday.php
Normal file
@ -0,0 +1,82 @@
|
||||
|
||||
<?php
|
||||
$inrsymbol='';
|
||||
if(!empty($Indiancurrency))
|
||||
{
|
||||
foreach ($Indiancurrency as $inr)
|
||||
{
|
||||
$inrsymbol = $inr->FontCode2000;
|
||||
}}
|
||||
?>
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<CENTER><h3 class="box-title">Caskbook - "Today's Payments"</h3></CENTER>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
|
||||
<table class="table table-bordered table-hover" id="datatable" style="background-color:#fff;font-size:11px;" >
|
||||
<thead style="background-color:#ddf">
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<!-- <th>Account Code</th>-->
|
||||
<th>Paid To</th>
|
||||
<th>Paid Type</th>
|
||||
<th style="text-align:right;"> Amount <?php echo '('.$inrsymbol.')' ?></th>
|
||||
<th>Description</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if(!empty($tdy)){
|
||||
foreach($tdy as $t)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
|
||||
<td><span><?php echo $t->date?></span></td>
|
||||
<!--<td align="left"><span><?php echo $t->account_code?></span></td>-->
|
||||
<td align="left"><span><?php echo $t->name ?></span></td>
|
||||
<!--<td align="left"><span><?php echo $t->towhom?></span></td>-->
|
||||
<td align="left"><span><?php echo $t->type?></span></td>
|
||||
<td align="right"><span><?php echo number_format( $t->total,2,'.','');?></span></td>
|
||||
<td align="left"><span><?php echo $t->description?></span></td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
$(function () {
|
||||
|
||||
$('#datatable').DataTable({
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
121
application/views/cashbookyearlyexpenses.php
Normal file
121
application/views/cashbookyearlyexpenses.php
Normal file
@ -0,0 +1,121 @@
|
||||
<?php
|
||||
$inrsymbol='';
|
||||
if(!empty($Indiancurrency))
|
||||
{
|
||||
foreach ($Indiancurrency as $inr)
|
||||
{
|
||||
$inrsymbol = $inr->FontCode2000;
|
||||
}}
|
||||
?>
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.3.1/css/buttons.dataTables.min.css">
|
||||
<style>
|
||||
|
||||
.dataTables_filter {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
.dataTables_paginate {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
div.dt-buttons {
|
||||
position: relative;
|
||||
float: right;
|
||||
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div id="panel-quick-actions" class="panel panel-default quick-actions">
|
||||
<div class="panel-heading">
|
||||
<center><b>Yearly Payments</b></center>
|
||||
</div>
|
||||
<div class="btn-group btn-group-justified no-margin">
|
||||
<table class="table table-bordered table-hover" id="req"style="font-size:13px;">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<!--<th>Date</th>-->
|
||||
<th>Month</th>
|
||||
<!-- <th>Paid To</th>-->
|
||||
<th>Paid Type</th>
|
||||
<th style="text-align:right;"> Amount <?php echo '('.$inrsymbol.')' ?></th>
|
||||
<!--<th>Account Code</th>-->
|
||||
<!--<th>Description</th>-->
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if(!empty($yearlyreport)){
|
||||
foreach($yearlyreport as $yr)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
|
||||
<!--<td><span><?php echo $yr->date?></span></td>-->
|
||||
<td align="left"><a href="<?= base_url() ?>report/yearmonthwise?sid=<?php echo $yr->month;?>"><span><?php echo $yr->month?></span></a></td>
|
||||
<!--<td align="right"><span><?php echo $yr->towhom?></span></td>-->
|
||||
<td align="left"><span><?php echo $yr->type?></span></td>
|
||||
<td align="right"><span><?php echo number_format( $yr->total,2,'.','');?></span></td>
|
||||
<!--<td align="right"><span><?php echo $yr->account_code?></span></td>
|
||||
<td align="right"><span><?php echo $yr->description?></span></td>-->
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/dataTables.buttons.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.flash.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.print.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
// Bootstrap datepicker
|
||||
// Set up your table
|
||||
$(document).ready(function() {
|
||||
table = $('#req').DataTable( {
|
||||
"dom": "<'row'<'col-md-3'l><'col-md-9'Bf>>" +
|
||||
"<'row'<'col-md-6'><'col-md-6'>>" +
|
||||
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
||||
buttons: [
|
||||
{
|
||||
extend: 'collection',
|
||||
text: 'Export Cashbook Reports',
|
||||
buttons: [
|
||||
'excel'
|
||||
]
|
||||
}
|
||||
]
|
||||
} );
|
||||
} );
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
126
application/views/cashbookyearmonthwise.php
Normal file
126
application/views/cashbookyearmonthwise.php
Normal file
@ -0,0 +1,126 @@
|
||||
|
||||
<?php
|
||||
|
||||
$inrsymbol='';
|
||||
if(!empty($Indiancurrency))
|
||||
{
|
||||
foreach ($Indiancurrency as $inr)
|
||||
{
|
||||
$inrsymbol = $inr->FontCode2000;
|
||||
}}
|
||||
?>
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.3.1/css/buttons.dataTables.min.css">
|
||||
<style>
|
||||
|
||||
.dataTables_filter {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
.dataTables_paginate {
|
||||
width: 50%;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
div.dt-buttons {
|
||||
position: relative;
|
||||
float: right;
|
||||
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div id="panel-quick-actions" class="panel panel-default quick-actions">
|
||||
<div class="panel-heading">
|
||||
<center><b>Yearly Payments</b></center>
|
||||
</div>
|
||||
<div class="btn-group btn-group-justified no-margin">
|
||||
|
||||
<div>
|
||||
<table class="table table-bordered table-hover" id="req" style="font-size:13px;">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Date</th>
|
||||
<th>Account Name</th>
|
||||
<!--<th>month</th>-->
|
||||
<!--<th>Paid To</th>-->
|
||||
<th>Paid Type</th>
|
||||
<th style="text-align:right;"> Amount <?php echo '('.$inrsymbol.')' ?></th>
|
||||
|
||||
<!--<th>Description</th>-->
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if(!empty($yearmonthwise)){
|
||||
foreach($yearmonthwise as $ym)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
|
||||
<td><span><?php echo $ym->date?></span></td>
|
||||
<!--<td align="right"><span><a href="<?= base_url() ?>report/yearmonthwise"><?php echo $ym->month?></a></span></td>-->
|
||||
<td align="left"><a href="<?php echo base_url(); ?>report/cashbookdepartment?sid=<?php echo $ym->account_code;?>"><span><?php echo $ym->name?></span></a></td>
|
||||
<!--<td align="right"><span><?php echo $ym->towhom?></span></td>-->
|
||||
<td align="left"><span><?php echo $ym->type?></span></td>
|
||||
|
||||
<td align="right"><span><?php echo number_format($ym->total,2,'.','');?></span></td>
|
||||
<!--<td align="right"><span><?php echo $ym->description?></span></td>-->
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/dataTables.buttons.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.flash.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.3.1/js/buttons.print.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
// Bootstrap datepicker
|
||||
// Set up your table
|
||||
$(document).ready(function() {
|
||||
table = $('#req').DataTable( {
|
||||
"dom": "<'row'<'col-md-3'l><'col-md-9'Bf>>" +
|
||||
"<'row'<'col-md-6'><'col-md-6'>>" +
|
||||
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
||||
buttons: [
|
||||
{
|
||||
extend: 'collection',
|
||||
text: 'Export Cashbook Reports',
|
||||
buttons: [
|
||||
'excel'
|
||||
]
|
||||
}
|
||||
]
|
||||
} );
|
||||
} );
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
0
application/views/editOldmonthly.php
Normal file → Executable file
0
application/views/editOldmonthly.php
Normal file → Executable file
0
application/views/editPayslip.php
Normal file → Executable file
0
application/views/editPayslip.php
Normal file → Executable file
@ -453,21 +453,28 @@ $(function() {
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php
|
||||
|
||||
}
|
||||
<?php }
|
||||
|
||||
if($role == ROLE_ADMIN) { ?>
|
||||
<li class="treeview">
|
||||
<span id="menu" data-toggle="dropdown" ><i class="fa fa-thumb-tack"></i> Attendance<span class="caret"></span></span>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>attendance">
|
||||
<i class="fa fa-refresh fa-spin "></i>
|
||||
<span>Monthly Attendance</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php }
|
||||
|
||||
if($DEPCode == HR)
|
||||
{
|
||||
?>
|
||||
<li class="treeview">
|
||||
<span id="menu" data-toggle="dropdown" ><i class="fa fa-thumb-tack"></i> PaySlip <span class="caret"></span></span>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="menu3">
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>attendance">
|
||||
<i class="fa fa-refresh fa-spin "></i>
|
||||
<span>Monthly Attendance</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>monthlypay">
|
||||
<i class="fa fa-keyboard-o"></i>
|
||||
@ -723,7 +730,18 @@ $(function() {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php
|
||||
if($DEPCode == MANAGEMENT)
|
||||
{ ?>
|
||||
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>reports">
|
||||
<i class="fa fa-dashboard"></i> <span>ReportList</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?php } ?>
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<?php if($this->profilepic != '') { ?>
|
||||
|
||||
0
application/views/monthlyListing.php
Normal file → Executable file
0
application/views/monthlyListing.php
Normal file → Executable file
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
// print_r($month);
|
||||
// print_r($month);
|
||||
// echo "-------------";
|
||||
// print_r($fresh);
|
||||
//print_r($fresh);
|
||||
$sample = array_merge($month,$fresh);
|
||||
|
||||
?>
|
||||
@ -188,7 +188,7 @@ $('html').bind('keypress', function(e)
|
||||
<td <?php if(empty($record->Key)){echo "contenteditable='false';"; } ?> <?php if(!empty($record->Key)){?> title="Payslip Calculated" style="text-align:right;color:blue;"<?php } else{?>style="text-align:right;"<?php }?> ><?php if(!empty($record->LOP_Days)){echo $record->LOP_Days;}else{echo "0.00";}?></td>
|
||||
<td <?php if(empty($record->Key)){echo "contenteditable='false';"; } ?> <?php if(!empty($record->Key)){?> title="Payslip Calculated" style="text-align:right;color:blue;"<?php } else{?>style="text-align:right;"<?php }?> ><?php if(!empty($record->Paid_leave)){echo number_format($record->Paid_leave,2,'.','');}else { echo number_format(0.00,2,'.','');} ?></td>
|
||||
<td <?php if(empty($record->Key)){echo "contenteditable='false';"; } ?> <?php if(!empty($record->Key)){?> title="Payslip Calculated" style="text-align:right;color:blue;"<?php } else{?>style="text-align:right;"<?php }?> ><?php if(!empty($record->OT_Hrs_Worked)){echo $record->OT_Hrs_Worked;}else { echo number_format(0.00,2,'.','');} ?></td>
|
||||
<td <?php if(empty($record->Key)){echo "contenteditable='true';"; } ?> <?php if(!empty($record->Key)){?> title="Payslip Calculated" style="text-align:right;color:blue;"<?php } else{?>style="text-align:right;"<?php }?> ><?php if(!empty($record->Loan_Recovered)){if(is_numeric($record->Loan_Recovered)){echo number_format($record->Loan_Recovered,2,'.','');}else {echo $record->Loan_Recovered;}}else{echo number_format(0.00,2,'.','');} ?></td>
|
||||
<td <?php if(empty($record->Key) && !empty($record->Loan_ID)){ echo "contenteditable='true'; style='background-color:#ffcccc;text-align:right' title='Loan Pending'"; } ?> <?php if(!empty($record->Key)){?> title="Payslip Calculated" style="text-align:right;color:blue;"<?php } else{?>style="text-align:right;"<?php }?> ><?php if(!empty($record->Loan_Recovered)){if(is_numeric($record->Loan_Recovered)){echo number_format($record->Loan_Recovered,2,'.','');}else {echo $record->Loan_Recovered;}}else{echo number_format(0.00,2,'.','');} ?></td>
|
||||
<td <?php if(empty($record->Key)){echo "contenteditable='true';"; } ?> <?php if(!empty($record->Key)){?> title="Payslip Calculated" style="text-align:right;color:blue;"<?php } else{?>style="text-align:right;"<?php }?> ><?php if(!empty($record->Incentives)){echo $record->Incentives;}else{ echo number_format(0.00,2,'.','');;} ?></td>
|
||||
<td <?php if(empty($record->Key)){echo "contenteditable='true';"; } ?> <?php if(!empty($record->Key)){?> title="Payslip Calculated" style="text-align:right;color:blue;"<?php } else{?>style="text-align:right;"<?php }?> ><?php if(!empty($record->Other_Deductions)){echo $record->Other_Deductions; }else{ echo number_format(0.00,2,'.','');;} ?></td>
|
||||
|
||||
@ -248,7 +248,7 @@ $('html').bind('keypress', function(e)
|
||||
//alert(JSON.stringify(alldata));
|
||||
alldata=JSON.stringify(alldata)
|
||||
var month = $('#monthyear').val();
|
||||
$('#content').loader('hide');
|
||||
$('.content').loader('show');
|
||||
$.ajax({
|
||||
data:{param1:alldata,param2:month},
|
||||
//dataType:"json",
|
||||
@ -257,7 +257,7 @@ $('html').bind('keypress', function(e)
|
||||
success:function(data) {
|
||||
if(data)
|
||||
{
|
||||
$('#content').loader('hide');
|
||||
$('.content').loader('hide');
|
||||
alert(data);
|
||||
//console.log(data);
|
||||
|
||||
@ -367,19 +367,44 @@ $('html').bind('keypress', function(e)
|
||||
var Other_Deductions = val.Other_Deductions;
|
||||
if(Other_Deductions == null){ Other_Deductions = "0.00";}
|
||||
|
||||
//alert(val.EmpID +"-"+val.FirstName+"-"+val.LastName);
|
||||
trHTML += '<tr>' +
|
||||
'<td style="text-align:right;">' + (i) + '</td>' +
|
||||
'<td style="text-align:right;">' + val.EmpID + '</td>' +
|
||||
'<td>' + val.FirstName+" "+ val.LastName + '</td>' +
|
||||
'<td contenteditable="false" style="text-align:right;">' + Days_Worked + '</td>' +
|
||||
'<td contenteditable="false" style="text-align:right;">' + LOP_Days + '</td>' +
|
||||
'<td contenteditable="false" style="text-align:right;">' + Paid_leave + '</td>' +
|
||||
'<td contenteditable="false" style="text-align:right;">' + OT_Hrs_Worked + '</td>' +
|
||||
'<td contenteditable="true" style="text-align:right;">' + Loan_Recovered + '</td>' +
|
||||
'<td contenteditable="true" style="text-align:right;">' + Incentives + '</td>' +
|
||||
'<td contenteditable="true" style="text-align:right;">' + Other_Deductions+ '</td>' +
|
||||
'</tr>';
|
||||
if(val.Key)
|
||||
{
|
||||
|
||||
trHTML += '<tr>' +
|
||||
'<td style="text-align:right;">' + (i) + '</td>' +
|
||||
'<td style="text-align:right;">' + val.EmpID + '</td>' +
|
||||
'<td>' + val.FirstName+" "+ val.LastName + '</td>' +
|
||||
'<td contenteditable="false" title="Payslip Calculated" style="text-align:right;color:blue;">' + Days_Worked + '</td>' +
|
||||
'<td contenteditable="false" title="Payslip Calculated" style="text-align:right;color:blue;">' + LOP_Days + '</td>' +
|
||||
'<td contenteditable="false" title="Payslip Calculated" style="text-align:right;color:blue;">' + Paid_leave + '</td>' +
|
||||
'<td contenteditable="false" title="Payslip Calculated" style="text-align:right;color:blue;">' + OT_Hrs_Worked + '</td>' +
|
||||
'<td contenteditable="false" title="Payslip Calculated" style="text-align:right;color:blue;">' + Loan_Recovered + '</td>' +
|
||||
'<td contenteditable="false" title="Payslip Calculated" style="text-align:right;color:blue;">' + Incentives + '</td>' +
|
||||
'<td contenteditable="false" title="Payslip Calculated" style="text-align:right;color:blue;">' + Other_Deductions+ '</td>' +
|
||||
'</tr>';
|
||||
}
|
||||
else
|
||||
{
|
||||
trHTML += '<tr>' +
|
||||
'<td style="text-align:right;">' + (i) + '</td>' +
|
||||
'<td style="text-align:right;">' + val.EmpID + '</td>' +
|
||||
'<td>' + val.FirstName+" "+ val.LastName + '</td>' +
|
||||
'<td contenteditable="false" style="text-align:right;">' + Days_Worked + '</td>' +
|
||||
'<td contenteditable="false" style="text-align:right;">' + LOP_Days + '</td>' +
|
||||
'<td contenteditable="false" style="text-align:right;">' + Paid_leave + '</td>' +
|
||||
'<td contenteditable="false" style="text-align:right;">' + OT_Hrs_Worked + '</td>' ;
|
||||
if(val.Loan_ID){
|
||||
trHTML += '<td contenteditable="true" title="Loan Pending" style="background-color:#ffcccc;text-align:right;">' + Loan_Recovered + '</td>';
|
||||
}
|
||||
else{
|
||||
trHTML += '<td contenteditable="false" style="text-align:right;">' + Loan_Recovered + '</td>';
|
||||
}
|
||||
trHTML += '<td contenteditable="true" style="text-align:right;">' + Incentives + '</td>' +
|
||||
'<td contenteditable="true" style="text-align:right;">' + Other_Deductions+ '</td>' +
|
||||
'</tr>';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
2
application/views/payslipeditable.php
Normal file → Executable file
2
application/views/payslipeditable.php
Normal file → Executable file
@ -82,7 +82,7 @@ $("#Employee").empty();
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center>Resico Industries - PaySlip Create and Update</center>
|
||||
<center>Siddharth Industries - PaySlip Create and Update</center>
|
||||
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
7
application/views/payslipgenerate.php
Normal file → Executable file
7
application/views/payslipgenerate.php
Normal file → Executable file
@ -90,15 +90,12 @@ $(function() {
|
||||
{
|
||||
if(result != 1)
|
||||
{
|
||||
|
||||
$('#content').loader('hide');
|
||||
$.ajax({
|
||||
data:{payon:payon,employee:employee},
|
||||
type:"POST",
|
||||
url:"<?php echo base_url();?>payslip/callsp",
|
||||
success:function(result){
|
||||
|
||||
|
||||
$('#content').loader('hide');
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -192,7 +189,7 @@ $(function() {
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center>Resico Industries - PaySlip Generator</center>
|
||||
<center>Siddharth Industries - PaySlip Generator</center>
|
||||
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
8
application/views/payslipgenerateprint.php
Normal file → Executable file
8
application/views/payslipgenerateprint.php
Normal file → Executable file
File diff suppressed because one or more lines are too long
2
application/views/payslipupload.php
Normal file → Executable file
2
application/views/payslipupload.php
Normal file → Executable file
@ -21,7 +21,7 @@
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center>Resico Industries PaySlip Upload</center>
|
||||
<center>Siddharth Industries PaySlip Upload</center>
|
||||
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
2
application/views/payslipupload2.php
Normal file → Executable file
2
application/views/payslipupload2.php
Normal file → Executable file
@ -38,7 +38,7 @@ function checkYearMonthAsEmpty()
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center>Resico Industries - Monthly Pay Inputs Upload</center>
|
||||
<center>Siddharth Industries - Monthly Pay Inputs Upload</center>
|
||||
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
424
application/views/reportslink.php
Normal file
424
application/views/reportslink.php
Normal file
@ -0,0 +1,424 @@
|
||||
|
||||
<head>
|
||||
<title>reportlist</title>
|
||||
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
|
||||
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
|
||||
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
|
||||
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.30/css/uikit.min.css'>
|
||||
|
||||
<!--link rel="stylesheet" type="text/css" href="./Search Trucks_files/dhtmlxcalendar.css">
|
||||
<link rel="stylesheet" type="text/css" href="./Search Trucks_files/dhtmlxcalendar_dhx_skyblue.css">
|
||||
<link rel="stylesheet" type="text/css" href="./Search Trucks_files/jquery.timepicker.min.css"-->
|
||||
<style type="text/css">
|
||||
a:hover{
|
||||
color: #2874f0;
|
||||
}
|
||||
h1{
|
||||
color: blue;
|
||||
}
|
||||
|
||||
/*i{
|
||||
|
||||
|
||||
font-color:blue;
|
||||
|
||||
}*/
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<section class="dot_background padding-top-10">
|
||||
|
||||
<div id="" class="container">
|
||||
<div id="innerwrap" class="">
|
||||
|
||||
<div class="col-lg-12 col-md-12" id="seek-trucks-tab">
|
||||
|
||||
<div class="clear"></div>
|
||||
<div class="biss-tabs" data-active="1">
|
||||
<header></header>
|
||||
</div>
|
||||
<!--<p class="section-subtitle"><span class="text-right"> <a href="viewallTrucks.php">View All Trucks</a> </span></p>-->
|
||||
<div class="clear"></div>
|
||||
<!--content-->
|
||||
|
||||
|
||||
|
||||
<div class="uk-grid-small uk-animation-fade uk-flex-middle uk-child-width-1-9 uk-child-width-1-2@m uk-child-width-1-3@l uk-padding-small" uk-grid>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<i class="fa fa-search-plus fa-5X" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Requisition</h3>
|
||||
<br>
|
||||
<a href="<?php echo base_url(); ?>reportpending" target="_blank">Reportpending<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>releasedpo" target="_blank"> Order Value - Released<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>openOrder" target="_blank">Open Orders - Pending <p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>TotalOrder" target="_blank"> Total Orders<p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<i class="fa fa-shopping-cart fa-5x" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Purchases</h3>
|
||||
<a href="<?php echo base_url(); ?>Report_purchase" target="_blank">Purchase<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_year_wise" target="_blank">Year Wise<p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_supplier" target="_blank">Purchase Supplier - Wise<p class="uk-text uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_consolidate" target="_blank">Consalidate Report<p class="uk-text-meta uk-margin-remove"></p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_cumulative" target="_blank">Cumulative Report<p class="uk-text uk-margin-remove"></p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<i class="fa fa-superpowers fa-5x" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Material Master</h3>
|
||||
<br>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_Supplier" target="_blank"><p class="uk-text uk-margin-remove">Material Master - supplier wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_Item" target="_blank"><p class="uk-text uk-margin-remove">Material Master - Item wise</p></a>
|
||||
<a href="<?php echo base_url(); ?>Report_Material_ReceiptValue" target="_blank"><p class="uk-text uk-margin-remove">Material Master - Receipt Value</p></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<i class="fa fa-money fa-5x" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Finance Reports</h3>
|
||||
<br>
|
||||
<a href="<?php echo base_url(); ?>Report_costcenter" target="_blank"> Cost Center <p class="uk-text uk-margin-remove"></p></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<i class="fa fa-inr fa-5x" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Cashbook</h3>
|
||||
<a href="<?php echo base_url(); ?>cashbookreport" target="_blank"><p class="uk-text uk-margin-remove">Cashbook Reports</p></a>
|
||||
<a href="<?php echo base_url(); ?>cashbookmonthlyexpenses" target="_blank"><p class="uk-text uk-margin-remove">Cashbook Monthly Expenses</p></a>
|
||||
<a href="<?php echo base_url(); ?>cashbookyearlyexpenses" target="_blank"><p class="uk-text uk-margin-remove">Cashbook Yearly Expenses</p></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<!--<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<i class="fa fa-credit-card-alt fa-5x" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Hewlett Packard</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">Supplier</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<i class="fa fa-credit-card-alt fa-5x" aria-hidden="true"></i>
|
||||
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">PayRoll</h3>
|
||||
<br>
|
||||
<p class="uk-text uk-margin-remove" target="_blank">Employee Payroll</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<i class="fa fa-calendar fa-5x" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Attentance</h3>
|
||||
<br>
|
||||
<p class="uk-text uk-margin-remove" target="_blank">Employee Attentance</p>
|
||||
</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="https://business.sky.com/static/images/logos/Spectrum-mark-2016-sml-RGB-PNG.png">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Sky</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">Supplier</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="https://png.icons8.com/supplier/color/100">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Network Connect</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">Service Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="https://wac-cdn.atlassian.com/dam/jcr:89e146b4-642e-41fc-8e65-7848337d7bdd/atlassian_charlie_square.png">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Atlassian</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">SaaS Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Sophos_logo.svg/1024px-Sophos_logo.svg.png">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Sophos</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">SaaS Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="http://www.scality.com/wp-content/uploads/2016/03/Veeam.png">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Veeam</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">SaaS Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="https://752f77aa107738c25d93-f083e9a6295a3f0714fa019ffdca65c3.ssl.cf1.rackcdn.com/icons/og-image.png">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Rackspace</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">PaaS Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="http://blog.mailgun.com/content/images/2015/12/Mailgun_Icon.png">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">MailGun</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">PaaS Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-hover">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="http://1k2qy51jcpdx2peszat8iswc.wpengine.netdna-cdn.com/wp-content/uploads/2016/03/commvault_logo.png">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">CommonVault</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">DaaS Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="http://www.exponential-e.com/images/About_us/favicon.png">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Exponential-e</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">Internet Service Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/AmazonWebservices_Logo.svg/2000px-AmazonWebservices_Logo.svg.png">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Amazon Web Services</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">PaaS Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="https://www.guestline.com/_caches/_image/actual_middlecentre/600x/userfile/images/news/gl-no-strap-sml.jpg">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Guestline</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">SaaS Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Microsoft_logo_%282012%29.svg/2000px-Microsoft_logo_%282012%29.svg.png">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">Microsoft</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">SaaS Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="uk-card uk-card-default">
|
||||
<div class="uk-card-header">
|
||||
<div class="uk-grid-small uk-flex-middle" uk-grid>
|
||||
<div class="uk-width-auto">
|
||||
<img width="60" height="60" src="http://helpwiki.evergreen.edu/wiki/images/2/29/Papercut_small_logo.png">
|
||||
</div>
|
||||
<div class="uk-width-expand">
|
||||
<h3 class="uk-card-title uk-margin-remove-bottom">PaperCut</h3>
|
||||
<p class="uk-text uk-margin-remove"><time datetime="2016-04-01T19:00">Software Provider</time></p>
|
||||
<p class="uk-text-meta uk-margin-remove-top"><time datetime="2016-04-01T19:00">Contracts: 1, Warranties: 0</time></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
|
||||
<script src='https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.30/js/uikit.min.js'></script>
|
||||
<script src='https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.30/js/uikit-icons.min.js'></script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user