@inject('perm', 'App\Http\Controllers\API\PermissionController') @extends('layouts.app') @section('title', 'Sales') @section('content') salesManagePermission()}} sales_return_status="{{$salesReturnStatus}}" sales_receiving_type="{{$salesType}}" all_branch="{{$branches}}" auto_invoice="{{$autoInvoice}}" payment_types="{{$paymentTypes}}" customer="{{$customer}}" customer_group="{{$customerGroup}}" product="{{$product}}" app_name="{{$appName}}" invoice_prefix="{{$invoicePrefix}}" invoice_suffix="{{$invoiceSuffix}}" last_invoice="{{$lastInvoiceNum}}" is_branch_selected="{{$isBranchSelected}}" hold_orders="{{$holdOrders}}" default_sales_invoice_template="{{$defaultInvoiceTemplateForSales}}" booked_tables="{{json_encode($bookedTables)}}" restaurant_tables = "{{$restaurantTables}}" is_employee="{{$perm->isEmployee()}}" can_view_totals="{{$perm->permViewTotals()}}"> @endsection