@extends('admin.layout') @section('content')

{{ translate('brands') }}

@if (Session::get('tenant_subscribtion_data')['brands']['belongs_to_subscribtion'] == true && Session::get('tenant_controle_modules')['brands'] == 1) @if (sizeof($brands) > 0)
@foreach ($brands as $key => $brand) @endforeach
{{ translate('Title') }} {{ translate('Logo') }} {{ translate('Featured') }} {{ translate('Options') }}
{{ getTranslation($brand, 'brand_translations', 'title') }} @php if ($brand->logo) { $link = $brand->logo; } else { $link = '/images/noimg.png'; } @endphp
@else

{{ translate('There is nothing you are looking for') }}

{{ translate('Add new brands to your store') }}

@endif @else

{{ translate('You need to upgrade to use this feature.') }}

{{ translate('Please Upgrade to use this feature.') }}


{{ translate('Upgrade now') }}
@endif
{{ $brands->links() }}

{{ translate('Add brand') }}

{!! Form::open(['method' => 'post', 'action' => 'Admin\BrandController@store', 'files' => true, 'id' => 'add_brand_form']) !!}
@error('logo')
{{ $message }}
@enderror
{!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => translate('Title')]) !!}
@error('title')
{{ $message }}
@enderror
{!! Form::checkbox('featured', null, 1, ['id' => 'Checkbox_1']) !!}
{!! Form::Close() !!}
@endsection @section('script') @if (Session::get('tenant_subscribtion_data')['brands']['belongs_to_subscribtion'] == true && Session::get('tenant_controle_modules')['brands'] == 1) @else @endif @endsection