Skip to content

Commit

Permalink
Cubo Cargos
Browse files Browse the repository at this point in the history
  • Loading branch information
elyambay committed Dec 5, 2019
1 parent 8b83980 commit d0ef0e8
Show file tree
Hide file tree
Showing 7 changed files with 794 additions and 1,171 deletions.
8 changes: 8 additions & 0 deletions app/Http/Controllers/Admin/ReportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ public function filterNiveles(){
->with('rubros', $rubros);
}

public function filterCargos(){
$rubro = Rubro::first()->id;
$periodos = $this->getPeriodos($rubro);
$rubros = $this->getRubros();
return view('admin.reportes.filter_cargos')->with('periodos', $periodos)
->with('rubros', $rubros);
}

/**
* Show the form for creating a new resource.
*
Expand Down
1,294 changes: 124 additions & 1,170 deletions app/Http/Controllers/ReporteController.php

Large diffs are not rendered by default.

Loading

0 comments on commit d0ef0e8

Please sign in to comment.