1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/app/views/payments/payment.blade.php

215 lines
5.6 KiB
PHP
Raw Normal View History

2014-05-13 23:53:41 +02:00
@extends('public.header')
2014-02-02 19:14:56 +01:00
@section('content')
2014-05-13 23:53:41 +02:00
<style type="text/css">
2014-02-02 19:14:56 +01:00
div > label.control-label
{
2014-05-13 16:05:26 +02:00
font-weight: bold !important;
2014-05-13 21:20:54 +02:00
/* text-transform:uppercase; */
2014-05-13 16:05:26 +02:00
}
2014-05-13 23:53:41 +02:00
</style>
{{ Former::vertical_open('payment/' . $invitationKey)->rules(array(
2014-05-20 08:59:33 +02:00
'first_name' => 'required',
'last_name' => 'required',
'card_number' => 'required',
'expiration_month' => 'required',
'expiration_year' => 'required',
'cvv' => 'required',
'address1' => 'required',
'city' => 'required',
'state' => 'required',
'postal_code' => 'required',
'country' => 'required',
'phone' => 'required',
'email' => 'required'
2014-05-13 23:53:41 +02:00
)) }}
{{ Former::populate($client) }}
{{ Former::populateField('first_name', $contact->first_name) }}
{{ Former::populateField('last_name', $contact->last_name) }}
<section class="hero background hero-secure center" data-speed="2" data-type="background">
<div class="container">
<div class="row">
<h1>Secure Payment</h1>
<p class="thin"><img src="{{ asset('images/icon-secure-pay.png') }}">256-BiT Encryption</p>
<!-- <img src="{{ asset('images/providers.png') }}"> -->
</div>
</div>
</section>
<section class="secure">
<div class="container">
<div id="secure-form" class="row">
<div class="col-md-7 info">
2014-05-20 08:59:33 +02:00
<div class="row">
<div class="form-group col-md-6">
{{ Former::text('first_name') }}
</div>
<div class="form-group col-md-6">
{{ Former::text('last_name') }}
2014-05-13 23:53:41 +02:00
</div>
2014-05-20 08:59:33 +02:00
</div>
2014-02-02 19:14:56 +01:00
2014-05-20 08:59:33 +02:00
<div class="row">
<div class="form-group col-md-12">
{{ Former::text('address1')->label('Street') }}
2014-05-13 23:53:41 +02:00
</div>
2014-05-20 08:59:33 +02:00
</div>
2014-05-13 23:53:41 +02:00
2014-05-20 08:59:33 +02:00
<div class="row">
<div class="form-group col-md-3">
{{ Former::text('address2')->label('Apt/Suite') }}
</div>
2014-05-13 23:53:41 +02:00
2014-05-20 08:59:33 +02:00
<div class="form-group col-md-3">
{{ Former::text('city') }}
</div>
2014-05-13 23:53:41 +02:00
2014-05-20 08:59:33 +02:00
<div class="form-group col-md-3">
{{ Former::text('state')->label('State/Province') }}
</div>
2014-05-13 23:53:41 +02:00
2014-05-20 08:59:33 +02:00
<div class="form-group col-md-3">
{{ Former::text('postal_code') }}
2014-05-13 23:53:41 +02:00
</div>
2014-05-13 16:05:26 +02:00
</div>
2014-05-20 08:59:33 +02:00
</div>
2014-05-13 23:53:41 +02:00
2014-05-20 08:59:33 +02:00
@if(strtolower($gateway->name) == 'beanstream')
<div class="row">
<div class="form-group col-md-4">
{{ Former::text('phone') }}
</div>
<div class="form-group col-md-4">
{{ Former::text('email') }}
</div>
<div class="form-group col-md-4">
{{ Former::select('country')->addOption('','')->label('Country')
->fromQuery($countries, 'name', 'iso_3166_2') }}
</div>
</div>
@endif
2014-05-13 23:53:41 +02:00
2014-05-20 08:59:33 +02:00
<div class="col-md-5">
<div class="card">
<div class="row">
<div class="form-group col-md-12">
{{ Former::text('card_number') }}
<!-- <span class="glyphicon glyphicon-lock"></span> -->
2014-05-13 23:53:41 +02:00
</div>
</div>
2014-05-20 08:59:33 +02:00
<div class="row">
<div class="form-group col-md-6">
{{ Former::select('expiration_month')->addOption('','')
->addOption('01 - January', '1')
->addOption('02 - February', '2')
->addOption('03 - March', '3')
->addOption('04 - April', '4')
->addOption('05 - May', '5')
->addOption('06 - June', '6')
->addOption('07 - July', '7')
->addOption('08 - August', '8')
->addOption('09 - September', '9')
->addOption('10 - October', '10')
->addOption('11 - November', '11')
->addOption('12 - December', '12')
}}
2014-05-13 23:53:41 +02:00
2014-05-20 08:59:33 +02:00
</div>
<div class="form-group col-md-6">
{{ Former::select('expiration_year')->addOption('','')
->addOption('2014', '2014')
->addOption('2015', '2015')
->addOption('2016', '2016')
->addOption('2017', '2017')
->addOption('2018', '2018')
->addOption('2019', '2019')
->addOption('2020', '2020')
}}
2014-05-13 23:53:41 +02:00
2014-05-13 16:05:26 +02:00
</div>
</div>
2014-05-20 08:59:33 +02:00
2014-05-13 16:05:26 +02:00
<div class="row">
2014-05-20 08:59:33 +02:00
<div class="form-group col-md-6">
{{ Former::text('cvv') }}
</div>
<div class="col-md-6">
<!-- <p><span class="glyphicon glyphicon-credit-card" style="margin-right: 10px;"></span><a href="#">Where Do I find CVV?</a></p> -->
2014-05-13 16:05:26 +02:00
</div>
2014-05-20 08:59:33 +02:00
</div>
2014-05-13 23:53:41 +02:00
</div>
2014-05-20 08:59:33 +02:00
</div>
</div>
<div class="row">
<div class="col-md-12">
{{ Button::block_primary_submit_lg(strtoupper(trans('texts.pay_now')) . ' - ' . Utils::formatMoney($invoice->amount, $client->currency_id) ) }}
2014-05-13 23:53:41 +02:00
</div>
</div>
2014-05-20 08:59:33 +02:00
</div>
</div>
2014-05-13 16:05:26 +02:00
2014-04-02 15:10:00 +02:00
2014-05-13 23:53:41 +02:00
</section>
2014-02-02 19:14:56 +01:00
2014-05-13 23:53:41 +02:00
<!--
2014-02-02 19:14:56 +01:00
</div>
2014-05-13 16:05:26 +02:00
<div class="col-md-5 col-md-offset-1" style="background-color:#DDD;padding-top:16px">
<div class="row">
<div class="col-md-12">
{{ Former::text('card_number') }}
</div>
</div>
<div class="row">
<div class="col-md-6">
</div>
<div class="col-md-6">
</div>
</div>
<div class="row">
<div class="col-md-6">
{{ Former::text('cvv') }}
</div>
</div>
</div>
<p>&nbsp;<p/>
<p>&nbsp;<p/>
<div class="row">
<div class="col-md-12">
{{ Button::block_primary_submit_lg(strtoupper(trans('texts.pay_now')) . ' - ' . Utils::formatMoney($invoice->amount, $client->currency_id) ) }}
</div>
</div>
</div>
2014-05-13 23:53:41 +02:00
-->
2014-05-13 16:05:26 +02:00
2014-02-02 19:14:56 +01:00
2014-05-13 23:53:41 +02:00
{{ Former::close() }}
2014-02-02 19:14:56 +01:00
@stop