parent
3b7c25b106
commit
c89caf7855
@ -70,6 +70,7 @@
|
|||||||
.catch((err) => {});
|
.catch((err) => {});
|
||||||
}
|
}
|
||||||
function generateSponsoringContract(locale) {
|
function generateSponsoringContract(locale) {
|
||||||
|
sponsoring_contracts_download_open = false;
|
||||||
const toast = Toastify({
|
const toast = Toastify({
|
||||||
text: $_("generating-pdf"),
|
text: $_("generating-pdf"),
|
||||||
duration: -1,
|
duration: -1,
|
||||||
@ -120,7 +121,6 @@
|
|||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -235,14 +235,18 @@
|
|||||||
class="block w-full text-left px-4 py-2 text-sm text-gray-700">Select
|
class="block w-full text-left px-4 py-2 text-sm text-gray-700">Select
|
||||||
language</span>
|
language</span>
|
||||||
<button
|
<button
|
||||||
on:click={() =>{generateSponsoringContract("de")}}
|
on:click={() => {
|
||||||
|
generateSponsoringContract('de');
|
||||||
|
}}
|
||||||
type="submit"
|
type="submit"
|
||||||
class="block w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"
|
class="block w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"
|
||||||
role="menuitem">
|
role="menuitem">
|
||||||
German
|
German
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
on:click={() =>{generateSponsoringContract("en")}}
|
on:click={() => {
|
||||||
|
generateSponsoringContract('en');
|
||||||
|
}}
|
||||||
type="submit"
|
type="submit"
|
||||||
class="block w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"
|
class="block w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"
|
||||||
role="menuitem">
|
role="menuitem">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user