1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-23 12:52:20 +01:00

(feat) add success info after reservation is paid

This commit is contained in:
Du Peng 2023-06-28 12:05:15 +02:00
parent ad40661594
commit 25debb4141
3 changed files with 4 additions and 1 deletions

View File

@ -609,10 +609,11 @@ Application.Controllers.controller('ShowEventReservationsController', ['$scope',
if (r.id === reservation.id) { if (r.id === reservation.id) {
return reservation; return reservation;
} }
growl.success(_t('app.admin.event_reservations.reservation_was_successfully_paid'));
return r; return r;
}); });
}, function () { }, function () {
$log.info('Pay reservation modal dismissed at: ' + new Date()); console.log('Pay reservation modal dismissed at: ' + new Date());
}); });
}; };
}]); }]);

View File

@ -656,6 +656,7 @@ en:
confirm_payment_of_html: "{ROLE, select, admin{Cash} other{Pay}}: {AMOUNT}" #(contexte : validate a payment of $20,00) confirm_payment_of_html: "{ROLE, select, admin{Cash} other{Pay}}: {AMOUNT}" #(contexte : validate a payment of $20,00)
offer_this_reservation: "I offer this reservation" offer_this_reservation: "I offer this reservation"
i_have_received_the_payment: "I have received the payment" i_have_received_the_payment: "I have received the payment"
reservation_was_successfully_paid: "Reservation was successfully paid."
events_settings: events_settings:
title: "Settings" title: "Settings"
generic_text_block: "Editorial text block" generic_text_block: "Editorial text block"

View File

@ -656,6 +656,7 @@ fr:
confirm_payment_of_html: "{ROLE, select, admin{Encaisser} other{Payer}} : {AMOUNT}" #(contexte : validate a payment of $20,00) confirm_payment_of_html: "{ROLE, select, admin{Encaisser} other{Payer}} : {AMOUNT}" #(contexte : validate a payment of $20,00)
offer_this_reservation: "J'offre cette réservation" offer_this_reservation: "J'offre cette réservation"
i_have_received_the_payment: "J'ai reçu le paiement" i_have_received_the_payment: "J'ai reçu le paiement"
reservation_was_successfully_paid: "La réservation a bien été payée."
events_settings: events_settings:
title: "Paramètres" title: "Paramètres"
generic_text_block: "Bloc de texte rédactionnel" generic_text_block: "Bloc de texte rédactionnel"