diff --git a/Controller/ApiController.php b/Controller/ApiController.php index aae0e38..f993fef 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -279,7 +279,7 @@ final class ApiController extends Controller ->with('elements/item') ->with('supplier') ->with('client') - ->where('id', $isBillElement ? $new->bill->id : $new->id) + ->where('id', $isBillElement ? $new->bill->id : $new->id) /* @phpstan-ignore-line */ ->where('type/transferStock', true) ->execute();