[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6931] branches/1.3/LedgerSMB/DBObject/Payment.pm



Revision: 6931
          http://sourceforge.net/p/ledger-smb/code/6931
Author:   jame
Date:     2014-03-16 21:55:59 +0000 (Sun, 16 Mar 2014)
Log Message:
-----------
Corrected POD syntax errors in LedgerSMB/DBObject/Payment.pm

Modified Paths:
--------------
    branches/1.3/LedgerSMB/DBObject/Payment.pm

Modified: branches/1.3/LedgerSMB/DBObject/Payment.pm
===================================================================
--- branches/1.3/LedgerSMB/DBObject/Payment.pm	2014-03-10 16:34:08 UTC (rev 6930)
+++ branches/1.3/LedgerSMB/DBObject/Payment.pm	2014-03-16 21:55:59 UTC (rev 6931)
@@ -232,6 +232,7 @@
         $self->exec_method(funcname => 'payment_get_all_accounts');
     return @{$self->{accounts}};
 }
+
 =over
 
 =item $payment->reverse()
@@ -414,7 +415,7 @@
 =cut
 
 =over
-                      
+
 =item get_open_currencies
 
 This method gets a list of the open currencies inside the database, it requires that  
@@ -432,14 +433,15 @@
   return @{$self->{openCurrencies}};
 }
 
-
 =over
 
 =item list_accounting
 
 This method lists all accounts that match the role specified in account_class property and
 are available to store the payment or receipts. 
+
 =back
+
 =cut
 
 sub list_accounting {
@@ -448,11 +450,15 @@
  return @{$self->{pay_accounts}}; 
 }
 
+=over
+
 =item list_overpayment_accounting
 
 This method lists all accounts that match the role specified in account_class property and
 are available to store an overpayment / advanced payment / pre-payment. 
+
 =back
+
 =cut
 
 sub list_overpayment_accounting {
@@ -461,11 +467,13 @@
  return @{$self->{overpayment_accounts}}; 
 }
 
+=over
 
 =item get_sources
 
 This method builds all the possible sources of money,
 in the future it will look inside the DB. 
+
 =back
 
 =cut
@@ -479,10 +487,14 @@
  return @{$self->{cash_sources}}; 
 }
 
+=over
+
 =item get_exchange_rate(currency, date)
 
 This method gets the exchange rate for the specified currency and date
 
+=back
+
 =cut 
 
 sub get_exchange_rate { 
@@ -493,9 +505,12 @@
  
 }
 
+=over
+
 =item get_default_currency
 
 This method gets the default currency 
+
 =back
 
 =cut
@@ -506,10 +521,14 @@
  return $self->{default_currency}->{defaults_get_defaultcurrency};
 }
 
+=over
+
 =item get_current_date
 
 This method returns the system's current date
 
+=back
+
 =cut
 
 sub get_current_date {
@@ -517,11 +536,15 @@
  return $self->{current_date}; 
 }
 
+=over
+
 =item get_vc_info
 
 This method returns the contact informatino for a customer or vendor according to
 $self->{account_class}
 
+=back
+
 =cut
 
 sub get_vc_info {
@@ -533,10 +556,14 @@
  return ${$self->{vendor_customer_info}}[0];
 }
 
+=over
+
 =item get_payment_detail_data
 
 This method sets appropriate project, department, etc. fields.
 
+=back
+
 =cut
 
 sub get_payment_detail_data {
@@ -598,6 +625,8 @@
     $self->{dbh}->commit; # Commit locks
 }    
 
+=over
+
 =item post_bulk
 
 This function posts the payments in bulk.  Note that queue_payments is not a 
@@ -621,6 +650,8 @@
 
 For each contact id, we have the following, suffixed with _$contact_id:
 
+=back
+
 =over
 
 =item source
@@ -714,10 +745,14 @@
     return $self->{dbh}->commit;
 }
 
+=over
+
 =item check_job
 
 To be moved into payment_queue addon.
 
+=back
+
 =cut
 
 sub check_job {
@@ -725,10 +760,14 @@
     ($self->{job}) = $self->exec_method(funcname => 'job__status');
 }
 
+=over
+
 =item post_payment
 
 This method uses payment_post to store a payment (not a bulk payment) on the database.
 
+=back
+
 =cut
 
 sub post_payment {
@@ -761,11 +800,15 @@
  return $self->{payment_id};
 }
 
+=over
+
 =item gather_printable_info 
 
 This method retrieves all the payment related info needed to build a
 document and print it. IT IS NECESSARY TO ALREADY HAVE payment_id on $self
 
+=back
+
 =cut
 
 
@@ -778,11 +821,15 @@
 }
 }
 
+=over
+
 =item get_open_overpayment_entities 
 
 This method retrieves all the entities with the specified
 account_class which have unused overpayments
 
+=back
+
 =cut
 
 sub get_open_overpayment_entities {
@@ -791,10 +838,14 @@
 return @{$self->{open_overpayment_entities}}; 
 }
 
+=over
+
 =item get_unused_overpayments
 
 This is a simple wrapper around payment_get_unused_overpayments sql function.
 
+=back
+
 =cut
 
 sub get_unused_overpayments {
@@ -803,10 +854,14 @@
 return @{$self->{unused_overpayment}}; 
 }
 
+=over
+
 =item get_available_overpayment_amount
 
 Simple wrapper around payment_get_available_overpayment_amount sql function.
 
+=back
+
 =cut
 
 sub get_available_overpayment_amount {
@@ -815,6 +870,8 @@
 return @{$self->{available_overpayment_amount}};
 }
 
+=over
+
 =item init
 
 Initializes the num2text system
@@ -823,6 +880,9 @@
 
 Translates numbers into words.
 
+=back
+
+
 =cut
 
 1;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits