mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 19:14:40 -04:00
Working on the portal
This commit is contained in:
parent
8a8483bcbd
commit
d004f89b0e
@ -348,15 +348,17 @@
|
|||||||
@include('payments.paymentmethods_list')
|
@include('payments.paymentmethods_list')
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@if ($client->hasRecurringInvoices())
|
<div class="pull-right">
|
||||||
<div class="pull-right">
|
@if ($client->hasRecurringInvoices())
|
||||||
{!! Button::primary(strtoupper(trans("texts.recurring")))->asLinkTo(URL::to('/client/invoices/recurring')) !!}
|
{!! Button::primary(strtoupper(trans("texts.recurring")))->asLinkTo(URL::to('/client/invoices/recurring')) !!}
|
||||||
{!! Button::success(strtoupper(trans("texts.edit_details")))->asLinkTo(URL::to('/client/details')) !!}
|
@endif
|
||||||
</div>
|
{!! Button::success(strtoupper(trans("texts.edit_details")))->asLinkTo(URL::to('/client/details')) !!}
|
||||||
@endif
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
<div class="row" id="account-row">
|
<div class="row" id="account-row">
|
||||||
<div class="col-md-2 invoices-from">
|
<div class="col-md-2 invoices-from">
|
||||||
{{trans('texts.invoice_from')}}
|
{{trans('texts.invoice_from')}}
|
||||||
|
@ -18,15 +18,13 @@
|
|||||||
->addClass('payment-form')
|
->addClass('payment-form')
|
||||||
->id('payment-form')
|
->id('payment-form')
|
||||||
->rules(array(
|
->rules(array(
|
||||||
'first_name' => 'required',
|
'name' => 'required',
|
||||||
'last_name' => 'required',
|
'vat_number' => 'required',
|
||||||
'address1' => 'required',
|
'address1' => 'required',
|
||||||
'city' => 'required',
|
'city' => 'required',
|
||||||
'state' => 'required',
|
'state' => 'required',
|
||||||
'postal_code' => 'required',
|
'postal_code' => 'required',
|
||||||
'country_id' => 'required',
|
'country_id' => 'required',
|
||||||
'phone' => 'required',
|
|
||||||
'email' => 'required|email',
|
|
||||||
)) !!}
|
)) !!}
|
||||||
|
|
||||||
|
|
||||||
@ -37,11 +35,6 @@
|
|||||||
{{ Former::populateField('email', $contact->email) }}
|
{{ Former::populateField('email', $contact->email) }}
|
||||||
@if (!$client->country_id && $client->account->country_id)
|
@if (!$client->country_id && $client->account->country_id)
|
||||||
{{ Former::populateField('country_id', $client->account->country_id) }}
|
{{ Former::populateField('country_id', $client->account->country_id) }}
|
||||||
{{ Former::populateField('shipping_country_id', $client->account->country_id) }}
|
|
||||||
@endif
|
|
||||||
@if (!$client->currency_id && $client->account->currency_id)
|
|
||||||
{{ Former::populateField('currency_id', $client->account->currency_id) }}
|
|
||||||
{{ Former::populateField('currency', $client->account->currency->code) }}
|
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@ -49,6 +42,7 @@
|
|||||||
<hr class="form-legend"/>
|
<hr class="form-legend"/>
|
||||||
|
|
||||||
<div style="padding-bottom: 22px;">
|
<div style="padding-bottom: 22px;">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
{!! Former::text('name')
|
{!! Former::text('name')
|
||||||
@ -65,35 +59,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<h3>{{ trans('texts.contact_information') }}</h3>
|
|
||||||
<hr class="form-legend"/>
|
|
||||||
|
|
||||||
<div style="padding-bottom: 22px;">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-6">
|
|
||||||
{!! Former::text('first_name')
|
|
||||||
->placeholder(trans('texts.first_name'))
|
|
||||||
->label('') !!}
|
|
||||||
</div>
|
|
||||||
<div class="col-md-6">
|
|
||||||
{!! Former::text('last_name')
|
|
||||||
->placeholder(trans('texts.last_name'))
|
|
||||||
->autocomplete('family-name')
|
|
||||||
->label('') !!}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row" style="display:{{ isset($paymentTitle) || empty($contact->email) ? 'block' : 'none' }}">
|
|
||||||
<div class="col-md-12">
|
|
||||||
{!! Former::text('email')
|
|
||||||
->placeholder(trans('texts.email'))
|
|
||||||
->autocomplete('email')
|
|
||||||
->label('') !!}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h3>{{ trans('texts.billing_address') }}</h3>
|
<h3>{{ trans('texts.billing_address') }}</h3>
|
||||||
<hr class="form-legend"/>
|
<hr class="form-legend"/>
|
||||||
|
|
||||||
|
@ -155,10 +155,6 @@
|
|||||||
{{ Former::populateField('country_id', $client->account->country_id) }}
|
{{ Former::populateField('country_id', $client->account->country_id) }}
|
||||||
{{ Former::populateField('shipping_country_id', $client->account->country_id) }}
|
{{ Former::populateField('shipping_country_id', $client->account->country_id) }}
|
||||||
@endif
|
@endif
|
||||||
@if (!$client->currency_id && $client->account->currency_id)
|
|
||||||
{{ Former::populateField('currency_id', $client->account->currency_id) }}
|
|
||||||
{{ Former::populateField('currency', $client->account->currency->code) }}
|
|
||||||
@endif
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (Utils::isNinjaDev())
|
@if (Utils::isNinjaDev())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user