@extends('layouts.restaurant') @section('title', __( 'restaurant.orders' )) @section('content')

@lang( 'restaurant.all_orders' ) @show_tooltip(__('lang_v1.tooltip_serviceorder'))


@if(!$is_service_staff) @component('components.widget')
{!! Form::open(['url' => action('Restaurant\OrderController@index'), 'method' => 'get', 'id' => 'select_service_staff_form' ]) !!}
{!! Form::select('service_staff', $service_staff, null, ['class' => 'form-control select2', 'placeholder' => __('restaurant.select_service_staff'), 'id' => 'service_staff_id']); !!}
{!! Form::close() !!}
@endcomponent @endif @component('components.widget', ['title' => __( 'lang_v1.line_orders' )])
@include('restaurant.partials.line_orders', array('orders_for' => 'waiter'))
@endcomponent @component('components.widget', ['title' => __( 'restaurant.all_your_orders' )])
@include('restaurant.partials.show_orders', array('orders_for' => 'waiter'))
@endcomponent
@endsection @section('javascript') @endsection