3 #wrriten 11/1/2000 by chris@katipo.oc.nz
4 #script to display borrowers account details
14 my $bornum=$input->param('bornum');
16 my $data=borrdata('',$bornum);
17 my $add=$input->param('add');
19 # print $input->header;
20 my $itemnum=$input->param('itemnum');
21 my $desc=$input->param('desc');
22 my $amount=$input->param('amount');
23 my $type=$input->param('type');
24 manualinvoice($bornum,$itemnum,$desc,$type,$amount);
25 print $input->redirect("/cgi-bin/koha/moremember.pl?bornum=$bornum");
29 print startmenu('member');
31 <Center><h3>Manual Invoice</h3></center>
32 <form action=/cgi-bin/koha/maninvoice.pl method=post>
33 <table cellpadding=2 cellspacing=0 border=0>
34 <input type=hidden name=bornum value=$bornum>
35 <tr><td><b>Borrowernumber<b></td><td>$bornum</td></tr>
36 <!--<tr><td><b>Cardnumber<b></td><td></td></tr>-->
37 <tr><td><b>Type</b></td><Td>
39 <option value=L>Lost Item</option>
40 <option value=F>Fine</option>
41 <option value=A>Account Management Fee</option>
42 <option value=N>New Card</option>
43 <option value=M>Sundry</option>
44 <option value=REF>Cash Refund</option>
47 <tr><td><b>Itemnumber</b></td><td><input type=text name=itemnum></td></tr>
48 <tr><td><b>Description</b></td><td><input type=text name=desc size=50></td></tr>
49 <tr><td><b>Amount</b></td><td><input type=text name=amount></td></tr>
50 <tr><td><input type=submit name=add value=Add></td></tr>
55 print endmenu('member');