@extends('layouts.app') @section('title', __( 'productcatalogue::lang.catalogue_qr' )) @section('content')

@lang( 'productcatalogue::lang.catalogue_qr' )

@component('components.widget', ['class' => 'box-solid'])
{!! Form::label('location_id', __('purchase.business_location').':') !!} {!! Form::select('location_id', $business_locations, null, ['class' => 'form-control', 'placeholder' => __('messages.please_select')]); !!}
{!! Form::label('color', __('productcatalogue::lang.qr_code_color').':') !!} {!! Form::text('color', '#000000', ['class' => 'form-control']); !!}
{!! Form::label('title', __('productcatalogue::lang.title').':') !!} {!! Form::text('title', $business->name, ['class' => 'form-control']); !!}
{!! Form::label('subtitle', __('productcatalogue::lang.subtitle').':') !!} {!! Form::text('subtitle', __('productcatalogue::lang.product_catalogue'), ['class' => 'form-control']); !!}
@endcomponent @component('components.widget', ['class' => 'box-solid'])

@lang('productcatalogue::lang.setting'):

{!! Form::open(['url' => action([\Modules\ProductCatalogue\Http\Controllers\ProductCatalogueController::class, 'productCatalogueSetting']), 'method' => 'post']) !!} {!! Form::label('is_show', __('productcatalogue::lang.outofstock_products').':') !!}
@php $settings = json_decode($business->productcatalogue_settings); $is_show = $settings->is_show ?? ''; @endphp

{!! Form::close() !!}
@endcomponent @component('components.widget', ['class' => 'box-solid'])
@lang('lang_v1.instruction'):
1 @lang( 'productcatalogue::lang.catalogue_instruction_1' )
2 @lang( 'productcatalogue::lang.catalogue_instruction_2' )
3 @lang( 'productcatalogue::lang.catalogue_instruction_3' )
@endcomponent
@component('components.widget', ['class' => 'box-solid']) @endcomponent
@stop @section('javascript') @endsection