public static bool CanTakeBackIssuedCheque(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Take back Issued Cheque", "Cashier", "Supervisor", "Admin");
public static bool CanDeletePreparedCheque(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Delete Prepared Cheque", "Admin");
public static bool CanIssueChequeToPayee(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Issue Cheque to Payee", "Supervisor", "Admin");
public static bool CanEditTenantInfo(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Edit Tenant Info", "Supervisor", "Admin");
public static bool CanUndoLeaseTermination(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Undo Lease Termination", "Admin");
public static bool CanEditInactiveRequest(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Edit Inactive Request", "Supervisor", "Admin");
public static bool CanEncodeCollections(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Encode Collections", "Cashier");
public static bool CanDeleteJournalVoucher(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Delete Journal Voucher", "Supervisor", "Admin");
public static bool CanDeletePassbookRow(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Delete Passbook Row", "Cashier", "Supervisor", "Admin");
public static bool CanEditLedgerStartBalance(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Edit Ledger Start Balance", "Admin");
public static bool CanEditPostedPRNumber(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Edit posted PR #", "Supervisor", "Admin");
public static bool CanRunAdHocTask(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Run Ad Hoc Job", "Admin");
public static bool CanAddCollector(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Add Collector", "Supervisor", "Admin");
public static bool CanForceLeaseBalanceUpdate(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Force Lease Balance Update", "Cashier", "Admin");
public static bool CanMarkChequeAsCancelled(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Mark Cheque as “Cancelled”", "Supervisor", "Admin");
public static bool CanDeleteSystemGeneratedPassbookRow(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Delete System-generated Passbook Row", "Supervisor", "Admin");
public static bool CanEditClearedDate(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Edit “Cleared” date", "Cashier", "Supervisor", "Admin");
public static bool CanAddVoucherRequest(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Create Voucher Request", "Supervisor", "Admin");
public static bool CanPostAndClose(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Post & Close Market Day", "Admin", "Supervisor");
public static bool CanDeleteVoucherRequest(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Delete Voucher Request", "Admin");
public static bool CanEditLease(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Edit Lease", "Admin", "Acctg.Head");
public static bool CanInputChequeDetails(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Input Cheque Details", "Supervisor", "Admin");
public static bool CanTerminateteLease(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Terminate Lease", "Supervisor", "Admin");
public static bool CanDeleteBankTransaction(this ICredentialsProvider creds, bool alertIfNotAllowed) => creds.Check(alertIfNotAllowed, "Delete Bank Transaction", "Cashier", "Supervisor", "Admin");