- SELECT o.id, o.sent, o.deliveryMethodFk, o.total,
+ SELECT o.id, o.sent, o.deliveryMethodFk, o.taxableBase,
a.nickname, am.description agency
FROM myOrder o
JOIN myAddress a ON a.id = o.addressFk
@@ -33,7 +33,7 @@
#{{iter.id}}
{{iter.nickname}}
{{iter.agency}}
- {{Vn.Value.format(iter.total, '%.2d€')}}
+ {{Vn.Value.format(iter.taxableBase, '%.2d€')}}
getValue(
'SELECT COUNT(*) > 0 FROM vn.client WHERE id = #',
[$userId]
@@ -24,7 +24,7 @@ class Supplant extends Vn\Web\JsonRequest {
);
if ($hasAccount)
throw new Web\ForbiddenException(s('The user is not impersonable'));
-*/
+
return $this->service->createToken($_REQUEST['supplantUser']);
}
}