Invoice report
This commit is contained in:
@@ -62,6 +62,17 @@ class EmployeeHoursController extends MY_Controller {
|
||||
|
||||
$result = $query->result();
|
||||
|
||||
foreach ( $result as $project )
|
||||
{
|
||||
$sql = QinvoiceMonthOverview::fire( $project->id, $year );
|
||||
|
||||
$query = $this->db->query( $sql );
|
||||
|
||||
$months = $query->result();
|
||||
|
||||
$project->months = $months;
|
||||
}
|
||||
|
||||
$this->json( $result );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user