59 lines
No EOL
3.2 KiB
PHP
59 lines
No EOL
3.2 KiB
PHP
|
|
@if($shopping_user->same_as_billing)
|
|
<!-- Billing -->
|
|
|
|
{{ Form::hidden('shipping_company', $shopping_user->billing_company) }}
|
|
{{ Form::hidden('shipping_salutation', $shopping_user->billing_salutation) }}
|
|
{{ Form::hidden('shipping_firstname', $shopping_user->billing_firstname) }}
|
|
{{ Form::hidden('shipping_lastname', $shopping_user->billing_lastname) }}
|
|
{{ Form::hidden('shipping_address', $shopping_user->billing_address) }}
|
|
{{ Form::hidden('shipping_address_2', $shopping_user->billing_address_2) }}
|
|
{{ Form::hidden('shipping_zipcode', $shopping_user->billing_zipcode) }}
|
|
{{ Form::hidden('shipping_city', $shopping_user->billing_city) }}
|
|
{{ Form::hidden('shipping_phone', $shopping_user->billing_phone) }}
|
|
{{ Form::hidden('shipping_state', Yard::instance('shopping')->getShippingCountryId()) }}
|
|
|
|
|
|
|
|
{{-- <div class="">
|
|
<div class="form-row">
|
|
<div class="form-group col-md-12 {{ $errors->has('shipping_state') ? 'has-error' : '' }}">
|
|
<select name="shipping_state" class="selectpicker" id="change_shipping_state" data-is-for="ot" disabled="true">
|
|
{!! HTMLHelper::getCountriesForShipping(Yard::instance('shopping')->getShippingCountryId()) !!}
|
|
</select>
|
|
@if ($errors->has('shipping_state'))
|
|
<span class="help-block">
|
|
<strong>{{ $errors->first('shipping_state') }}</strong>
|
|
</span>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>--}}
|
|
<!-- / Billing -->
|
|
@else
|
|
|
|
{{ Form::hidden('shipping_company', $shopping_user->shipping_company) }}
|
|
{{ Form::hidden('shipping_salutation', $shopping_user->shipping_salutation) }}
|
|
{{ Form::hidden('shipping_firstname', $shopping_user->shipping_firstname) }}
|
|
{{ Form::hidden('shipping_lastname', $shopping_user->shipping_lastname) }}
|
|
{{ Form::hidden('shipping_address', $shopping_user->shipping_address) }}
|
|
{{ Form::hidden('shipping_address_2', $shopping_user->shipping_address_2) }}
|
|
{{ Form::hidden('shipping_zipcode', $shopping_user->shipping_zipcode) }}
|
|
{{ Form::hidden('shipping_city', $shopping_user->shipping_city) }}
|
|
{{ Form::hidden('shipping_phone', $shopping_user->shipping_phone) }}
|
|
{{ Form::hidden('shipping_state', Yard::instance('shopping')->getShippingCountryId()) }}
|
|
{{-- <div class="">
|
|
<div class="form-row">
|
|
<div class="form-group col-md-12 {{ $errors->has('shipping_state') ? 'has-error' : '' }}">
|
|
<select name="shipping_state" class="selectpicker" id="change_shipping_state" data-is-for="ot" disabled="true">
|
|
{!! HTMLHelper::getCountriesForShipping(Yard::instance('shopping')->getShippingCountryId()) !!}
|
|
</select>
|
|
@if ($errors->has('shipping_state'))
|
|
<span class="help-block">
|
|
<strong>{{ $errors->first('shipping_state') }}</strong>
|
|
</span>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>--}}
|
|
@endif |