<?php

// This array must always start on index 1.
$permissions = array(
// index=> array(permission, dependency, description)
     1  => array('billing_view',                           0,  /*T*/'View active invoices'/*/T*/),
     2  => array('billing_archived_invoices',              1,  /*T*/'View archived invoices'/*/T*/),
     3  => array('billing_unarchive_invoices',             2,  /*T*/'Unarchive invoices'/*/T*/),
     4  => array('billing_uninvoiced_work',                1,  /*T*/'View unInvoiced work'/*/T*/),
     5  => array('billing_create',                         1,  /*T*/'Edit, delete and add invoices'/*/T*/),
     6  => array('billing_recurring_overview',             1,  /*T*/'View "Recurring Overview"'/*/T*/),
     7  => array('billing_edit_recurring',                 6,  /*T*/'Edit recurring invoice'/*/T*/),
     8  => array('billing_delete_recurring',               6,  /*T*/'Delete recurring charge'/*/T*/),
     9  => array('billing_mark_invoice_paid',              1,  /*T*/'Mark invoice paid or unpaid'/*/T*/),
    10  => array('billing_send_invoices',                  1,  /*T*/'Send invoices and receipts'/*/T*/),
    11  => array('billing_show_billing_types',             1,  /*T*/'View billing types'/*/T*/),
    12  => array('billing_edit_billing_types',             11, /*T*/'Manage billing types'/*/T*/),
    13  => array('billing_archive_invoice',                1,  /*T*/'Archive invoices'/*/T*/),
    14  => array('billing_process_invoices',               1,  /*T*/'Process invoices'/*/T*/),
    15  => array('billing_generate_invoices',              1,  /*T*/'Generate pending invoices and run batch payments'/*/T*/),
    16  => array('billing_refund_invoices',                1,  /*T*/'Refund invoices'/*/T*/),
    17  => array('billing_void_invoices',                  1,  /*T*/'Void invoices'/*/T*/),
    18  => array('billing_view_eventlog',                  1,  /*T*/'View Event Log for Billing events'/*/T*/),
);
?>
