Generate and print bulk blank cards feature/116-download_blanc_cards #117

Merged
niggl merged 10 commits from feature/116-download_blanc_cards into dev 2021-03-30 16:27:50 +00:00
Showing only changes of commit 1d999d4910 - Show all commits

View File

@ -34,7 +34,7 @@
text: $_("creating-blanco-cards"),
duration: -1,
}).showToast();
RunnerCardService.runnerCardControllerPostBlancoBulk(card_count)
RunnerCardService.runnerCardControllerPostBlancoBulk(card_count, false)
.then((result) => {
bulk_modal_open = false;
//
@ -62,8 +62,7 @@
text: $_("creating-blanco-cards"),
duration: -1,
}).showToast();
//TODO: Adjust generation function, when backend is merged
RunnerCardService.runnerCardControllerPostBlancoBulk(card_count)
RunnerCardService.runnerCardControllerPostBlancoBulk(card_count, true)
.then((result) => {
bulk_modal_open = false;
//
@ -72,6 +71,7 @@
duration: 500,
backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)",
}).showToast();
current_cards = current_cards.concat(result);
const toast = Toastify({
text: $_("generating-pdf"),
duration: -1,