1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/resources/views/billing-portal/purchase.blade.php

17 lines
653 B
PHP
Raw Normal View History

2021-03-11 17:20:30 +01:00
@extends('portal.ninja2020.layout.clean')
2021-03-15 17:33:27 +01:00
@section('meta_title', $billing_subscription->product->product_key)
2021-03-11 17:20:30 +01:00
@section('body')
2021-03-15 17:33:27 +01:00
@livewire('billing-portal-purchase', ['billing_subscription' => $billing_subscription, 'contact' => auth('contact')->user(), 'hash' => $hash])
2021-03-11 17:20:30 +01:00
@stop
2021-03-15 17:33:27 +01:00
@push('footer')
<script>
function updateGatewayFields(companyGatewayId, paymentMethodId) {
document.getElementById('company_gateway_id').value = companyGatewayId;
document.getElementById('payment_method_id').value = paymentMethodId;
document.getElementById('payment-method-form').submit();
}
</script>
@endpush