dashboard issues and consolidate month links
This commit is contained in:
parent
83862a4265
commit
ddd7e6b777
@ -615,8 +615,8 @@ class report extends BaseController
|
||||
} else{
|
||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||
//$this->input->post('btn_submit');
|
||||
$cname = $this->input->get('cname');
|
||||
$cat = $this->input->get('cat');
|
||||
$cname = $this->input->get('cname');
|
||||
$prod = $this->input->get('prod');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
@ -628,7 +628,7 @@ class report extends BaseController
|
||||
$mid = $this->input->get('mid');
|
||||
$d = $this->input->get('d');
|
||||
|
||||
//print_r($prod);
|
||||
//print_r($m);die();
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
@ -766,6 +766,8 @@ class report extends BaseController
|
||||
//$this->input->post('btn_submit');
|
||||
$sid=$this->input->get('sid');
|
||||
$mid = $this->input->get('mid');
|
||||
$cname = $this->input->get('cname');
|
||||
$prod = $this->input->get('prod');
|
||||
//$mat = $this->input->get('mid');
|
||||
$m = $this->input->get('m');
|
||||
$ab=$this->input->get('ab');
|
||||
@ -775,7 +777,7 @@ class report extends BaseController
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['spurchse']=$this->dahsboard_Model->i_consolidate_month($m,$sid,$mid,$fa,$aa);
|
||||
$data['spurchse']=$this->dahsboard_Model->i_consolidate_month($m,$cname,$prod,$fa,$aa);
|
||||
// print_r( $data['spurchse']);
|
||||
if($this->DEPCode == MANAGEMENT)
|
||||
{
|
||||
@ -794,6 +796,8 @@ class report extends BaseController
|
||||
//$this->input->post('btn_submit');
|
||||
$sid=$this->input->get('sid');
|
||||
$mid = $this->input->get('mid');
|
||||
$cname = $this->input->get('cname');
|
||||
$prod = $this->input->get('prod');
|
||||
//$mat = $this->input->get('mid');
|
||||
$ab=$this->input->get('ab');
|
||||
$fa=substr($ab,0,-5);
|
||||
@ -802,7 +806,7 @@ class report extends BaseController
|
||||
$data['material']=$this->dahsboard_Model->material_name();
|
||||
$data['cust']=$this->dahsboard_Model->customer_name();
|
||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||
$data['spurchse']=$this->dahsboard_Model->i_consolidate_year($sid,$mid,$fa,$aa);
|
||||
$data['spurchse']=$this->dahsboard_Model->i_consolidate_year($cname,$prod,$fa,$aa);
|
||||
// print_r( $data['spurchse']);
|
||||
if($this->DEPCode == MANAGEMENT)
|
||||
{
|
||||
@ -1040,7 +1044,6 @@ class report extends BaseController
|
||||
$data['yearincome']=$this->dahsboard_Model->yearwise_data($income);
|
||||
$data['yearexpense']=$this->dahsboard_Model->yearwise_data($expense);
|
||||
$data['gettoptotal1'] = $this->dahsboard_Model->gettoptotal();
|
||||
$data['tdy']=$this->dahsboard_Model->today();
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
//print_r($data['gettoptotal1']);
|
||||
// $data['monthlywiseincome']=$this->dahsboard_Model->monthwise_data_income();
|
||||
@ -1106,39 +1109,18 @@ class report extends BaseController
|
||||
}
|
||||
public function cashbookdepartment()
|
||||
{
|
||||
$this->global['pageTitle'] = 'Cashbook - department - ';
|
||||
$sid=$_GET['sid'];
|
||||
$d=$_GET['d'];
|
||||
$c=$_GET['c'];
|
||||
if ($c=='PAYMENT')
|
||||
{
|
||||
|
||||
$data['departmentwise']=$this->dahsboard_Model->departmentwise($sid,$d,$c);
|
||||
$this->global['pageTitle'] = 'Cashbook - department - ';
|
||||
$data['departmentwise']=$this->dahsboard_Model->departmentwise($sid,$d);
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
//print_r($data['departmentwise']);
|
||||
$this->loadviews("cashbookmonthlydep",$this->global,$data, NULL);
|
||||
}
|
||||
else{
|
||||
$data['departmentwise']=$this->dahsboard_Model->departmentwise($sid,$d,$c);
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
$this->loadviews("cashbookmonthlyexp",$this->global,$data, NULL);
|
||||
}
|
||||
}
|
||||
public function cashbookdepartmentexp()
|
||||
{
|
||||
$sid=$_GET['sid'];
|
||||
$d=$_GET['d'];
|
||||
$c=$_GET['c'];
|
||||
$this->global['pageTitle'] = 'Cashbook - department - ';
|
||||
$data['departmentwise']=$this->dahsboard_Model->departmentwise($sid,$d,$c);
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
//print_r($data['departmentwise']);
|
||||
$this->loadviews("cashbookmonthlyexp",$this->global,$data, NULL);
|
||||
}
|
||||
//for cashbook menu link//
|
||||
public function cashbookmonthmenu()
|
||||
{
|
||||
|
||||
|
||||
$this->global['pageTitle'] = 'Cashbook monthly ';
|
||||
$data['yearmonthwise']=$this->dahsboard_Model->yearmonthwise();
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
@ -1158,20 +1140,15 @@ class report extends BaseController
|
||||
{
|
||||
$this->global['pageTitle'] = 'Cashbook - viewtoday ';
|
||||
$data['tdy']=$this->dahsboard_Model->today();
|
||||
//print_r($data['tdy']);
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
$this->loadviews("cashbooktoday",$this->global,$data, NULL);
|
||||
}
|
||||
public function depmenu()
|
||||
{
|
||||
$this->global['pageTitle'] = 'Cashbook - AllReport ';
|
||||
$fdate = $this->input->post('from_date');
|
||||
$tdate = $this->input->post('to_date');
|
||||
//echo $fdate;
|
||||
//echo $tdate;
|
||||
$data['depmenu']=$this->dahsboard_Model->departmentmenu($fdate,$tdate);
|
||||
$this->global['pageTitle'] = 'Cashbook - viewtoday ';
|
||||
$data['depmenu']=$this->dahsboard_Model->departmentmenu();
|
||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||
$this->loadviews("cashbookall",$this->global,$data, NULL);
|
||||
$this->loadviews("cashbookdepmenu",$this->global,$data, NULL);
|
||||
}
|
||||
public function cashbookmenudepartment()
|
||||
{
|
||||
|
||||
@ -501,12 +501,23 @@ function servicebudgt ()
|
||||
}
|
||||
function servicebal ()
|
||||
{
|
||||
$sql="SELECT ROUND(sum(BudgetAmount)-(SELECT
|
||||
ifnull((sum(distinct PO_Line_Item.Quantity * PO_Line_Item.Rate)),0)
|
||||
as Util_Amount
|
||||
$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,
|
||||
case Cost_Center_Budget.BudgetType
|
||||
when 'SERVICE'
|
||||
then ifnull((sum(distinct PO_Line_Item.Quantity * PO_Line_Item.Rate)),0)
|
||||
end as service
|
||||
from T_CostCenter_Budget Cost_Center_Budget
|
||||
join T_PurchaseOrder_LineItem PO_Line_Item on Cost_Center_Budget.CostCenterCode=PO_Line_Item.CostCenterCode
|
||||
WHERE Cost_Center_Budget.BudgetType='SERVICE' and YEAR(STR_TO_DATE(`BudgetYear`,'%Y')) = YEAR(NOW())),2) as balservicebudget FROM T_CostCenter_Budget where BudgetType ='SERVICE' and YEAR(STR_TO_DATE(`BudgetYear`,'%Y')) = YEAR(NOW())";
|
||||
left join T_PurchaseOrder_LineItem PO_Line_Item on Cost_Center_Budget.CostCenterCode=PO_Line_Item.CostCenterCode
|
||||
left JOIN T_PurchaseOrder_Master po on po.PONO=PO_Line_Item.PONO and po.Status !='ST030'
|
||||
left JOIN T_Revenue_Tax T_Rev_Tax on PO_Line_Item.LineItemNo=T_Rev_Tax.LineItemNo
|
||||
JOIN T_CostCenter_Master Cost_Mast on Cost_Center_Budget.CostCenterCode=Cost_Mast.CostCenterCode
|
||||
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 and date(po.PODate) >= '2017-04-01' and date(po.PODate) <= '2018-03-31'
|
||||
group by
|
||||
Cost_Center_Budget.BudgetType
|
||||
";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
}
|
||||
@ -1352,7 +1363,7 @@ 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.Status != 'ST030' and pm.PONO in (select PONO from T_IGR_Master) ";
|
||||
pm.Status != 'ST030' ";
|
||||
|
||||
if ($cname!= ''){
|
||||
|
||||
@ -1408,9 +1419,11 @@ if ($cname!= ''){
|
||||
}
|
||||
|
||||
|
||||
|
||||
$sql.="and pm.PONO in (select PONO from T_IGR_Master) ";
|
||||
$sql.="group by pono,material_name,category,supplier_name";
|
||||
//ho $sql;
|
||||
// echo $m;
|
||||
// echo $sid;
|
||||
//echo $sql;
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
}
|
||||
@ -1575,6 +1588,8 @@ 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
|
||||
left join T_Service_Tax st on st.LineItemNo = pl.LineItemNo
|
||||
left join T_Revenue_Tax rt on rt.LineItemNo = pl.LineItemNo
|
||||
where pm.Status != 'ST030' and pm.PONO in (select PONO from T_IGR_Master) ";
|
||||
|
||||
if ($cname!= ''){
|
||||
@ -1597,7 +1612,7 @@ if ($cname!= ''){
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
function i_consolidate_month($m=null,$sid=null,$mid=null,$fa=null,$aa=null){
|
||||
function i_consolidate_month($m=null,$cname=null,$prod=null,$fa=null,$aa=null){
|
||||
|
||||
$sql="select mm.Category as category,sd.SupplierID as sid,sd.SupplierName as supplier_name,mm.MaterialCode as mid,mm.MaterialName as material_name,
|
||||
sum(pl.Quantity) as quantity,
|
||||
@ -1606,8 +1621,10 @@ 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
|
||||
left join T_Service_Tax st on st.LineItemNo = pl.LineItemNo
|
||||
left join T_Revenue_Tax rt on rt.LineItemNo = pl.LineItemNo
|
||||
where pm.Status != 'ST030' and pm.PONO in (select PONO from T_IGR_Master) and
|
||||
monthname(pm.PODate) = '".$m."' and sd.SupplierID = '".$sid."' and mm.MaterialCode = '".$mid."' ";
|
||||
monthname(pm.PODate) = '".$m."' and sd.SupplierName = '".$cname."' and mm.MaterialName = '".$prod."' ";
|
||||
if ($fa and $aa != ''){
|
||||
|
||||
$sql.=" and (pm.PODate >= '".$fa."-04-01' and pm.PODate <= '".$aa."-03-31')";
|
||||
@ -1618,7 +1635,7 @@ if ($fa and $aa != ''){
|
||||
//echo $sql;
|
||||
return $query->result();
|
||||
}
|
||||
function i_consolidate_year($sid=null,$mid=null,$fa=null,$aa=null){
|
||||
function i_consolidate_year($cname=null,$prod=null,$fa=null,$aa=null){
|
||||
|
||||
$sql="select mm.Category as category,sd.SupplierID as sid,sd.SupplierName as supplier_name,mm.MaterialCode as mid,mm.MaterialName as material_name,
|
||||
sum(pl.Quantity) as quantity,
|
||||
@ -1627,8 +1644,9 @@ 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
|
||||
where pm.Status != 'ST030' and pm.PONO in (select PONO from T_IGR_Master) and
|
||||
sd.SupplierID = '".$sid."' and mm.MaterialCode = '".$mid."' ";
|
||||
left join T_Service_Tax st on st.LineItemNo = pl.LineItemNo
|
||||
left join T_Revenue_Tax rt on rt.LineItemNo = pl.LineItemNo
|
||||
where pm.Status != 'ST030' and pm.PONO in (select PONO from T_IGR_Master) and sd.SupplierName = '".$cname."' and mm.MaterialName = '".$prod."' ";
|
||||
if ($fa and $aa != ''){
|
||||
|
||||
$sql.=" and (pm.PODate >= '".$fa."-04-01' and pm.PODate <= '".$aa."-03-31')";
|
||||
@ -1935,49 +1953,15 @@ if ($fa and $aa != ''){
|
||||
|
||||
function monthexpensereport()
|
||||
{
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then sum(tinc.total)
|
||||
end,'0') as expense,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then sum(tinc.total)
|
||||
end, '0') as income,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then tinc.towhom
|
||||
end,'-') as paymentname,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then tinc.towhom
|
||||
end, '-') as receiptname,
|
||||
tinc.total,tinc.towhom,tinc.description,monthname(tinc.date)as month,tinc.type,tinc.account_code,ac.name FROM t_income_expense tinc join t_accountcode ac on ac.code=tinc.account_code where month(tinc.date)= month(current_date())group by tinc.account_code";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
$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,monthname(tinc.date)as month,ac.name FROM t_income_expense as tinc join t_accountcode ac on ac.code=tinc.account_code where tinc.type='PAYMENT' 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(tinc.date,'%d-%m-%Y')as date,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then tinc.total
|
||||
end,'0') as expense,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then tinc.total
|
||||
end, '0') as income,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then tinc.towhom
|
||||
end,'-') as paymentname,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then tinc.towhom
|
||||
end, '-') as receiptname,
|
||||
date_format(date,'%d-%m-%Y')as date,tinc.type,sum(tinc.total)as total,tinc.towhom,tinc.description,tinc.account_code,monthname(tinc.date)as month FROM t_income_expense tinc where year(date)= year(current_date()) group by month order by total desc limit 10 ";
|
||||
$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='PAYMENT' and year(date)= year(current_date()) group by month order by total desc limit 10 ";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
|
||||
@ -2007,28 +1991,11 @@ if ($fa and $aa != ''){
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
function departmentwise($sid='',$d='',$c='')
|
||||
function departmentwise($sid='',$d='')
|
||||
{
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then tinc.total
|
||||
end,'0') as expense,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then tinc.total
|
||||
end, '0') as income,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then tinc.towhom
|
||||
end,'-') as paymentname,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then tinc.towhom
|
||||
end, '-') as receiptname,
|
||||
date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,tinc.total,tinc.towhom,.tinc.description, ac.name FROM
|
||||
$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 = '$sid' and monthname(date)='$d' and tinc.type='$c'";
|
||||
WHERE tinc.type='PAYMENT' and account_code = '$sid' and monthname(date)='$d'";
|
||||
$query = $this->db->query($sql);
|
||||
//print_r($this->db->last_query());
|
||||
//echo $sql;
|
||||
@ -2037,26 +2004,9 @@ if ($fa and $aa != ''){
|
||||
}
|
||||
function yearmonthwise($sid='')
|
||||
{
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then sum(tinc.total)
|
||||
end,'0') as expense,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then sum(tinc.total)
|
||||
end, '0') as income,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then tinc.towhom
|
||||
end,'-') as paymentname,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then tinc.towhom
|
||||
end, '-') as receiptname,
|
||||
date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,tinc.account_code,sum(tinc.total)as total,monthname(tinc.date)as month,tinc.description,tinc.towhom,tinc.account_code,ac.name FROM t_income_expense tinc
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,sum(tinc.total)as total,monthname(tinc.date)as month,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 tinc.account_code";
|
||||
WHERE tinc.type='PAYMENT' and monthname(date) = ? group by account_code";
|
||||
$query = $this->db->query($sql,array($sid));
|
||||
//print_r($this->db->last_query());
|
||||
return $query->result();
|
||||
@ -2090,33 +2040,12 @@ function INRSymbol()
|
||||
}
|
||||
function today()
|
||||
{
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then tinc.total
|
||||
end,'0') as expense,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then tinc.total
|
||||
end, '0') as income,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then tinc.towhom
|
||||
end,'-') as paymentname,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then tinc.towhom
|
||||
end, '-') as receiptname,
|
||||
tinc.total,tinc.towhom,tinc.description,tinc.type,tinc.account_code,ac.name FROM t_income_expense tinc join t_accountcode ac on ac.code=tinc.account_code WHERE DATE(date) = CURRENT_DATE";
|
||||
$query = $this->db->query($sql);
|
||||
return $query->result();
|
||||
}
|
||||
// $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();
|
||||
//}
|
||||
$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()
|
||||
{
|
||||
@ -2126,30 +2055,12 @@ function INRSymbol()
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
function departmentmenu($fdate,$tdate)
|
||||
function departmentmenu()
|
||||
{
|
||||
$fdate= date("Y-m-d",strtotime($fdate));
|
||||
$tdate=date("Y-m-d",strtotime($tdate));
|
||||
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then tinc.total
|
||||
end,'0') as expense,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then tinc.total
|
||||
end, '0') as income,
|
||||
ifnull(case
|
||||
when tinc.type = 'PAYMENT'
|
||||
then tinc.towhom
|
||||
end,'-') as paymentname,
|
||||
ifnull(case
|
||||
when tinc.type = 'RECEIPT'
|
||||
then tinc.towhom
|
||||
end, '-') as receiptname,
|
||||
tinc.total,tinc.towhom,tinc.description,tinc.type,tinc.account_code,ac.name FROM t_income_expense tinc join t_accountcode ac on ac.code=tinc.account_code where tinc.date >= '".$fdate."' and tinc.date <= '".$tdate."'";
|
||||
$sql="SELECT tinc.type,sum(tinc.total)as total,tinc.account_code,ac.name FROM t_income_expense tinc
|
||||
join t_accountcode ac on ac.code=tinc.account_code
|
||||
group by account_code";
|
||||
$query = $this->db->query($sql);
|
||||
//echo $fdate;
|
||||
//print_r($this->db->last_query());
|
||||
return $query->result();
|
||||
|
||||
|
||||
@ -170,7 +170,7 @@
|
||||
foreach ($spurchse as $result) { ?>
|
||||
<tr>
|
||||
<td style="text-align:left;">
|
||||
<a href="<?= base_url() ?>report/ilink_purchase?sid=<?php echo $result->sid;?>&ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>"><?php echo $result->supplier_name;?> </a>
|
||||
<a href="<?= base_url() ?>report/ilink_purchase?cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&ab=<?php echo $ab;?>"><?php echo $result->supplier_name;?> </a>
|
||||
</td>
|
||||
<td style="text-align:left;"><?php
|
||||
if(!empty($result->material_name)) { echo $result->material_name ; } else {echo "-";}
|
||||
@ -178,67 +178,67 @@
|
||||
<td style="text-align:right;"><?php
|
||||
$apr= $apr + round($result->April);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'April';?>"><?php echo round($result->April);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'April';?>"><?php echo round($result->April);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$may= $may + round($result->May);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'May';?>"><?php echo round($result->May);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'May';?>"><?php echo round($result->May);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$jun= $jun + round($result->June);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'June';?>"><?php echo round($result->June);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'June';?>"><?php echo round($result->June);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$jul= $jul + round($result->July);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'July';?>"><?php echo round($result->July);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'July';?>"><?php echo round($result->July);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$aug= $aug + round($result->August);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'August';?>"><?php echo round($result->August);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'August';?>"><?php echo round($result->August);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$sep= $sep + $result->September;
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'September';?>"><?php echo round($result->September);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'September';?>"><?php echo round($result->September);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$oct= $oct + round($result->October);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'October';?>"><?php echo round($result->October);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'October';?>"><?php echo round($result->October);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$nov= $nov + round($result->November);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'November';?>"><?php echo round($result->November);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'November';?>"><?php echo round($result->November);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$dec= $dec + round($result->December);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'December';?>"><?php echo round($result->December);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'December';?>"><?php echo round($result->December);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$jan= $jan + round($result->January);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'January';?>"><?php echo round($result->January);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'January';?>"><?php echo round($result->January);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$feb= $feb + round($result->February);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'February';?>"><?php echo round($result->February);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'February';?>"><?php echo round($result->February);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$mar= $mar + round($result->March);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'March';?>"><?php echo round($result->March);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'March';?>"><?php echo round($result->March);?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$tot= $tot + round($result->qtotal);
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_year?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>"><?php echo round($result->qtotal);?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_year?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>"><?php echo round($result->qtotal);?> </a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -435,7 +435,7 @@
|
||||
foreach ($spurchse as $result) { ?>
|
||||
<tr>
|
||||
<td style="text-align:left;">
|
||||
<a href="<?= base_url() ?>report/ilink_purchase?sid=<?php echo $result->sid;?>&ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>"><?php echo $result->supplier_name;?> </a>
|
||||
<a href="<?= base_url() ?>report/ilink_purchase?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>"><?php echo $result->supplier_name;?> </a>
|
||||
</td>
|
||||
<td style="text-align:left;"><?php
|
||||
if(!empty($result->material_name)) { echo $result->material_name ; } else {echo "-";}
|
||||
@ -443,67 +443,67 @@
|
||||
<td style="text-align:right;"><?php
|
||||
$apr= $apr + number_format($result->vApril,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'April';?>"><?php echo number_format($result->vApril,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'April';?>"><?php echo number_format($result->vApril,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$may= $may + number_format($result->vMay,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'May';?>"><?php echo number_format($result->vMay,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'May';?>"><?php echo number_format($result->vMay,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$jun= $jun + number_format($result->vJune,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'June';?>"><?php echo number_format($result->vJune,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'June';?>"><?php echo number_format($result->vJune,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$jul= $jul + number_format($result->vJuly,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'July';?>"><?php echo number_format($result->vJuly,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'July';?>"><?php echo number_format($result->vJuly,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$aug= $aug + number_format($result->vAugust,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'August';?>"><?php echo number_format($result->vAugust,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'August';?>"><?php echo number_format($result->vAugust,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$sep= $sep + number_format($result->vSeptember,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'September';?>"><?php echo number_format($result->vSeptember,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'September';?>"><?php echo number_format($result->vSeptember,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$oct= $oct + number_format($result->vOctober,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'October';?>"><?php echo number_format($result->vOctober,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'October';?>"><?php echo number_format($result->vOctober,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$nov= $nov + number_format($result->vNovember,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'November';?>"><?php echo number_format($result->vNovember,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'November';?>"><?php echo number_format($result->vNovember,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$dec= $dec + number_format($result->vDecember,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'December';?>"><?php echo number_format($result->vDecember,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'December';?>"><?php echo number_format($result->vDecember,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$jan= $jan + number_format($result->vJanuary,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'January';?>"><?php echo number_format($result->vJanuary,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'January';?>"><?php echo number_format($result->vJanuary,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$feb= $feb + number_format($result->vFebruary,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'February';?>"><?php echo number_format($result->vFebruary,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'February';?>"><?php echo number_format($result->vFebruary,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$mar= $mar + number_format($result->vMarch,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>&m=<?php echo 'March';?>"><?php echo number_format($result->vMarch,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_month?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>&m=<?php echo 'March';?>"><?php echo number_format($result->vMarch,2,'.','');?> </a>
|
||||
</td>
|
||||
<td style="text-align:right;"><?php
|
||||
$tot= $tot + number_format($result->vtotal,2,'.','');
|
||||
?>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_year?ab=<?php echo $ab;?>&mid=<?php echo $result->mid;?>&sid=<?php echo $result->sid;?>"><?php echo number_format($result->vtotal,2,'.','');?> </a>
|
||||
<a href="<?= base_url() ?>report/i_consolidate_year?ab=<?php echo $ab;?>&cname=<?php echo $result->supplier_name;?>&prod=<?php echo $result->material_name;?>"><?php echo number_format($result->vtotal,2,'.','');?> </a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -77,7 +77,7 @@ if(!empty($mms))
|
||||
<tr>
|
||||
|
||||
<td><span>
|
||||
<a href="<?= base_url() ?>report/ilink_purchase?sid=<?php echo $rel->sid;?>&ab=<?php echo $ab;?>&mid=<?php echo $rel->mid;?>&m=<?php echo $m;?>"><?php echo $rel->supplier_name;?> </a>
|
||||
<a href="<?= base_url() ?>report/ilink_purchase?ab=<?php echo $ab;?>&cname=<?php echo $rel->supplier_name;?>&prod=<?php echo $rel->material_name;?>&month=<?php echo $m;?>"><?php echo $rel->supplier_name;?> </a>
|
||||
</span></td>
|
||||
<td><span><?php echo $rel->material_name;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
|
||||
@ -79,7 +79,7 @@ if(!empty($mms))
|
||||
<tr>
|
||||
|
||||
<td><span>
|
||||
<a href="<?= base_url() ?>report/ilink_purchase?sid=<?php echo $rel->sid;?>&ab=<?php echo $ab;?>&mid=<?php echo $rel->mid;?>"><?php echo $rel->supplier_name;?> </a>
|
||||
<a href="<?= base_url() ?>report/ilink_purchase?ab=<?php echo $ab;?>&cname=<?php echo $rel->supplier_name;?>&prod=<?php echo $rel->material_name;?>"><?php echo $rel->supplier_name;?> </a>
|
||||
</span></td>
|
||||
<td><span><?php echo $rel->material_name;?></span></td>
|
||||
<td style="text-align:right"><span><?php
|
||||
|
||||
@ -909,14 +909,17 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
<div class="description-block border-right">
|
||||
<?php foreach($servicebudgt as $service)
|
||||
if(!empty($servicebal))
|
||||
{
|
||||
{
|
||||
foreach($servicebal as $serviceb)
|
||||
$sb=$service->totalservicebudget-$serviceb->service;
|
||||
{
|
||||
?>
|
||||
<div class="knob-label"><strong style="color:#00c0ef">SERVICE BUDGET</strong></div>
|
||||
<input type="text" class="knob" data-thickness="0.4" data-readonly="true" value=<?php echo $serviceb->balservicebudget;?> data-min="20" data-max=<?php echo $service->totalservicebudget;?> data-width="" data-height="" data-fgColor="#00c0ef "> <br>
|
||||
<input type="text" class="knob" data-thickness="0.4" data-readonly="true" value=<?php
|
||||
echo $sb;?> data-min="20" data-max=<?php echo $service->totalservicebudget;?> data-width="" data-height="" data-fgColor="#00c0ef "> <br>
|
||||
<div class="knob-label"><strong>TOTAL : <i class="fa fa-rupee " ></i> <?php echo $service->totalservicebudget;?></strong></div>
|
||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee " ></i> <?php echo $serviceb->balservicebudget;?></strong></div>
|
||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee " ></i> <?php
|
||||
echo $sb;?></strong></div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user