[IMP] pos_loyalty: replace error popup by a less alarming alert

This commit is contained in:
Frédéric van der Essen
2015-05-04 14:13:43 +02:00
parent df58b823ff
commit 64cb8cf8ab
+1 -1
View File
@@ -358,7 +358,7 @@ var LoyaltyButton = screens.ActionButtonWidget.extend({
var rewards = order.get_available_rewards();
if (rewards.length === 0) {
this.gui.show_popup('error',{
this.gui.show_popup('alert',{
'title': 'No Rewards Available',
'body': 'There are no rewards available for this customer as part of the loyalty program',
});