[Koha-devel] CVS: koha-html/intranet-html/includes aquisitions-top.inc,1.3,1.4

Chris Cormack rangi at users.sourceforge.net
Wed Mar 20 02:11:03 CET 2002


Update of /cvsroot/koha/koha-html/intranet-html/includes
In directory usw-pr-cvs1:/tmp/cvs-serv19257/includes

Modified Files:
	aquisitions-top.inc 
Log Message:
Fixing broken include calls


Index: aquisitions-top.inc
===================================================================
RCS file: /cvsroot/koha/koha-html/intranet-html/includes/aquisitions-top.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** aquisitions-top.inc	2 Nov 2001 21:55:24 -0000	1.3
--- aquisitions-top.inc	20 Mar 2002 10:10:34 -0000	1.4
***************
*** 64,69 ****
    subtotal=0;
    discount=0;
!   q=f.length-3;
    while (z < q){
      z++;
      //skip rrp for now
--- 64,70 ----
    subtotal=0;
    discount=0;
!   q=f.length-5;
    while (z < q){
+ //     f.elements[z].value=z;
      z++;
      //skip rrp for now
***************
*** 76,85 ****
      subtotal = subtotal + booktotal;
      z++;
    }
    GST=subtotal*0.125;
    total=subtotal+GST;
!   f.elements[z].value = display(subtotal);
!   f.elements[z+1].value =display(GST);
!   f.elements[z+2].value =display(total);
  }
      
--- 77,88 ----
      subtotal = subtotal + booktotal;
      z++;
+     z++;
+     z++;
    }
    GST=subtotal*0.125;
    total=subtotal+GST;
!   f.subtotal.value = display(subtotal);
!   f.gst.value =display(GST);
!   f.grandtotal.value =display(total);
  }
      





More information about the Koha-devel mailing list