use dynamic billing extension setting in the frontend

This commit is contained in:
Gregor Vostrak
2024-04-21 01:52:36 +02:00
parent 0f85c65d5f
commit 4446a7e3d7

View File

@@ -1,3 +1,9 @@
import { usePage } from '@inertiajs/vue3';
export function isBillingActivated() {
return true;
const page = usePage<{
has_billing_extension: boolean;
}>();
return page.props.has_billing_extension;
}