@extends("admin.layouts.sellermaster") @section('title',"Edit Store - $store->name |") @section('body') @component('seller.components.breadcumb',['secondactive' => 'active']) @slot('heading') {{ __('staticwords.EditStore') }} @endslot @slot('menu1') {{ __('staticwords.EditStore') }} @endslot @endcomponent
@if ($errors->any()) @endif
@php $image = @file_get_contents('../public/images/store/'.$store->store_logo); @endphp Store logo

{{ $store->name }}

{{ $store->city['name'] }}, {{ $store->state['name'] }}, {{ $store->country['nicename'] }}

@php $allorders = App\Order::all(); $sellerorder = collect(); foreach ($allorders as $key => $order) { if(in_array(Auth::user()->id, $order->vender_ids)){ $sellerorder->push($order); } } @endphp
{{__("staticwords.CreatedOn")}} {{ date('d-M-Y',strtotime($store->created_at)) }}
{{__("staticwords.Owner")}} {{ $store->user->name }}
{{__("staticwords.TotalOrders")}} {{ count($sellerorder) }}
{{__("staticwords.TotalArtworks")}} {{ $store->products->count() }}
{{__("staticwords.Verified")}}
@if($store->verified_store == 1) @else @endif
{{__("staticwords.EditStoreDetails")}}
@csrf @method("PUT")
@if($pincodesystem == 1)
@endif
{{__("staticwords.Upload")}}
@if($store->status == 1) @else @endif
@endsection @section('custom-script')