@extends(getTemplate().'.view.layout.layout') @section('page')
@include('flash::message')

Payment

{!! Form::model($payment, ['route' => ['payments.update', $payment->id], 'method' => 'patch']) !!} @if(isset($payment))

{{ $payment->content['title']}} ({{ currencySign()}}{{number_format($payment->content['price'])}})

@endif
{!! Form::label('amount', 'Amount:') !!} {{currencySign()}} {!! Form::number('amount', null, ['class' => 'form-control']) !!}
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} Cancel
{!! Form::close() !!}
@if(!empty($otherPayments))

Other courses that the user added to cart

@endif @foreach($otherPayments as $otherPayment) @endforeach
{{ $otherPayment->content['title'] }} {{ currencySign() }}{{ number_format($otherPayment->amount) }}
@endsection