Single root element for wepay signups

This commit is contained in:
David Bomba 2022-09-16 13:01:04 +10:00
parent 090d4c994a
commit 774a05b148
2 changed files with 4 additions and 1 deletions

View File

@ -62,7 +62,8 @@ class ReminderJob implements ShouldQueue
{
nlog('Sending invoice reminders '.now()->format('Y-m-d h:i:s'));
Invoice::where('is_deleted', 0)
Invoice::query()
->where('is_deleted', 0)
->whereIn('status_id', [Invoice::STATUS_SENT, Invoice::STATUS_PARTIAL])
->whereNull('deleted_at')
->where('balance', '>', 0)

View File

@ -1,6 +1,7 @@
@extends('portal.ninja2020.layout.clean', ['custom_body_class' => 'bg-gray-50'])
@section('meta_title', ctrans('texts.sign_up_with_wepay'))
<div>
@section('body')
<div class="flex flex-col justify-center items-center mt-10">
<img src="{{ asset('images/wepay.svg') }}" alt="We Pay">
@ -8,6 +9,7 @@
@livewire('wepay-signup', ['user_id' => $user_id, 'company' => $company])
@endsection
</div>
@push('footer')
<script>