Invoice report

This commit is contained in:
2018-03-07 17:03:45 +01:00
parent f540bab261
commit ad478b02b1
25 changed files with 1006 additions and 125 deletions
@@ -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 );
}