diff --git a/app/Services/Chart/ChartQueries.php b/app/Services/Chart/ChartQueries.php index 8771bdc2afbe..6224f98d3c53 100644 --- a/app/Services/Chart/ChartQueries.php +++ b/app/Services/Chart/ChartQueries.php @@ -117,7 +117,7 @@ trait ChartQueries GROUP BY invoices.date HAVING currency_id = :currency_id "), [ - 'company_currency' => $this->company->settings->currency_id, + 'company_currency' => (int)$this->company->settings->currency_id, 'currency_id' => $currency_id, 'company_id' => $this->company->id, 'start_date' => $start_date, diff --git a/resources/views/portal/ninja2020/gateways/stripe/ach/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/ach/pay.blade.php index 5a1fc11b44cb..8e7dbd193a7f 100644 --- a/resources/views/portal/ninja2020/gateways/stripe/ach/pay.blade.php +++ b/resources/views/portal/ninja2020/gateways/stripe/ach/pay.blade.php @@ -15,24 +15,24 @@ @section('gateway_content') + +
+ @csrf + + + + + + + + + +
@if(count($tokens) > 0) @include('portal.ninja2020.gateways.includes.payment_details') -
- @csrf - - - - - - - - - -
- @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.pay_with')]) @if(count($tokens) > 0) @foreach($tokens as $token) @@ -52,6 +52,11 @@ @else + @component('portal.ninja2020.components.general.card-element-single') + + + @endcomponent + @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.account_holder_name')]) @endcomponent @@ -71,87 +76,40 @@ {{ $slot ?? ctrans('texts.new_bank_account') }} - -
-
- - - -
-
- @endif @endsection - - - @push('footer') -@endpush +@endpush \ No newline at end of file