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

SF.net SVN: ledger-smb:[3522] trunk



Revision: 3522
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3522&view=rev
Author:   einhverfr
Date:     2011-07-15 08:38:40 +0000 (Fri, 15 Jul 2011)

Log Message:
-----------
Docsctrings for scripts/customer.pl and scripts/vendor.pl

Modified Paths:
--------------
    trunk/LedgerSMB/ScriptLib/Company.pm
    trunk/scripts/customer.pl
    trunk/scripts/vendor.pl

Modified: trunk/LedgerSMB/ScriptLib/Company.pm
===================================================================
--- trunk/LedgerSMB/ScriptLib/Company.pm	2011-07-15 08:29:48 UTC (rev 3521)
+++ trunk/LedgerSMB/ScriptLib/Company.pm	2011-07-15 08:38:40 UTC (rev 3522)
@@ -915,6 +915,13 @@
     _render_main_screen($company );
 }
 
+=item save_notes($request)
+
+Saves notes.  entity_id or credit_id must be set, as must note_class, note, and 
+subject.
+
+=cut
+
 sub save_notes {
     my ($request) = @_;
     my $company = new_company($request);
@@ -924,4 +931,15 @@
     $company->get();
     _render_main_screen($company );
 }
+
+=back
+
+=head1 COPYRIGHT
+
+Copyright (c) 2009, the LedgerSMB Core Team.  This is licensed under the GNU 
+General Public License, version 2, or at your option any later version.  Please 
+see the accompanying License.txt for more information.
+
+=cut
+
 1;

Modified: trunk/scripts/customer.pl
===================================================================
--- trunk/scripts/customer.pl	2011-07-15 08:29:48 UTC (rev 3521)
+++ trunk/scripts/customer.pl	2011-07-15 08:38:40 UTC (rev 3522)
@@ -36,4 +36,19 @@
     return LedgerSMB::DBObject::Customer->new(base=> $request, copy => 'all');
 }
 
+
+=back
+
+=head1 INHERITS
+
+LedgerSMB::ScriptLib::Company
+
+=head1 COPYRIGHT
+
+Copyright (c) 2009, the LedgerSMB Core Team.  This is licensed under the GNU 
+General Public License, version 2, or at your option any later version.  Please 
+see the accompanying License.txt for more information.
+
+=cut
+
 1;

Modified: trunk/scripts/vendor.pl
===================================================================
--- trunk/scripts/vendor.pl	2011-07-15 08:29:48 UTC (rev 3521)
+++ trunk/scripts/vendor.pl	2011-07-15 08:38:40 UTC (rev 3522)
@@ -39,4 +39,19 @@
 
 eval { do "scripts/custom/vendor.pl"};
     
+
+=back
+
+=head1 INHERITS
+
+LedgerSMB::ScriptLib::Company
+
+=head1 COPYRIGHT
+
+Copyright (c) 2009, the LedgerSMB Core Team.  This is licensed under the GNU 
+General Public License, version 2, or at your option any later version.  Please 
+see the accompanying License.txt for more information.
+
+=cut
+
 1;


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