Finalize stock booking undo API (references #63 and #97)

This commit is contained in:
Bernd Bestel
2018-10-27 10:19:06 +02:00
parent 1080c3486c
commit 3e6cf545d7
5 changed files with 23 additions and 17 deletions

View File

@@ -170,7 +170,7 @@ class StockApiController extends BaseApiController
{
try
{
$this->ApiResponse($this->StockService->UndoBooking($args['stockLogId']));
$this->ApiResponse($this->StockService->UndoBooking($args['bookingId']));
return $this->ApiResponse(array('success' => true));
}
catch (\Exception $ex)