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

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



Revision: 1964
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1964&view=rev
Author:   einhverfr
Date:     2007-12-07 18:38:53 -0800 (Fri, 07 Dec 2007)

Log Message:
-----------
Removing sql/legacy-- will package new download from the files in branches/1.2

Modified Paths:
--------------
    trunk/LedgerSMB/DBObject/Payment.pm
    trunk/UI/payments/payments_detail.html
    trunk/UI/payments/payments_filter.html
    trunk/UI/rp-search-payments.html
    trunk/bin/gl.pl
    trunk/bin/rp.pl
    trunk/sql/modules/Payment.sql

Removed Paths:
-------------
    trunk/sql/legacy/

Modified: trunk/LedgerSMB/DBObject/Payment.pm
===================================================================
--- trunk/LedgerSMB/DBObject/Payment.pm	2007-12-08 01:09:10 UTC (rev 1963)
+++ trunk/LedgerSMB/DBObject/Payment.pm	2007-12-08 02:38:53 UTC (rev 1964)
@@ -379,6 +379,7 @@
         $inv->{invoices} = [];
         @{$inv->{invoices}} = $self->_parse_array($tmp_invoices);
     }
+    # $self->{dbh}->commit; # Commit locks
 }    
 
 sub post_bulk {

Modified: trunk/UI/payments/payments_detail.html
===================================================================
--- trunk/UI/payments/payments_detail.html	2007-12-08 01:09:10 UTC (rev 1963)
+++ trunk/UI/payments/payments_detail.html	2007-12-08 02:38:53 UTC (rev 1964)
@@ -64,8 +64,8 @@
  } ?>
  <?lsmb INCLUDE input element_data = {
 	type = "hidden"
-	name = "business"
-	value = business
+	name = "business_id"
+	value = business_id
  } ?>
  <?lsmb INCLUDE input element_data = {
 	type = "hidden"

Modified: trunk/UI/payments/payments_filter.html
===================================================================
--- trunk/UI/payments/payments_filter.html	2007-12-08 01:09:10 UTC (rev 1963)
+++ trunk/UI/payments/payments_filter.html	2007-12-08 02:38:53 UTC (rev 1964)
@@ -60,7 +60,7 @@
 <?lsmb IF businesses ?>
 <div id = "payments-filter-businesses" class="input">
   <label for="businesses"><?lsmb text('Business Class') ?></label>
-  <select name="business" id="businesses">
+  <select name="business_id" id="businesses">
   <?lsmb FOREACH b = businesses ?>
   <option value="<?lsmb b.id ?>"><?lsmb b.description ?></option>
   <?lsmb END ?>

Modified: trunk/UI/rp-search-payments.html
===================================================================
--- trunk/UI/rp-search-payments.html	2007-12-08 01:09:10 UTC (rev 1963)
+++ trunk/UI/rp-search-payments.html	2007-12-08 02:38:53 UTC (rev 1964)
@@ -3,6 +3,12 @@
         <td colspan="3"><?lsmb PROCESS select element_data=form.paymentaccounts ?></td>
       </tr>
       <tr>
+        <th aligh="right"><?lsmb text('Vendor Number') ?></th>
+        <td colpan="3"><?lsmb INCLUDE input element_data = {
+		name = "meta_number"
+		size = '35'
+	} ?></td>
+      <tr>
         <th align="right"><?lsmb text('Description') ?></th>
         <td colspan="3"><?lsmb PROCESS input element_data={
   name => 'description',

Modified: trunk/bin/gl.pl
===================================================================
--- trunk/bin/gl.pl	2007-12-08 01:09:10 UTC (rev 1963)
+++ trunk/bin/gl.pl	2007-12-08 02:38:53 UTC (rev 1964)
@@ -131,7 +131,7 @@
         }
     }
 
-    &display_form(1);
+    &dislay_form(1);
 
 }
 

Modified: trunk/bin/rp.pl
===================================================================
--- trunk/bin/rp.pl	2007-12-08 01:09:10 UTC (rev 1963)
+++ trunk/bin/rp.pl	2007-12-08 02:38:53 UTC (rev 1964)
@@ -1923,7 +1923,7 @@
 
     RP->payments( \%myconfig, \%$form );
 
-    my @columns = $form->sort_columns(qw(transdate name paid source meta_number 
+    my @columns = $form->sort_columns(qw(meta_number transdate name paid source 
 memo));
 
     if ( $form->{till} ) {

Modified: trunk/sql/modules/Payment.sql
===================================================================
--- trunk/sql/modules/Payment.sql	2007-12-08 01:09:10 UTC (rev 1963)
+++ trunk/sql/modules/Payment.sql	2007-12-08 02:38:53 UTC (rev 1964)
@@ -223,8 +223,8 @@
 	IF in_batch_id IS NULL THEN
 		t_voucher_id := NULL;
 	ELSE
-		INSERT INTO voucher (batch_id, trans_id)
-		values (in_batch_id, in_transactions[1][1]);
+		INSERT INTO voucher (batch_id, batch_class, trans_id)
+		values (in_batch_id, 3, in_transactions[1][1]);
 
 		t_voucher_id := currval('voucher_id_seq');
 	END IF;


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