@extends('layouts.whitelabel.master') @section('header') @stop @section('content') {{ trans('site.Dashboard') }} {{ trans('site.Home') }} {{ trans('dashboard.Shipping_Details') }} @include('components.userstatus',[ 'type' =>'alert-warning' ]) @include('page_info') @include('member._partials.marketplace-sidebar') @if (count($errors) > 0) × @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif {!! Form::model($member->MemberBilling, ['method' => 'PATCH', 'action' => ['Marketplace\MemberController@updateBilling', $marketplace->slug], 'class' => 'form-horizontal', 'id' => 'billingForm', 'files' => true]) !!} {{ trans('dashboard.Billing_Address') }} {{ trans('checkout.Block_No') }} * {!! Form::text('block',null, ['class' => 'form-control', 'id' => 'b_block']) !!} {{ trans('checkout.Street_Name') }} * {!! Form::text('street',null, ['class' => 'form-control', 'id' => 'b_street']) !!} {{ trans('checkout.Unit_No') }} * {!! Form::text('unit',null, ['class' => 'form-control', 'id' => 'b_unit']) !!} {{ trans('checkout.Building_Name') }} {{-- * --}} {!! Form::text('building',null, ['class' => 'form-control', 'id' => 'b_building']) !!} {{ trans('checkout.Country') }} * {{-- billing country --}} {!! Form::select('country', $countries, $member->MemberBilling ? $member->MemberBilling->country : 193, ['class' => 'chosen-select selectcategory form-control', 'id' => 'b_country', 'data-placeholder' => 'Choose a Country...']) !!} {{ trans('checkout.City') }} * {!! Form::text('city', null, ['class' => 'form-control', 'id' => 'b_city']) !!} {{ trans('checkout.State') }} * {!! Form::text('state',null, ['class' => 'form-control', 'id' => 'b_state']) !!} {{ trans('checkout.Postal_Code') }} * {!! Form::text('postal',null, ['class' => 'form-control', 'id' => 'b_postal']) !!} {{ trans('dashboard.Save_Setting') }} {!! Form::close() !!} {{ trans('dashboard.Delivery_Address') }} {{-- --}} @if(count($member->MemberShipping)>0) @foreach($member->MemberShipping as $key => $shipping) {!! Form::model($shipping, ['method' => 'PATCH', 'action' => ['MemberController@updateShipping',$shipping->id], 'class' => 'form-horizontal delivery', 'id' => 'shippingForm', 'files' => true]) !!} {{-- Delivery Address @if($shipping->default_address) (Default) @endif --}} {!! Form::checkbox('same_billing',null,false, ['class' => 'same_billing']) !!} {{ trans('dashboard.Same_as_Billing_Address') }} * {{ trans('checkout.Block_No') }} * {!! Form::text('block', $shipping->block , ['class' => 'form-control s_block', 'id' => 's_block_1']) !!} {{ trans('checkout.Street_Name') }} * {!! Form::text('street',$shipping->street, ['class' => 'form-control s_street', 'id' => 's_street_1']) !!} {{ trans('checkout.Unit_No') }} * {!! Form::text('unit',$shipping->unit , ['class' => 'form-control s_unit', 'id' => 's_unit_1']) !!} {{ trans('checkout.Building_Name') }} {!! Form::text('building',$shipping->building , ['class' => 'form-control s_building', 'id' => 's_building_1']) !!} {{ trans('checkout.Postal_Code') }}* {!! Form::text('postal', $shipping->postal, ['class' => 'form-control', 'id' => 's_postal_1']) !!} {{ trans('checkout.Country') }}* {{-- billing country --}} {!! Form::select('country', $countries, $shipping->country , ['class' => 'chosen-select selectcategory form-control s_country', 'id' => 's_country_1', 'data-placeholder' => 'Choose a Country...']) !!} {{ trans('checkout.State') }} * {!! Form::text('state',$shipping->state, ['class' => 'form-control s_state', 'id' => 's_state_1']) !!} {{ trans('checkout.City') }} * {!! Form::text('city',$shipping->city , ['class' => 'form-control s_city', 'id' => 's_city_1']) !!} {{ trans('checkout.Delivery_Contact_Name') }} * {!! Form::text('delivery_name',$shipping->delivery_name, ['class' => 'form-control s_delivery_name', 'id' => 's_delivery_name_1']) !!} {{ trans('checkout.Delivery_Contact_No') }} * {!! Form::text('delivery_contact',$shipping->delivery_contact, ['class' => 'form-control s_delivery_contact', 'id' => 's_delivery_contact_1']) !!} {{ trans('dashboard.Set_Default_Address') }} @if( $member->MemberShipping->count() > 1 ) {{ trans('dashboard.Remove') }} @endif {{ trans('dashboard.Save_Setting') }} {!! Form::close() !!} @endforeach @else {!! Form::open(['method' => 'POST', 'action' => ['Marketplace\MemberController@storeShipping', $marketplace->slug], 'class' => 'form-horizontal', 'id' => 'shippingNewForm', 'files' => true]) !!} {{ trans('dashboard.Delivery_Address') }} {!! Form::checkbox('same_billing',null,false, ['class' => 'same_billing']) !!} {{ trans('dashboard.Same_as_Billing_Address') }} * {{ trans('checkout.Block_No') }} * {!! Form::text('block',null , ['class' => 'form-control s_block', 'id' => 's_block_1']) !!} {{ trans('checkout.Street_Name') }} * {!! Form::text('street',null, ['class' => 'form-control s_street', 'id' => 's_street_1']) !!} {{ trans('checkout.Unit_No') }} * {!! Form::text('unit',null , ['class' => 'form-control s_unit', 'id' => 's_unit_1']) !!} {{ trans('checkout.Building_Name') }} {!! Form::text('building',null, ['class' => 'form-control s_building', 'id' => 's_building_1']) !!} {{ trans('checkout.Postal_Code') }}* {!! Form::text('postal',null, ['class' => 'form-control s_postal', 'id' => 's_postal_1']) !!} {{ trans('checkout.Country') }}* {{-- billing country --}} {!! Form::select('country', $countries,193, ['class' => 'chosen-select selectcategory form-control s_country', 'id' => 's_country_1', 'data-placeholder' => 'Choose a Country...']) !!} {{ trans('checkout.State') }} * {!! Form::text('state',null, ['class' => 'form-control s_state', 'id' => 's_state_1']) !!} {{ trans('checkout.City') }} * {!! Form::text('city',null , ['class' => 'form-control s_city', 'id' => 's_city_1']) !!} {{ trans('dashboard.Delivery_Contact_Name') }} * {!! Form::text('delivery_name',null, ['class' => 'form-control s_delivery_name', 'id' => 's_delivery_name_1']) !!} {{ trans('dashboard.Delivery_Contact_No') }} * {!! Form::text('delivery_contact',null, ['class' => 'form-control s_delivery_contact', 'id' => 's_delivery_contact_1']) !!} {{ trans('checkout.Save_Setting') }} {!! Form::close() !!} @endif {!! Form::open(['method' => 'POST', 'action' => ['Marketplace\MemberController@storeShipping', $marketplace->slug], 'class' => 'form-horizontal', 'id' => 'shippingNewForm', 'files' => true]) !!} × {{ trans('dashboard.Add_Delivery_Address') }} {!! Form::checkbox('same_billing',null,false, ['class' => 'same_billing']) !!} {{ trans('dashboard.Same_as_Billing_Address') }} * {{ trans('checkout.Block_No') }} * {!! Form::text('block','', ['class' => 'form-control s_block', 'id' => 's_block_1']) !!} {{ trans('checkout.Street_Name') }} * {!! Form::text('street','', ['class' => 'form-control s_street', 'id' => 's_street_1']) !!} {{ trans('checkout.Unit_No') }} * {!! Form::text('unit','', ['class' => 'form-control s_unit', 'id' => 's_unit_1']) !!} {{ trans('checkout.Building_Name') }} {!! Form::text('building','', ['class' => 'form-control s_building', 'id' => 's_building_1']) !!} {{ trans('checkout.Postal_Code') }} * {!! Form::text('postal','', ['class' => 'form-control s_postal', 'id' => 's_postal_1']) !!} {{ trans('checkout.Country') }} * {{-- billing country --}} {!! Form::select('country', $countries,'193', ['class' => 'chosen-select selectcategory form-control s_country', 'id' => 's_country_1', 'data-placeholder' => 'Choose a Country...']) !!} {{ trans('checkout.State') }} * {!! Form::text('state','', ['class' => 'form-control s_state', 'id' => 's_state_1']) !!} {{ trans('checkout.City') }} * {!! Form::text('city','', ['class' => 'form-control s_city', 'id' => 's_city_1']) !!} {{ trans('dashboard.Delivery_Contact_Name') }} * {!! Form::text('delivery_name','', ['class' => 'form-control s_delivery_name', 'id' => 's_delivery_name_1']) !!} {{ trans('dashboard.Delivery_Contact_No') }} * {!! Form::text('delivery_contact','', ['class' => 'form-control s_delivery_contact', 'id' => 's_delivery_contact_1']) !!} {{-- @include('site.bottom-menu') --}} @stop @section('footer') @stop