@extends('layouts.master') @section('css') @endsection @section('title') Roles @endsection @section('content') Fas Permissions @isset($role) @else Add Role @endisset {{-- Go Back --}} @isset($role) @method('post') @else @endisset @csrf Name hasPermissionTo('view dashboard') ? 'checked' : '' }} @endisset> Dashboard hasPermissionTo('view receipt') ? 'checked' : '' }} @endisset> Receipt hasPermissionTo('view payment') ? 'checked' : '' }} @endisset> Payment hasPermissionTo('view contra') ? 'checked' : '' }} @endisset> Contra hasPermissionTo('view journal') ? 'checked' : '' }} @endisset> Journal hasPermissionTo('view expense') ? 'checked' : '' }} @endisset> Expense hasPermissionTo('view delivery note') ? 'checked' : '' }} @endisset> Delivery Note hasPermissionTo('view purchase') ? 'checked' : '' }} @endisset> Purchase hasPermissionTo('view purchase return') ? 'checked' : '' }} @endisset> Purchase Return hasPermissionTo('view sales') ? 'checked' : '' }} @endisset> Sales hasPermissionTo('edit sales') ? 'checked' : '' }} @endisset> Edit Sales hasPermissionTo('cancel sales') ? 'checked' : '' }} @endisset> Cancel Sales hasPermissionTo('view sales return') ? 'checked' : '' }} @endisset> Sales Return hasPermissionTo('view stock journal') ? 'checked' : '' }} @endisset> Stock Journal hasPermissionTo('view ledger report') ? 'checked' : '' }} @endisset> Ledger Report hasPermissionTo('view stock ledger') ? 'checked' : '' }} @endisset> Stock Ledger hasPermissionTo('view trial balance') ? 'checked' : '' }} @endisset> Trial Balance hasPermissionTo('view profit and loss account') ? 'checked' : '' }} @endisset> Profit & Loss Account hasPermissionTo('add stock transfer') ? 'checked' : '' }} @endisset> Stock Transfer Register hasPermissionTo('view balance sheet') ? 'checked' : '' }} @endisset> Balance Sheet hasPermissionTo('view groups') ? 'checked' : '' }} @endisset> Groups hasPermissionTo('view ledger') ? 'checked' : '' }} @endisset> Ledger hasPermissionTo('view voucher type') ? 'checked' : '' }} @endisset> Voucher Type hasPermissionTo('view stock group') ? 'checked' : '' }} @endisset> Stock Group hasPermissionTo('view stock item') ? 'checked' : '' }} @endisset> Stock Item hasPermissionTo('view branch') ? 'checked' : '' }} @endisset> Branch hasPermissionTo('view stock location') ? 'checked' : '' }} @endisset> Stock Location hasPermissionTo('view unit') ? 'checked' : '' }} @endisset> Unit hasPermissionTo('view price slab') ? 'checked' : '' }} @endisset> Price Slab hasPermissionTo('view staff control') ? 'checked' : '' }} @endisset> Staff Control hasPermissionTo('view company profile') ? 'checked' : '' }} @endisset> Company Profile hasPermissionTo('view roles') ? 'checked' : '' }} @endisset> Roles hasPermissionTo('view settings') ? 'checked' : '' }} @endisset> Settings hasPermissionTo('view profit margin') ? 'checked' : '' }} @endisset> Profit Margin hasPermissionTo('view cash flow') ? 'checked' : '' }} @endisset> Cash Flow hasPermissionTo('view cost allocation') ? 'checked' : '' }} @endisset> Cost Allocation Report hasPermissionTo('view gst report') ? 'checked' : '' }} @endisset> Gst Report hasPermissionTo('view day book') ? 'checked' : '' }} @endisset> Day Book hasPermissionTo('view passes') ? 'checked' : '' }} @endisset> Passes hasPermissionTo('view stock category') ? 'checked' : '' }} @endisset> Stock Category hasPermissionTo('view cash balance') ? 'checked' : '' }} @endisset> View Cash/Bank Balance hasPermissionTo('view outstanding report') ? 'checked' : '' }} @endisset> View Outstanding Report hasPermissionTo('delete ac voucher') ? 'checked' : '' }} @endisset> Delete AC Vouchers hasPermissionTo('view fund flow') ? 'checked' : '' }} @endisset> Fund Flow hasPermissionTo('view import queue') ? 'checked' : '' }} @endisset> Import Queue hasPermissionTo('view stock movement analysis') ? 'checked' : '' }} @endisset> View Stock Movement Analysis hasPermissionTo('view customer report') ? 'checked' : '' }} @endisset> View Customer Report hasPermissionTo('view itemwise sales report') ? 'checked' : '' }} @endisset> View Itemwise Sales Report @if (Auth::user()->company != null ? Auth::user()->company->software_type == 'mop' : Auth::user()->staff->company->software_type == 'mop') hasPermissionTo('production request') ? 'checked' : '' }} @endisset> Production Requests @else @endif hasPermissionTo('edit stock journal') ? 'checked' : '' }} @endisset> Edit Stock Journal hasPermissionTo('edit stock transfer') ? 'checked' : '' }} @endisset> Edit Stock Transfer hasPermissionTo('edit receipt') ? 'checked' : '' }} @endisset> Edit Receipt hasPermissionTo('view landing cost') ? 'checked' : '' }} @endisset> View Landing Cost In Sales hasPermissionTo('view distributor') ? 'checked' : '' }} @endisset> View Distributor hasPermissionTo('edit payment') ? 'checked' : '' }} @endisset> Edit Payment hasPermissionTo('edit journal') ? 'checked' : '' }} @endisset> Edit Journal hasPermissionTo('edit sales return') ? 'checked' : '' }} @endisset> Edit Sales Return hasPermissionTo('edit contra') ? 'checked' : '' }} @endisset> Edit contra hasPermissionTo('edit purchase') ? 'checked' : '' }} @endisset> Edit Purchase hasPermissionTo('edit purchase return') ? 'checked' : '' }} @endisset> Edit Purchase Return {{-- --}} {{-- hasPermissionTo('edit billed order') ? 'checked' : '' }} @endisset> Edit Billed Order --}} {{-- hasPermissionTo('edit billed sales return order') ? 'checked' : '' }} @endisset> Edit Billed SalesReturn Order --}} {{-- hasPermissionTo('edit settled collection') ? 'checked' : '' }} @endisset> Edit Settled Collection --}} hasPermissionTo('edit stock item') ? 'checked' : '' }} @endisset> Edit Stock Item {{-- hasPermissionTo('edit order') ? 'checked' : '' }} @endisset> Edit order --}} {{-- --}} {{-- hasPermissionTo('generate bill') ? 'checked' : '' }} @endisset> Generate Bill --}} hasPermissionTo('view stock transfer request') ? 'checked' : '' }} @endisset> Stock Transfer Request hasPermissionTo('approve stock transfer request') ? 'checked' : '' }} @endisset> Approve Stock Transfer Request hasPermissionTo('view manufacturing consumption') ? 'checked' : '' }} @endisset> View Manufacturing Consumption hasPermissionTo('view physical stock') ? 'checked' : '' }} @endisset> View Physical Stock hasPermissionTo('view item wise profit') ? 'checked' : '' }} @endisset> View Item Wise Profit hasPermissionTo('view pay roll') ? 'checked' : '' }} @endisset> view pay roll hasPermissionTo('purchase request approve') ? 'checked' : '' }} @endisset> Purchase Request Approve hasPermissionTo('view fixed asset report') ? 'checked' : '' }} @endisset> Fixed Asset Report hasPermissionTo('view staff report') ? 'checked' : '' }} @endisset> View Staff Report hasPermissionTo('view cost center') ? 'checked' : '' }} @endisset> View Cost Center hasPermissionTo('view quotation') ? 'checked' : '' }} @endisset> View Quotation @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> View Order Dashboard hasPermissionTo('view direct delivery') ? 'checked' : '' }} @endisset> View Direct Delivery hasPermissionTo('view collection') ? 'checked' : '' }} @endisset> View Collection hasPermissionTo('view billed order') ? 'checked' : '' }} @endisset> View Billed Order hasPermissionTo('view sales return order') ? 'checked' : '' }} @endisset> View Sales Return Order hasPermissionTo('view order reports') ? 'checked' : '' }} @endisset> View Reports hasPermissionTo('view customer') ? 'checked' : '' }} @endisset> View Customer hasPermissionTo('view item wise order') ? 'checked' : '' }} @endisset> View Item Wise Order hasPermissionTo('view item wise packing') ? 'checked' : '' }} @endisset> View Item Wise Packing hasPermissionTo('view item wise delivery') ? 'checked' : '' }} @endisset> View Item Wise Delivery hasPermissionTo('edit collection') ? 'checked' : '' }} @endisset> Edit Collection hasPermissionTo('change collection staff') ? 'checked' : '' }} @endisset> Change Collection Staff hasPermissionTo('collection settlement') ? 'checked' : '' }} @endisset> Collection Settlement hasPermissionTo('edit billed order') ? 'checked' : '' }} @endisset> Edit Billed Order hasPermissionTo('edit billed sales return order') ? 'checked' : '' }} @endisset> Edit Billed SalesReturn Order hasPermissionTo('edit settled collection') ? 'checked' : '' }} @endisset> Edit Settled Collection hasPermissionTo('edit order') ? 'checked' : '' }} @endisset> Edit order hasPermissionTo('generate bill') ? 'checked' : '' }} @endisset> Generate Bill hasPermissionTo('update production date') ? 'checked' : '' }} @endisset> Update Production Date hasPermissionTo('shuffle production') ? 'checked' : '' }} @endisset> Shuffle Production Dates hasPermissionTo('view master') ? 'checked' : '' }} @endisset> View Master @endif @isset($role) Update Role Permissions @else Add Role @endisset @endsection @section('script') @endsection