aboutsummaryrefslogtreecommitdiff
path: root/muamba.business.inc
diff options
context:
space:
mode:
Diffstat (limited to 'muamba.business.inc')
-rw-r--r--muamba.business.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/muamba.business.inc b/muamba.business.inc
index 195409f..cd9dc5d 100644
--- a/muamba.business.inc
+++ b/muamba.business.inc
@@ -6,6 +6,18 @@
*/
/**
+ * Define which status belongs to an ongoing transaction.
+ */
+function muamba_ongoing() {
+ return array(
+ MUAMBA_REQUESTED,
+ MUAMBA_ACCEPTED,
+ MUAMBA_RETURNED,
+ MUAMBA_LOST,
+ );
+}
+
+/**
* Determine possible actions for a transaction.
*
* @param $type