[interchange-cvs] interchange - heins modified 3 files
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Sat Aug 3 15:42:01 2002
User: heins
Date: 2002-08-03 19:41:43 GMT
Modified: dist/lib/UI/pages/include/menus Accounting.txt
Added: dist/lib/UI/pages/admin/accounting index.html return.html
Log:
* Add SQL-Ledger menu and accounting/ pages.
Revision Changes Path
1.1 interchange/dist/lib/UI/pages/admin/accounting/index.h=
tml
rev 1.1, prev_rev 1.0
Index: index.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[tmp page_perm]files[/tmp]
[tmp page_title][L]Accounting[/L]: [calc]$Config->{CatalogName}[/calc][/tmp]
[set ui_class]Admin[/set]
[tmp help_name]genconfig.main[/tmp]
[tmp icon_name]icon_config.gif[/tmp]
@_UI_STD_INIT_@
<html>
<head>
<title>[scratch page_title]</title>
<!-- ----- BEGIN REAL STUFF ----- -->
[if type=3Dexplicit compare=3D`$Config->{Accounting}{Class} eq 'Vend::Accou=
nting::SQL_Ledger'`]
<frameset COLS=3D"200,*" BORDER=3D0>
<frame name=3D"accounting_ic_menu" src=3D"[area __UI_BASE__/accounting/retu=
rn]">
[calc]
my $acc =3D $Config->{Accounting};
$def =3D $Scratch->{sl_base_url} =3D $acc->{base_url};
$def .=3D "/login.pl";
my $user =3D $acc->{username}
or return $def;
my $pass =3D $acc->{password}
or return $def;
my $path =3D $acc->{path} || 'bin/mozilla';
my @parms =3D (
"login=3D$user",
"path=3D$path",
);
$Scratch->{sl_parms} =3D join "&", @parms;
$Scratch->{tmp_url} =3D
$def . "?" . "$Scratch->{sl_parms}&password=3D$pass&action=3DLogin";
return;
[/calc]
[tmp sl_result][get-url url=3D"[scratchd tmp_url]"][/tmp]
[calc]
$Scratch->{sl_result} =3D~ /[&?]password=3D([^\s"']+)/;
$Scratch->{sl_parms} .=3D "&password=3D$1";
$Scratch->{sql_ledger_url} =3D $def;
$Scratch->{sql_ledger_url} .=3D '?' . $Scratch->{sl_parms} . "&action=3Dc=
ompany_logo";
return;
[/calc]
<frame name=3D"accounting_ic_main" src=3D"[scratch sql_ledger_url]">
</frameset>
[/if]
<!-- ----- END REAL STUFF ----- -->
</head>
<body>
<!-- page: @@MV_PAGE@@ -->
</body>
</html>
1.1 interchange/dist/lib/UI/pages/admin/accounting/return.=
html
rev 1.1, prev_rev 1.0
Index: return.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
@_UI_STD_INIT_@
<html><head>
<title>
[L]Quicklinks[/L]
</title>
<style type=3D"text/css">
<!--
a:visited { text-decoration: none }
a:active { text-decoration: none }
a:link { text-decoration: none }
-->
</style>
<base target=3D"accounting_ic_main">
</head>
<body bgcolor=3D"__UI_P_BG__" link=3D"__UI_P_LINK__" alink=3D"__UI_P_ALINK_=
_" vlink=3D"__UI_P_VLINK__">
<div valign=3Dmiddle>
<center>
<table border=3D0 width=3D120 cellpadding=3D1 cellspacing=3D0 bgcolor=3D"__=
UI_C_TOPBLOCKBAR__">
<tr>
<td>
<table border=3D0 width=3D100% cellpadding=3D1 cellspacing=3D0>
<tr>
<td bgcolor=3D"__UI_C_INTBLOCK__" nowrap>
<A href=3D"[area __UI_BASE__/accounting/index]" target=3D"_top"><b>Accounti=
ng Menu</b></A>
<p>
<font size=3D2 face=3D"Verdana,Arial,Helvetica,sans-serif">
[loop
prefix=3Dam
search=3D"
fi=3DAccounting.txt
bd=3Dinclude/menus
st=3Dtext
[if cgi full]
ra=3Dyes
[else]
co=3Dyes
sf=3Dmgroup
se=3Dfull
op=3Dne
[/else]
[/if]
tf=3Dmsort
rf=3D*
"
lr=3D1]
[if-am-param page]
<a href=3D"[scratch sl_base_url]/[am-param page]?[scratch=
sl_parms]&[am-param form]">[loc][am-param name][/loc]</a><br>
[/if-am-param]
[if-am-param !page]
<b>[am-param name]</b><br>
[/if-am-param]
[/loop]
<BLOCKQUOTE>
[if cgi full]
[<A HREF=3D"[area href=3D@@MV_PAGE@@ form=3D"full=3D0"]" target=3D"_sel=
f">short menu</A>]
[else]
[<A HREF=3D"[area href=3D@@MV_PAGE@@ form=3D"full=3D1"]" target=3D"_sel=
f">full menu</A>]
[/else]
[/if]
<br><br>[<A HREF=3D"[area href=3D"__UI_BASE__/menu_editor" form=3D"qmen=
u_name=3DAccounting"]">edit menu</A>]
</BLOCKQUOTE>
</font>
<hr noshade size=3D1>
<A href=3D"[area __UI_BASE__/index]" target=3D"_top"><b>Interchange Menu</b=
></A>
<p>
<font size=3D2 face=3D"Verdana,Arial,Helvetica,sans-serif">
[loop
prefix=3Dam
search=3D"
fi=3Dicmenu
st=3Ddb
co=3Dyes
sf=3Dmgroup
se=3Dacc_Other
op=3Deq
tf=3Dmsort
rf=3D*
"
lr=3D1]
[if-am-param !inactive]
[if-mm advanced [am-param depends_on]]
[if-am-param page]
<a href=3D"[area href=3D'[am-param page]' form=3D'[am-par=
am form]']">[loc][am-param name][/loc]</a><br>
[/if-am-param]
[if-am-param !page]
<b>[am-param name]</b><br>
[/if-am-param]
[/if-mm]
[/if-am-param]
[/loop]
</font>
</TD>
</TR>
</TABLE>
</td></tr></table>
</center>
</div>
<div align=3D"center"><a href=3D"javascript:self.window.close()">[[L]cl=
ose[/L]]</a></div>
</BODY>
</HTML>
1.2 +40 -40 interchange/dist/lib/UI/pages/include/menus/Accounting=
txt
rev 1.2, prev_rev 1.1
Index: Accounting.txt
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /var/cvs/interchange/dist/lib/UI/pages/include/menus/Accounting.t=
xt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Accounting.txt 2 Aug 2002 06:14:35 -0000 1.1
+++ Accounting.txt 3 Aug 2002 19:41:43 -0000 1.2
@@ -1,41 +1,41 @@
code mgroup msort inactive page form name description extended
-001 001 AR
-002 002 ar.pl customer=3DAll%20Customers&sort=3Dtransdate&open=3DY&l_inv=
number=3DY&l_transdate=3DY&l_name=3DY&l_amount=3DY&l_paid=3DY&nextsub=3Dar_=
transactions&action=3DContinue Open transactions
-003 003 ar.pl customer=3DAll%20Customers&sort=3Dtransdate&open=3DY&l_inv=
number=3DY&l_transdate=3DY&l_name=3DY&l_amount=3DY&l_paid=3DY&nextsub=3Dar_=
transactions&action=3DContinue&closed=3DY All Transactions
-004 004 ar.pl action=3Dsearch&nextsub=3Dar_transactions Search: Transact=
ions
-005 005 ar.pl action=3Dsearch&nextsub=3Dpayments Search: Payments
-006 full 006 ct.pl action=3Dadd&db=3Dcustomer Add Customer
-007 full 007 ar.pl action=3Dadd Add Transaction
-008 full 008 is.pl action=3Dadd&foo=3Dbar Customer Invoice
-009 009=09
-010 full 010 AP
-011 full 011 ct.pl action=3Dadd&db=3Dvendor Add Vendor
-012 full 012 ap.pl action=3Dsearch&nextsub=3Dpayments Payments
-013 full 013 rp.pl action=3Dreport&title=3DAP%20Aging Report: Aging
-014 full 014 ap.pl action=3Dsearch&nextsub=3Dar_transactions Report: Tran=
sactions
-015 full 015 ct.pl action=3Dsearch&db=3Dvendor Search Vendor
-016 full 016 ir.pl action=3Dadd&type=3Dinvoice Vendor Invoice
-017 full 017=09
-018 018 Order Entry
-019 full 019 oe.pl action=3Dsearch&type=3Dpurchase_order Show POs
-020 020 oe.pl action=3Dsearch&type=3Dsales_order Show Sales Orders
-021 full 021 oe.pl action=3Dadd&type=3Dpurchase_order Add PO
-022 022 oe.pl action=3Dadd&type=3Dsales_order Add Sales Order
-023 023=09
-024 024 General Ledger
-025 full 025 gl.pl action=3Dadd Add Transaction
-026 026 gl.pl action=3Dsearch Reports
-027 027=09
-028 028 Inventory
-029 full 029 ic.pl action=3Dadd&item=3Dassembly Add Assembly
-030 030 ic.pl action=3Dadd&item=3Dpart Add Part
-031 031 ic.pl action=3Dadd&item=3Dservice Add Service
-032 032 ir.pl action=3Dadd&type=3Dinvoice Merchandise Received
-033 033 ic.pl searchitems=3Dall&l_partnumber=3DY&l_description=3DY&l_onh=
and=3DY&l_unit=3DY&l_sellprice=3DY&action=3DGenerate%20Report Show all parts
-034 full 034 ic.pl action=3Dsearch Reports
-035 035=09
-036 036 Reports
-037 037 rp.pl action=3Dreport&title=3DBalance%20Sheet Balance Sheet
-038 038 ca.pl action=3Dchart_of_accounts Chart of Accounts
-039 039 rp.pl action=3Dreport&title=3DIncome%20Statement Income Statement
-040 040 rp.pl action=3Dreport&title=3DTrial%20Balance Trial Balance
+001 x001 0 AR=09=09
+002 x002 0 ar.pl customer=3DAll%20Customers&sort=3Dtransdate&open=3DY&l_i=
nvnumber=3DY&l_transdate=3DY&l_name=3DY&l_amount=3DY&l_paid=3DY&nextsub=3Da=
r_transactions&action=3DContinue Open transactions=09=09
+003 x003 0 ar.pl customer=3DAll%20Customers&sort=3Dtransdate&open=3DY&l_i=
nvnumber=3DY&l_transdate=3DY&l_name=3DY&l_amount=3DY&l_paid=3DY&nextsub=3Da=
r_transactions&action=3DContinue&closed=3DY All Transactions=09=09
+004 x004 0 ar.pl action=3Dsearch&nextsub=3Dar_transactions Search: Transa=
ctions=09=09
+005 x005 0 ar.pl action=3Dsearch&nextsub=3Dpayments Search: Payments=09=
=09
+006 full x006 0 ct.pl action=3Dadd&db=3Dcustomer Add Customer=09=09
+007 full x007 0 ar.pl action=3Dadd Add Transaction=09=09
+008 full x008 0 is.pl action=3Dadd&foo=3Dbar Customer Invoice=09=09
+009 x009 0=09=09=09=09=09
+010 full x010 0 AP=09=09
+011 full x011 0 ct.pl action=3Dadd&db=3Dvendor Add Vendor=09=09
+012 full x012 0 ap.pl action=3Dsearch&nextsub=3Dpayments Payments=09=09
+013 full x013 0 rp.pl action=3Dreport&title=3DAP%20Aging Report: Aging=09=
=09
+014 full x014 0 ap.pl action=3Dsearch&nextsub=3Dar_transactions Report: Tr=
ansactions=09=09
+015 full x015 0 ct.pl action=3Dsearch&db=3Dvendor Search Vendor=09=09
+016 full x016 0 ir.pl action=3Dadd&type=3Dinvoice Vendor Invoice=09=09
+017 full x017 0=09=09=09=09=09
+018 x018 0 Order Entry=09=09
+019 full x019 0 oe.pl action=3Dsearch&type=3Dpurchase_order Show POs=09=09
+020 x020 0 oe.pl action=3Dsearch&type=3Dsales_order Show Sales Orders=09=
=09
+021 full x021 0 oe.pl action=3Dadd&type=3Dpurchase_order Add PO=09=09
+022 x022 0 oe.pl action=3Dadd&type=3Dsales_order Add Sales Order=09=09
+023 x023 0=09=09=09=09=09
+024 x024 0 General Ledger=09=09
+025 full x025 0 gl.pl action=3Dadd Add Transaction=09=09
+026 x026 0 gl.pl action=3Dsearch Reports=09=09
+027 x027 0=09=09=09=09=09
+028 x028 0 Inventory=09=09
+029 full x029 0 ic.pl action=3Dadd&item=3Dassembly Add Assembly=09=09
+030 x030 0 ic.pl action=3Dadd&item=3Dpart Add Part=09=09
+031 x031 0 ic.pl action=3Dadd&item=3Dservice Add Service=09=09
+032 x032 0 ir.pl action=3Dadd&type=3Dinvoice Merchandise Received=09=09
+033 x033 0 ic.pl searchitems=3Dall&l_partnumber=3DY&l_description=3DY&l_o=
nhand=3DY&l_unit=3DY&l_sellprice=3DY&action=3DGenerate%20Report Show all pa=
rts=09=09
+034 full x034 0 ic.pl action=3Dsearch Reports=09=09
+035 x035 0=09=09=09=09=09
+036 x036 0 Reports=09=09
+037 x037 0 rp.pl action=3Dreport&title=3DBalance%20Sheet Balance Sheet=09=
=09
+038 x038 0 ca.pl action=3Dchart_of_accounts Chart of Accounts=09=09
+039 x039 0 rp.pl action=3Dreport&title=3DIncome%20Statement Income Statem=
ent=09=09
+040 x040 0 rp.pl action=3Dreport&title=3DTrial%20Balance Trial Balance=09=
=09