@extends('layouts.app') @section('page-title')
{{ __($pageTitle) }}
@lang('app.menu.home')
{{ __($pageTitle) }}
@lang('app.addNew')
@endsection @push('head-script')
@endpush @section('content')
@lang('modules.payments.addPayment')
{!! Form::open(['id'=>'createPayment','class'=>'ajax-form','method'=>'POST']) !!}
{!! Form::hidden('invoice_id', $invoice->id) !!}
{{ $invoice->invoice_number }}
@if($invoice->project_id)
@lang('app.project')
{{ $invoice->project->project_name }}
@endif
@lang('modules.invoices.amount')
{{ $invoice->currency->currency_symbol.' '.$invoice->total }}
@lang('modules.invoices.paid')
{{ $invoice->currency->currency_symbol}} {{ $paidAmount }}
@lang('modules.invoices.due')
{{ $invoice->currency->currency_symbol}} {{ max(($invoice->total-$paidAmount),0) }}
@lang('modules.payments.amount')
@lang('modules.payments.paymentGateway')
Paypal, Authorize.net, Stripe, Bank Transfer, Cash or others.
@lang('modules.payments.transactionId')
@lang('modules.payments.paidOn')
@lang('modules.payments.remark')
@lang('app.save')
{!! Form::close() !!}
@endsection @push('footer-script') @endpush