<?php

return [
    // admin and employee

    'client-list'=>[
        'get.clients'
    ],

    'client-delete'=>[
        'get.clients',
        'delete.client',
        'admin.ajax.process'
    ],

    'client-edit'=>[
        'get.clients',
        'get.client.info',
        'update.client',
        'update.client.id'
    ],

    'client-view'=>[
        'get.clients',
        'get.client.info',
    ],

    'sales-report'=>[
        'sales.report'
    ],

    'terms-service'=>[
        'terms.of.service'
    ],

    'training-video-create'=>[
        'training_video.list',
        'create.video'
    ],

    'training-video-delete'=>[
        'training_video.list',
        'delete.video'
    ],

    'training-video-edit'=>[
        'training_video.list',
        'update.video'
    ],

    'employee-list'=>[
              'employee.list'
         ],

    'employee-create'=>[
        'employee.list',
        'create.employee',
        'insert.employee'
    ],

    'employee-view'=>[
        'employee.list',
        'get.employee.info'
    ],

    'employee-edit'=>[
        'employee.list',
        'get.employee.info',
        'update.employee'
    ],
    'employee-delete'=>[
        'employee.list',
        'admin.ajax.process'
    ],

    // client

    'client-profile-view'=>[
        'show.manage.clients'
    ],

    'client-profile-edit'=>[
        'show.manage.clients',
        'manage.clients'
    ],

    'client-payment-create'=>[
        'show.manage.clients',
        'payment.create'
    ],

    'client-cancel-account'=>[
        'show.manage.clients',
        'process.ajax'
    ],

    'client-training-video-view'=>[
        'training_video.index'
    ],

    'client-letter-view-update'=>[
        'get.letter'
    ],

    'client-generate-pdf'=>[
        'get.letter',
        'generate.pdf'
    ],

    'client-get-credit-report'=>[
        'get.letter',
        'process.ajax'
    ],

    'client-upload-credit-report'=>[
        'get.letter',
        'process.ajax',
        'upload.credit.report'
    ],

    'client-create'=>[
        'client.create',
        'client.insert'
    ],

    // credit report provider

    'credit-report-provider-create'=>[
        'view.provider.link',
        'create.provider.link'
    ],

    'credit-report-provider-delete'=>[
        'view.provider.link',
        'delete.provider.link'
    ],

    'credit-report-provider-edit'=>[
        'view.provider.link',
        'update.provider.link'
    ],

    // support
    'client-support-create'=>[
        'create.client.support',
        'list.client.support'
    ],

    'client-support-view'=>[
        'view.client.support',
        'list.client.support'
    ],


];
