@extends('layouts.master') @section('css') @endsection @section('title') Roles @endsection @section('content')
@isset($role) Edit Role @else Add Role @endisset
@isset($role)
@method('put') @else @endisset @csrf
Permissions
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('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 collection') ? 'checked' : '' }} @endisset>
hasPermissionTo('collection settlement') ? 'checked' : '' }} @endisset>
@endsection @section('script') @endsection