mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 21:52:35 +01:00
19 lines
657 B
PHP
19 lines
657 B
PHP
@extends('portal.ninja2020.layout.clean')
|
|
@section('meta_title', ctrans('texts.purchase'))
|
|
|
|
@section('body')
|
|
@livewire('billing-portal.purchase', ['subscription' => $subscription, 'db' => $subscription->company->db, 'hash' => $hash, 'request_data' => $request_data, 'campaign' => request()->query('campaign') ?? null])
|
|
@stop
|
|
|
|
@push('footer')
|
|
<script>
|
|
document.addEventListener('livewire:init', () => {
|
|
Livewire.on('purchase.submit', () => {
|
|
setTimeout(() => {
|
|
document.getElementById('payment-method-form').submit()
|
|
}, 2000);
|
|
});
|
|
});
|
|
</script>
|
|
@endpush
|