![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /home/fdshops/public_html/resources/views/restaurant/table/ |
<div class="modal-dialog" role="document"> <div class="modal-content"> {!! Form::open(['url' => action([\App\Http\Controllers\Restaurant\TableController::class, 'store']), 'method' => 'post', 'id' => 'table_add_form' ]) !!} <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title">@lang( 'restaurant.add_table' )</h4> </div> <div class="modal-body"> @if(count($business_locations) == 1) @php $default_location = current(array_keys($business_locations->toArray())) @endphp @else @php $default_location = null; @endphp @endif <div class="form-group"> {!! Form::label('location_id', __('purchase.business_location').':*') !!} {!! Form::select('location_id', $business_locations, $default_location, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required']); !!} </div> <div class="form-group"> {!! Form::label('name', __( 'restaurant.table_name' ) . ':*') !!} {!! Form::text('name', null, ['class' => 'form-control', 'required', 'placeholder' => __( 'restaurant.table_name' ) ]); !!} </div> <div class="form-group"> {!! Form::label('description', __( 'restaurant.short_description' ) . ':') !!} {!! Form::text('description', null, ['class' => 'form-control','placeholder' => __( 'restaurant.short_description' )]); !!} </div> </div> <div class="modal-footer"> <button type="submit" class="tw-dw-btn tw-dw-btn-primary tw-text-white">@lang( 'messages.save' )</button> <button type="button" class="tw-dw-btn tw-dw-btn-neutral tw-text-white" data-dismiss="modal">@lang( 'messages.close' )</button> </div> {!! Form::close() !!} </div><!-- /.modal-content --> </div><!-- /.modal-dialog -->