projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #10144 from eileenmcnaughton/iida8
[civicrm-core.git]
/
CRM
/
Core
/
Payment
/
Manual.php
diff --git
a/CRM/Core/Payment/Manual.php
b/CRM/Core/Payment/Manual.php
index ecc3c92520042f31815fa12c7ba231cebf0f68e2..55bae03df26b461a16284010b8b96b2bcd836a3c 100644
(file)
--- a/
CRM/Core/Payment/Manual.php
+++ b/
CRM/Core/Payment/Manual.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
6
|
+ | Copyright CiviCRM LLC (c) 2004-201
7
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
6
+ * @copyright CiviCRM LLC (c) 2004-201
7
*/
class CRM_Core_Payment_Manual extends CRM_Core_Payment {
*/
class CRM_Core_Payment_Manual extends CRM_Core_Payment {
@@
-137,6
+137,15
@@
class CRM_Core_Payment_Manual extends CRM_Core_Payment {
$this->result = $result;
}
$this->result = $result;
}
+ /**
+ * Set payment instrument id.
+ *
+ * @param int $paymentInstrumentID
+ */
+ public function setPaymentInstrumentID($paymentInstrumentID) {
+ $this->paymentInstrumentID = $paymentInstrumentID;
+ }
+
/**
* Get the name of the payment type.
*
/**
* Get the name of the payment type.
*
@@
-173,6
+182,15
@@
class CRM_Core_Payment_Manual extends CRM_Core_Payment {
return TRUE;
}
return TRUE;
}
+ /**
+ * Are back office payments supported.
+ *
+ * @return bool
+ */
+ protected function supportsBackOffice() {
+ return TRUE;
+ }
+
/**
* Submit a manual payment.
*
/**
* Submit a manual payment.
*