Wijzigingen nav opmerking Peter 24-12-2018
This commit is contained in:
@@ -27,9 +27,15 @@ class OffersController extends MY_Controller {
|
||||
|
||||
}
|
||||
|
||||
public function getAllOffers( $projectID, $archive = 'F' )
|
||||
public function getAllOffers()
|
||||
{
|
||||
$offers = Offer::getAllOffers( $projectID, $archive );
|
||||
$projectID = $this->clean_input( 'projectID' );
|
||||
$archive = $this->clean_input( 'archive' );
|
||||
$search = $this->clean_input( 'search' );
|
||||
$order = $this->clean_input( 'order' );
|
||||
$direction = $this->clean_input( 'direction' );
|
||||
|
||||
$offers = Offer::getAllOffers( $projectID, $archive, $search, $order, $direction );
|
||||
|
||||
$this->json( $offers );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user