This commit is contained in:
parent
e5941266ed
commit
10d8128133
|
@ -1,4 +1,4 @@
|
|||
hedera-web (23.6.2) stable; urgency=low
|
||||
hedera-web (23.6.3) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1 +1,8 @@
|
|||
Pending: Pendents
|
||||
PendingOrders: Comandes pendents
|
||||
NewOrder: Nova comanda
|
||||
ViewOrder: Veure comanda
|
||||
RemoveOrder: Eliminar comanda
|
||||
LoadOrderIntoCart: Carregar comanda a la cistella
|
||||
AreYouSureDeleteOrder: Segur que vols esborrar la comanda?
|
||||
OrderLoadedIntoBasket: Comanda carregada a la cistella!
|
||||
|
|
|
@ -1 +1,8 @@
|
|||
Pending: Pending
|
||||
PendingOrders: Pending orders
|
||||
NewOrder: New order
|
||||
ViewOrder: View order
|
||||
RemoveOrder: Delete order
|
||||
LoadOrderIntoCart: Load order into cart
|
||||
AreYouSureDeleteOrder: Are you sure you want to delete the order?
|
||||
OrderLoadedIntoBasket: Order loaded into basket!
|
||||
|
|
|
@ -1 +1,8 @@
|
|||
Pending: Pendents
|
||||
Pending: En attente
|
||||
PendingOrders: Commandes en attente
|
||||
NewOrder: Nouvelle commande
|
||||
ViewOrder: Afficher la commande
|
||||
RemoveOrder: Supprimer la commande
|
||||
LoadOrderIntoCart: Charger la commande dans le panier
|
||||
AreYouSureDeleteOrder: Êtes-vous sûr de vouloir supprimer la commande?
|
||||
OrderLoadedIntoBasket: Commande chargée dans le panier!
|
||||
|
|
|
@ -1 +1,8 @@
|
|||
Pending: Pendientes
|
||||
Pending: Pendentes
|
||||
PendingOrders: Pedidos pendentes
|
||||
NewOrder: Novo pedido
|
||||
ViewOrder: Ver pedido
|
||||
RemoveOrder: Excluir pedido
|
||||
LoadOrderIntoCart: Carrega o pedido no carrinho
|
||||
AreYouSureDeleteOrder: Tem certeza de que deseja excluir o pedido?
|
||||
OrderLoadedIntoBasket: Pedido carregado na cesta!
|
||||
|
|
|
@ -32,9 +32,12 @@ module.exports = class {
|
|||
continue: 'catalog'
|
||||
};
|
||||
|
||||
if (err.code == 'orderNotOwnedByUser') {
|
||||
switch(err.code) {
|
||||
case 'orderConfirmed':
|
||||
case 'orderNotOwnedByUser':
|
||||
this.constructor.unload();
|
||||
} else {
|
||||
break;
|
||||
default:
|
||||
dst.id = this.orderId;
|
||||
Htk.Toast.showError(err.message);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "23.6.2",
|
||||
"version": "23.6.3",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -48,13 +48,13 @@ class JsonService extends RestService {
|
|||
|
||||
$json = new JsonException();
|
||||
|
||||
if (_ENABLE_DEBUG || $errno & $eUser)
|
||||
if (_ENABLE_DEBUG || $errno & $eUser) {
|
||||
$json->message = $message;
|
||||
else
|
||||
$json->code = $errno;
|
||||
} else
|
||||
$json->message = s('Something went wrong');
|
||||
|
||||
if (_ENABLE_DEBUG) {
|
||||
$json->code = $errno;
|
||||
$json->file = $file;
|
||||
$json->line = $line;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue