Formatting
[memberdb.git] / include / finances.php
index b314aa7..77496ef 100644 (file)
@@ -1,6 +1,5 @@
 <?php
 
-
 use MemberDB\Config\Config;
 
 function finance_get_total_paid_fees()
@@ -11,7 +10,6 @@ function finance_get_total_paid_fees()
     return bcsub($paid['paid_fees'], $refunded['refunded_fees']);
 }
 
-
 function finance_get_paid_fees_for_member($member_id, $old_fees = false)
 {
     // $old_fees: Beitr├Ąge die nicht durch Lastschrift eingezogen werden.
@@ -29,7 +27,7 @@ function finance_get_paid_fees_for_member($member_id, $old_fees = false)
     }
 
     /** @var DateTime $direct_debit */
-    $direct_debit = Config::getInstance()->get('direct_debit')['date']
+    $direct_debit = Config::getInstance()->get('direct_debit')['date'];
     $invoiced_fees = fees_sum_for_member($member_id, $direct_debit->getTimestamp() - 86400);
     $paid_invoiced_fees = finance_get_paid_fees_for_member($member_id, true);
     if (bccomp($paid_invoiced_fees, $invoiced_fees) == 1) {
@@ -56,7 +54,7 @@ function finance_list_paid_fees_for_member($member_id)
 }
 
 function action_finances()
-{/*{{{*/
+{
     ?>
     <h2>Finanzen</h2>
     <?php
@@ -66,4 +64,4 @@ function action_finances()
     render_open_payments();
     render_finished_payments();
     echo '<a href="' . link_to('export') . '">.xls runterladen</a>';
-}/*}}}*/
+}