diff --git a/resources/js/views/invoice/Index.vue b/resources/js/views/invoice/Index.vue
index 4e9fd0b7..1419b5d3 100644
--- a/resources/js/views/invoice/Index.vue
+++ b/resources/js/views/invoice/Index.vue
@@ -114,6 +114,7 @@
+
@@ -143,4 +144,9 @@ async function sendMassstore() {
await axios.post(meta.value.links['mass-store'], massstore.value);
massstore.value = null;
}
+
+async function markAsPaid(invoice) {
+ await axios.patch(invoice.links.update, {...invoice, status: 'Rechnung beglichen'});
+ await reloadPage();
+}