mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
remove payment options from custom driver
This commit is contained in:
parent
d45571d7f9
commit
37f79247ac
@ -1,33 +1,13 @@
|
||||
@extends('portal.ninja2020.layout.payments', ['gateway_title' => $title, 'card_title' => $title])
|
||||
|
||||
@section('gateway_content')
|
||||
<form action="{{ route('client.payments.response') }}" method="post" id="response-form">
|
||||
@csrf
|
||||
<input type="hidden" name="company_gateway_id" value="{{ $gateway->getCompanyGatewayId() }}">
|
||||
<input type="hidden" name="payment_method_id" value="{{ $payment_method_id }}">
|
||||
<input type="hidden" name="payment_hash" value="{{ $payment_hash }}">
|
||||
</form>
|
||||
|
||||
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.payment_type')])
|
||||
{{ $title }}
|
||||
@endcomponent
|
||||
|
||||
@include('portal.ninja2020.gateways.includes.payment_details')
|
||||
|
||||
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.instructions') ])
|
||||
@component('portal.ninja2020.components.general.card-element-single')
|
||||
{!! nl2br($instructions) !!}
|
||||
@endcomponent
|
||||
|
||||
@component('portal.ninja2020.components.general.card-element-single')
|
||||
@include('portal.ninja2020.gateways.includes.pay_now')
|
||||
@endcomponent
|
||||
@endsection
|
||||
|
||||
@section('gateway_footer')
|
||||
<script>
|
||||
document.getElementById('pay-now').addEventListener('click', function () {
|
||||
document.getElementById('response-form').submit();
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user