@extends('layouts.master') @section('css') @endsection @section('title') Roles @endsection @section('content')

Fas Permissions @isset($role) @else Add Role @endisset
{{-- --}}
@isset($role)
@method('post') @else @endisset @csrf
hasPermissionTo('view dashboard') ? 'checked' : '' }} @endisset>
hasPermissionTo('view receipt') ? 'checked' : '' }} @endisset>
hasPermissionTo('view payment') ? 'checked' : '' }} @endisset>
hasPermissionTo('view contra') ? 'checked' : '' }} @endisset>
hasPermissionTo('view journal') ? 'checked' : '' }} @endisset>
hasPermissionTo('view expense') ? 'checked' : '' }} @endisset>
hasPermissionTo('view delivery note') ? 'checked' : '' }} @endisset>
hasPermissionTo('view purchase') ? 'checked' : '' }} @endisset>
hasPermissionTo('view purchase return') ? 'checked' : '' }} @endisset>
hasPermissionTo('view sales') ? 'checked' : '' }} @endisset>

hasPermissionTo('edit sales') ? 'checked' : '' }} @endisset>

hasPermissionTo('cancel sales') ? 'checked' : '' }} @endisset>
hasPermissionTo('view sales return') ? 'checked' : '' }} @endisset>
hasPermissionTo('view stock journal') ? 'checked' : '' }} @endisset>
hasPermissionTo('view ledger report') ? 'checked' : '' }} @endisset>
hasPermissionTo('view stock ledger') ? 'checked' : '' }} @endisset>
hasPermissionTo('view trial balance') ? 'checked' : '' }} @endisset>
hasPermissionTo('view profit and loss account') ? 'checked' : '' }} @endisset>
hasPermissionTo('add stock transfer') ? 'checked' : '' }} @endisset>
hasPermissionTo('view balance sheet') ? 'checked' : '' }} @endisset>
hasPermissionTo('view groups') ? 'checked' : '' }} @endisset>
hasPermissionTo('view ledger') ? 'checked' : '' }} @endisset>
hasPermissionTo('view voucher type') ? 'checked' : '' }} @endisset>
hasPermissionTo('view stock group') ? 'checked' : '' }} @endisset>
hasPermissionTo('view stock item') ? 'checked' : '' }} @endisset>
hasPermissionTo('view branch') ? 'checked' : '' }} @endisset>
hasPermissionTo('view stock location') ? 'checked' : '' }} @endisset>
hasPermissionTo('view unit') ? 'checked' : '' }} @endisset>
hasPermissionTo('view price slab') ? 'checked' : '' }} @endisset>
hasPermissionTo('view staff control') ? 'checked' : '' }} @endisset>
hasPermissionTo('view company profile') ? 'checked' : '' }} @endisset>
hasPermissionTo('view roles') ? 'checked' : '' }} @endisset>
hasPermissionTo('view settings') ? 'checked' : '' }} @endisset>
hasPermissionTo('view profit margin') ? 'checked' : '' }} @endisset>
hasPermissionTo('view cash flow') ? 'checked' : '' }} @endisset>
hasPermissionTo('view cost allocation') ? 'checked' : '' }} @endisset>
hasPermissionTo('view gst report') ? 'checked' : '' }} @endisset>
hasPermissionTo('view day book') ? 'checked' : '' }} @endisset>
hasPermissionTo('view passes') ? 'checked' : '' }} @endisset>
hasPermissionTo('view stock category') ? 'checked' : '' }} @endisset>
hasPermissionTo('view cash balance') ? 'checked' : '' }} @endisset>
hasPermissionTo('view outstanding report') ? 'checked' : '' }} @endisset>
hasPermissionTo('delete ac voucher') ? 'checked' : '' }} @endisset>
hasPermissionTo('view fund flow') ? 'checked' : '' }} @endisset>
hasPermissionTo('view import queue') ? 'checked' : '' }} @endisset>
hasPermissionTo('view stock movement analysis') ? 'checked' : '' }} @endisset>
hasPermissionTo('view customer report') ? 'checked' : '' }} @endisset>
hasPermissionTo('view itemwise sales report') ? 'checked' : '' }} @endisset>
@if (Auth::user()->company != null ? Auth::user()->company->software_type == 'mop' : Auth::user()->staff->company->software_type == 'mop')
hasPermissionTo('production request') ? 'checked' : '' }} @endisset>
@else
@endif
hasPermissionTo('edit stock journal') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit stock transfer') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit receipt') ? 'checked' : '' }} @endisset>
hasPermissionTo('view landing cost') ? 'checked' : '' }} @endisset>
hasPermissionTo('view distributor') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit payment') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit journal') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit sales return') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit contra') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit purchase') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit purchase return') ? 'checked' : '' }} @endisset>
{{--
--}} {{--
hasPermissionTo('edit billed order') ? 'checked' : '' }} @endisset>
--}} {{--
hasPermissionTo('edit billed sales return order') ? 'checked' : '' }} @endisset>
--}} {{--
hasPermissionTo('edit settled collection') ? 'checked' : '' }} @endisset>
--}}
hasPermissionTo('edit stock item') ? 'checked' : '' }} @endisset>
{{--
hasPermissionTo('edit order') ? 'checked' : '' }} @endisset>
--}} {{--
--}} {{--
hasPermissionTo('generate bill') ? 'checked' : '' }} @endisset>
--}}
hasPermissionTo('view stock transfer request') ? 'checked' : '' }} @endisset>
hasPermissionTo('approve stock transfer request') ? 'checked' : '' }} @endisset>
hasPermissionTo('view manufacturing consumption') ? 'checked' : '' }} @endisset>
hasPermissionTo('view physical stock') ? 'checked' : '' }} @endisset>
hasPermissionTo('view item wise profit') ? 'checked' : '' }} @endisset>
hasPermissionTo('view pay roll') ? 'checked' : '' }} @endisset>
hasPermissionTo('purchase request approve') ? 'checked' : '' }} @endisset>
hasPermissionTo('view fixed asset report') ? 'checked' : '' }} @endisset>
hasPermissionTo('view staff report') ? 'checked' : '' }} @endisset>
hasPermissionTo('view cost center') ? 'checked' : '' }} @endisset>
hasPermissionTo('view quotation') ? 'checked' : '' }} @endisset>
@if (Auth::user()->company_profile->mop_fas == 1 || Auth::user()->company_profile->mybuss_fas == 1)
MyBuss/Mop Fas Permissions
hasPermissionTo('view order dashboard') ? 'checked' : '' }} @endisset>
hasPermissionTo('view direct delivery') ? 'checked' : '' }} @endisset>
hasPermissionTo('view collection') ? 'checked' : '' }} @endisset>
hasPermissionTo('view billed order') ? 'checked' : '' }} @endisset>
hasPermissionTo('view sales return order') ? 'checked' : '' }} @endisset>
hasPermissionTo('view order reports') ? 'checked' : '' }} @endisset>
hasPermissionTo('view customer') ? 'checked' : '' }} @endisset>
hasPermissionTo('view item wise order') ? 'checked' : '' }} @endisset>
hasPermissionTo('view item wise packing') ? 'checked' : '' }} @endisset>
hasPermissionTo('view item wise delivery') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit collection') ? 'checked' : '' }} @endisset>
hasPermissionTo('change collection staff') ? 'checked' : '' }} @endisset>
hasPermissionTo('collection settlement') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit billed order') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit billed sales return order') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit settled collection') ? 'checked' : '' }} @endisset>
hasPermissionTo('edit order') ? 'checked' : '' }} @endisset>
hasPermissionTo('generate bill') ? 'checked' : '' }} @endisset>
hasPermissionTo('update production date') ? 'checked' : '' }} @endisset>
hasPermissionTo('shuffle production') ? 'checked' : '' }} @endisset>
hasPermissionTo('view master') ? 'checked' : '' }} @endisset>
@endif
@endsection @section('script') @endsection