]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
Rewrote a lot parts to extract 'payments' table (+ handling) into own extension:
[mailer.git] / inc / mysql-manager.php
index fd5fa60bc9b39444df044191925e97d07a10e5b4..2a36d6db07ef1d7d42b773638daffeba2e530199 100644 (file)
@@ -901,6 +901,12 @@ function getPaymentTitlePrice ($paymentsId, $full = FALSE) {
        return $ret;
 }
 
+// Get payment price
+function getPaymentPrice ($paymentsId) {
+       // Return result
+       return getPaymentData($paymentsId, 'price');
+}
+
 // "Getter" for payment data (cached)
 function getPaymentData ($paymentsId, $lookFor = 'price') {
        // Default value...