Resolve "Report to track battery compatibility conflict" #1042

Merged
korina.cordero merged 5 commits from 197-report-to-track-battery-compatibility-conflict into master 2019-04-04 06:55:58 +00:00
3 changed files with 21 additions and 0 deletions
Showing only changes of commit a22816d18a - Show all commits

View file

@ -248,3 +248,5 @@ access_keys:
label: Menu
- id: report.reject
label: Rejection Report
- id: report.battery.conflict
label: Battery Conflict Report

View file

@ -17,3 +17,13 @@ rep_reject_detail_submit:
path: /report/rejection_detail
controller: App\Controller\ReportController::rejectDetailSubmit
methods: [POST]
rep_battery_conflict_form:
path: /report/battery_conflict
controller: App\Controller\ReportController::batteryConflictForm
methods: [GET]
rep_battery_conflict_submit:
path: /report/battery_conflict
controller: App\Controller\ReportController::batteryConflictSubmit
methods: [POST]

View file

@ -260,4 +260,13 @@ class ReportController extends BaseController
]);
*/
}
public function batteryConflictForm()
{
$this->denyAccessUnlessGranted('report.battery.conflict', null, 'No access.');
$params = $this->initParameters();
return $this->render('', $params);
}
}