canCancel method

Future<bool> canCancel(
  1. String doctype
)

Check if the user can cancel a doctype.

Implementation

Future<bool> canCancel(String doctype) async =>
    await _canInUserPermissions('can_cancel', doctype);