@if(!empty($attributes)) @props(['sub', 'payable' => false, 'mandate', 'bacspms' => []]) @endif
| @if(empty($sub->package())) No internet package @else {!! $sub->package()->title !!} - {!! $sub->package()->getDownSpeedUnit() !!} - {!! $sub->package()->getLengthRaw() !!}months @endif | |
|---|---|
| Start date: We will confirm an exact start date once you are live. | |
| Start | {!! $sub->startDate()->format('jS M Y') !!} |
| End | {!! $sub->endDate()->format('jS M Y') !!} |
| @if($sub->state() == 0) First payment due @else Next payment date @endif | {!! $sub->getDue() !!} |
| Internet service | {!! $sub->packagePrice() !!} |
| {!! $prod->title !!} | {!! $prod->price() !!} |
| Discount | -£{!! $sub->discount_amount !!} @if(!empty($sub->discount_months)) for {!! $sub->discount_months !!} months @endif |
| Discounted monthly payment | {!! $sub->priceMonthly() !!} |
| Regular monthly payment | {!! $sub->priceMonthly(true) !!} |
| Total monthly payment | {!! $sub->priceMonthly() !!} |
| VAT (included in prices) | @php $vat = $sub->totalPriceRaw() * 0.2; echo("£".number_format($vat, 2)); @endphp |
| Subscription payment currently over due by {!! $sub->getOverDueDays() !!} days. Your first payment if made now will be for approximately | £{!! $sub->firstPaymentCost() !!} |
| The last invoice showing as paid on our records was {{ \Carbon\Carbon::parse($sub->lastPaidInvoice()->period_end)->format('d/m/Y') }}. Service payments are overdue by {!! $sub->getOverDueDays() !!} days. | £{!! $sub->overDueCost() !!} |
| Missing stripe payment object, please contact support. | |
|
@if(!empty($bacspms->data) && sizeof($bacspms->data) > 1)
{!! Form::open(['route' => 'update_customer_subscription','method' => 'post']) !!}
{!! Form::token() !!}
{!! Form::hidden('subscription_id', $sub->stripe_id) !!}
{!! Form::hidden('lead_uuid', $sub->lead->uuid) !!}
Payment method:
{!! Form::close() !!}
@endif
@if($sub->state() == 1)
@elseif($sub->state() == 2 || $sub->state() == 7)
@else
@endif
{!! $sub->stateLong() !!}
| |
|
@if($mandate->status == 'active')
{!! Form::open(['route' => 'confirm_subscription','method' => 'post']) !!}
{!! Form::token() !!}
{!! Form::hidden('subscription_id', $sub->id) !!}
{!! Form::close() !!}
@elseif($mandate->status == 'pending')
Payment will be taken when your payment method completes processing
@elseif($mandate->status == 'inactive')
There is a problem with your payment method, please resolve it at the top of this page.
@endif
| |
|
Debugging info
@php dump($sub); @endphp | |