mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
add terms and policy popup
This commit is contained in:
parent
ac7d8b40fa
commit
476aa54195
@ -122,6 +122,25 @@
|
|||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="col-span-12 md:col-span-6">
|
||||||
|
<span class="inline-flex items-center" x-data="{ terms_of_service: false, privacy_policy: false }">
|
||||||
|
@if(!empty($subscription->company->settings->client_portal_terms) || !empty($subscription->company->settings->client_portal_privacy_policy))
|
||||||
|
<input type="checkbox" name="terms" class="form-checkbox mr-2 cursor-pointer" checked>
|
||||||
|
<span class="text-sm text-gray-800">
|
||||||
|
|
||||||
|
{{ ctrans('texts.i_agree_to_the') }}
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@includeWhen(!empty($subscription->company->settings->client_portal_terms), 'portal.ninja2020.auth.includes.register.popup', ['property' => 'terms_of_service', 'title' => ctrans('texts.terms_of_service'), 'content' => $subscription->company->settings->client_portal_terms])
|
||||||
|
@includeWhen(!empty($subscription->company->settings->client_portal_privacy_policy), 'portal.ninja2020.auth.includes.register.popup', ['property' => 'privacy_policy', 'title' => ctrans('texts.privacy_policy'), 'content' => $subscription->company->settings->client_portal_privacy_policy])
|
||||||
|
|
||||||
|
@error('terms')
|
||||||
|
<p class="text-red-600">{{ $message }}</p>
|
||||||
|
@enderror
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
class="button button-block bg-primary text-white mt-4">
|
class="button button-block bg-primary text-white mt-4">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user