Import in repository
This commit is contained in:
parent
b3fa7a3d27
commit
e18a050c70
102 changed files with 37581 additions and 0 deletions
1
AUTHORS
Normal file
1
AUTHORS
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Dany De Bontridder dany.debontridder@yahoo.fr
|
||||||
138
COPYING
Normal file
138
COPYING
Normal file
|
|
@ -0,0 +1,138 @@
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and modification follow.
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
* a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
* b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
|
||||||
|
|
||||||
|
* c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
* a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
* b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
* c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
one line to give the program's name and an idea of what it does.
|
||||||
|
Copyright (C) yyyy name of author
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
Gnomovision version 69, Copyright (C) year name of author
|
||||||
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
|
||||||
|
type `show w'. This is free software, and you are welcome
|
||||||
|
to redistribute it under certain conditions; type `show c'
|
||||||
|
for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright
|
||||||
|
interest in the program `Gnomovision'
|
||||||
|
(which makes passes at compilers) written
|
||||||
|
by James Hacker.
|
||||||
|
|
||||||
|
signature of Ty Coon, 1 April 1989
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
|
||||||
20
Faq
Normal file
20
Faq
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
1. Comment adapter le fichier php.ini
|
||||||
|
Avec PHP 4.3.1
|
||||||
|
Les variables sont passés de page en page dans un tableau _POST[nom_var] alors
|
||||||
|
qu'avec les versions précédentes, on y accédait directement avec $nom_var
|
||||||
|
voir la variable register_globale = off dans le php.ini
|
||||||
|
php.ini doit contenir pour wcompta
|
||||||
|
[PHP]
|
||||||
|
include_patch=../include:.
|
||||||
|
[Session]
|
||||||
|
session.name = PHPSESSID
|
||||||
|
; name of the session
|
||||||
|
; is used as cookie name
|
||||||
|
session.auto_start = 1 ; initialize session on request startup
|
||||||
|
session.cookie_lifetime = 0 ; lifetime in seconds of cookie
|
||||||
|
; or if 0, until browser is restarted
|
||||||
|
session.cookie_path = /tmp ; the path the cookie is valid for
|
||||||
|
|
||||||
|
2. Quand on réinitialise le mot de passe, que vaut-il ?
|
||||||
|
Le mot de passe par défaut est webcompta
|
||||||
|
|
||||||
127
INSTALL
Normal file
127
INSTALL
Normal file
|
|
@ -0,0 +1,127 @@
|
||||||
|
INSTALLATION
|
||||||
|
------------
|
||||||
|
|
||||||
|
1. Installation de postgresql 732 minimum
|
||||||
|
Soit avec des binaires préparés, soit à partir du code source
|
||||||
|
|
||||||
|
Personnellement, je l'ai compilé ainsi
|
||||||
|
|
||||||
|
Si vous décidez de le compiler vous-même, les
|
||||||
|
options suivantes fonctionnent
|
||||||
|
/configure -with-tk --with-python --with-perl --prefix=/opt/psql732
|
||||||
|
|
||||||
|
2. Installation d'Apache
|
||||||
|
Si vous décidez de le compiler vous-même, les
|
||||||
|
options suivantes fonctionnent
|
||||||
|
|
||||||
|
./configure --prefix=/opt/http2/ \
|
||||||
|
--enable-ssl \
|
||||||
|
--enable-http \
|
||||||
|
--enable-cgi \
|
||||||
|
--enable-so \
|
||||||
|
--enable-usertrack \
|
||||||
|
--enable-headers \
|
||||||
|
--enable-info
|
||||||
|
|
||||||
|
3. Configuration et démarrage de PostgreSql
|
||||||
|
Comme d'habitude pour postgres, il faut tout d'abord définir, créer
|
||||||
|
l'utilisateur postgres puis initialiser
|
||||||
|
l'endroit où seront stocké vos données (variable env. PGDATA),
|
||||||
|
exemple
|
||||||
|
root#mkdir /data/psql
|
||||||
|
root#chown postgres /data/psql
|
||||||
|
root#su - postgres
|
||||||
|
postgres#initdb -D /data/psql
|
||||||
|
postgres#pg_ctl -D /data/psql -o '-i' start
|
||||||
|
|
||||||
|
Il est impératif d'avoir l'option -i, sinon le server HTTP ne pourra
|
||||||
|
pas contacter PostgreSql
|
||||||
|
|
||||||
|
Dans PGDATA,vous trouverez le fichier nommé pg_hba.conf qui
|
||||||
|
vous permettra de régler la sécurité
|
||||||
|
|
||||||
|
Ce fichier doit au moins contenir la ligne:
|
||||||
|
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
|
||||||
|
|
||||||
|
host all webcompta 172.16.30.0 255.255.255.0 trust
|
||||||
|
|
||||||
|
Il vaut mieux remplacer 172.16.30.0 par l'adresse du server HTTP, dans
|
||||||
|
le cas où vous utilisez un VirtualHost avec une adresse IP, c'est
|
||||||
|
cette adresse qu'il vous faudra mettre
|
||||||
|
|
||||||
|
4. Installation de PHP 4.3.1
|
||||||
|
Il doit être compilé le dernier !!!
|
||||||
|
Si vous décidez de le compiler vous-même, les
|
||||||
|
options suivantes fonctionnent
|
||||||
|
|
||||||
|
./configure --prefix=/opt/php431 \
|
||||||
|
--with-apxs2=/opt/http2/bin/apxs \
|
||||||
|
--with-fastcgi \
|
||||||
|
--with-zlib \
|
||||||
|
--with-pgsql=/opt/psql732 \
|
||||||
|
--with-mysql \
|
||||||
|
--with-apache2=/software/httpd-2.0.44
|
||||||
|
|
||||||
|
|
||||||
|
5. Fichier php.ini, s'il n'existe pas, vous devez le créer, l'endroit
|
||||||
|
où vous le trouverez dépend des options de compilation. Dans le cas,
|
||||||
|
où vous avez compilé php de la même manière que moi, il se trouve
|
||||||
|
dans /opt/php431/lib.
|
||||||
|
Recopier simplement le fichier fourni à cet endroit.
|
||||||
|
|
||||||
|
Sinon, adaptez votre fichier, il doit avoir au minimum les options
|
||||||
|
suivantes
|
||||||
|
register_globals = on
|
||||||
|
|
||||||
|
[Session]
|
||||||
|
session.save_handler = files ; handler used to store/retrieve data
|
||||||
|
session.save_path = /tmp ; argument passed to save_handler
|
||||||
|
; in the case of files, this is the
|
||||||
|
; path where data files are stored
|
||||||
|
session.use_cookies = 1 ; whether to use cookies
|
||||||
|
session.name = PHPSESSID
|
||||||
|
; name of the session
|
||||||
|
; is used as cookie name
|
||||||
|
session.auto_start = 1 ; initialize session on request startup
|
||||||
|
session.cookie_lifetime = 0 ; lifetime in seconds of cookie
|
||||||
|
; or if 0, until browser is restarted
|
||||||
|
session.cookie_path = /tmp ; the path the cookie is valid for
|
||||||
|
|
||||||
|
allow_call_time_pass_reference = on
|
||||||
|
register_argc_argv = on
|
||||||
|
session.bug_compat_42 = 1
|
||||||
|
session.bug_compat_warn = 0
|
||||||
|
session.use_trans_sid = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
6. Le fichier httpd.conf doit au moins contenir
|
||||||
|
|
||||||
|
LoadModule php4_module modules/libphp4.so
|
||||||
|
AddType application/x-httpd-php .php4 .php3 .php .phtml
|
||||||
|
|
||||||
|
Et si vous décidez d'avoir la même configuration que moi, mais ce
|
||||||
|
n'est pas obligatoire
|
||||||
|
<VirtualHost 172.16.30.150>
|
||||||
|
ServerName site
|
||||||
|
ErrorLog wcompta-error.log
|
||||||
|
TransferLog wcompta-debug.log
|
||||||
|
DocumentRoot /home/httpd/compta/html
|
||||||
|
</VirtualHost>
|
||||||
|
|
||||||
|
Apache se démarre avec apachectl start
|
||||||
|
7. Adapter les fichiers setenv.sh et install.sh selon vos besoins.
|
||||||
|
|
||||||
|
8. Il faut créer le répertoire où seront mis l'application elle-même,
|
||||||
|
ici, les fichiers seront dans /home/httpd/compta. Créer ce
|
||||||
|
répertoire, le propriétaire de répertoire doit être le même que
|
||||||
|
celui qui fera installera l'application. Cet utiliserateur devra
|
||||||
|
aussi avoir le privilège de créer un utilisateur pour postgres
|
||||||
|
(fonction createuser).
|
||||||
|
|
||||||
|
9. Voilà maintenant, il vous suffit de faire ./install.sh pour tout
|
||||||
|
installer; puis d'aller avec votre navigateur sur l'url.
|
||||||
|
http://adresse_ip_du_virtualhost/test.php. Vous verrez directement,
|
||||||
|
si l'application fonctionne.
|
||||||
75
Todo
Normal file
75
Todo
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
*DONE Ajout item Administrator
|
||||||
|
*DONE dans rmenu -> dans la partie encodage
|
||||||
|
Corriger les recherches
|
||||||
|
|
||||||
|
|
||||||
|
Code Correction
|
||||||
|
Changer [a] par ['a']
|
||||||
|
|
||||||
|
Code correction
|
||||||
|
Remplacer l'appel à la CheckAdmin() par une variable session
|
||||||
|
Optimiser pour rendre plus rapide
|
||||||
|
|
||||||
|
PCMN
|
||||||
|
Ajouter par défaut les postes courants
|
||||||
|
- Electricité, gaz, télécoms
|
||||||
|
- Fiches clients - Fournisseurs...
|
||||||
|
- Permettre de changer la classe parent et de l'encoder (val. par défaut)
|
||||||
|
|
||||||
|
*DONE Mettre g_maxline dans les prefs utilisateurs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
* DONE Permettre de corriger les entrées journal de période non fermèes
|
||||||
|
|
||||||
|
recherche poste par valeur ne fonctionne pas !!
|
||||||
|
|
||||||
|
|
||||||
|
Calculatrice
|
||||||
|
|
||||||
|
Calendrier
|
||||||
|
|
||||||
|
*DONE Détail pour facture (date échéance, quantité,...)
|
||||||
|
|
||||||
|
Si le type de la facture est
|
||||||
|
ACH date de paiement
|
||||||
|
VEN date d'échéance
|
||||||
|
FIN rien
|
||||||
|
OD rien
|
||||||
|
|
||||||
|
Travailler avec register_globals = off !!
|
||||||
|
|
||||||
|
* DONE voir Fiche Ajouter champs spéciaux pour certains postes ! (quantités pour achat
|
||||||
|
et vente de marchandises,devises,...)
|
||||||
|
|
||||||
|
* Done Fiche devrait être possible de modifier le modèle de fiche
|
||||||
|
|
||||||
|
* Done Vérification Date et montant > 0
|
||||||
|
|
||||||
|
*** Ok Montant global pas correct quand appel a CorrectRecord
|
||||||
|
|
||||||
|
* DONE Fiche Clients et Fournisseurs
|
||||||
|
|
||||||
|
Enlever colonne jrn_def dans jrnx car repris dans jrn
|
||||||
|
* DONE Corriger Format Date dans jrn_enc.php et jrn.php
|
||||||
|
|
||||||
|
* DONE Ajouter recherche code rapprochement dans journaux
|
||||||
|
|
||||||
|
* DONE Ajouter recherche poste dans journal admin.
|
||||||
|
|
||||||
|
Améliorer look des fenêtres de recherche
|
||||||
|
Sécurité dans les fenêtres de recherches
|
||||||
|
* DONE Journaux : id par journaux pas total
|
||||||
|
|
||||||
|
* DONE Code rapprochement devrait se trouver dans les deux journaux (?)
|
||||||
|
|
||||||
|
Impression
|
||||||
|
|
||||||
|
Formulaire déclaration TVA Bilan,....
|
||||||
|
* DONE Encodage rapide
|
||||||
|
|
||||||
|
Encodage dans jrn doivent respecter les periodes fermées !!
|
||||||
|
|
||||||
|
* DONE Recherche dans les journaux vues
|
||||||
|
* DONE Montant egaux pour op. rapprochées !!!
|
||||||
|
|
||||||
1555
addon/class.ezpdf.php
Normal file
1555
addon/class.ezpdf.php
Normal file
File diff suppressed because it is too large
Load diff
3075
addon/class.pdf.php
Normal file
3075
addon/class.pdf.php
Normal file
File diff suppressed because it is too large
Load diff
1400
addon/data.txt
Normal file
1400
addon/data.txt
Normal file
File diff suppressed because it is too large
Load diff
342
addon/fonts/Courier-Bold.afm
Normal file
342
addon/fonts/Courier-Bold.afm
Normal file
|
|
@ -0,0 +1,342 @@
|
||||||
|
StartFontMetrics 4.1
|
||||||
|
Comment Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.
|
||||||
|
Comment Creation Date: Mon Jun 23 16:28:00 1997
|
||||||
|
Comment UniqueID 43048
|
||||||
|
Comment VMusage 41139 52164
|
||||||
|
FontName Courier-Bold
|
||||||
|
FullName Courier Bold
|
||||||
|
FamilyName Courier
|
||||||
|
Weight Bold
|
||||||
|
ItalicAngle 0
|
||||||
|
IsFixedPitch true
|
||||||
|
CharacterSet ExtendedRoman
|
||||||
|
FontBBox -113 -250 749 801
|
||||||
|
UnderlinePosition -100
|
||||||
|
UnderlineThickness 50
|
||||||
|
Version 003.000
|
||||||
|
Notice Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.
|
||||||
|
EncodingScheme AdobeStandardEncoding
|
||||||
|
CapHeight 562
|
||||||
|
XHeight 439
|
||||||
|
Ascender 629
|
||||||
|
Descender -157
|
||||||
|
StdHW 84
|
||||||
|
StdVW 106
|
||||||
|
StartCharMetrics 315
|
||||||
|
C 32 ; WX 600 ; N space ; B 0 0 0 0 ;
|
||||||
|
C 33 ; WX 600 ; N exclam ; B 202 -15 398 572 ;
|
||||||
|
C 34 ; WX 600 ; N quotedbl ; B 135 277 465 562 ;
|
||||||
|
C 35 ; WX 600 ; N numbersign ; B 56 -45 544 651 ;
|
||||||
|
C 36 ; WX 600 ; N dollar ; B 82 -126 519 666 ;
|
||||||
|
C 37 ; WX 600 ; N percent ; B 5 -15 595 616 ;
|
||||||
|
C 38 ; WX 600 ; N ampersand ; B 36 -15 546 543 ;
|
||||||
|
C 39 ; WX 600 ; N quoteright ; B 171 277 423 562 ;
|
||||||
|
C 40 ; WX 600 ; N parenleft ; B 219 -102 461 616 ;
|
||||||
|
C 41 ; WX 600 ; N parenright ; B 139 -102 381 616 ;
|
||||||
|
C 42 ; WX 600 ; N asterisk ; B 91 219 509 601 ;
|
||||||
|
C 43 ; WX 600 ; N plus ; B 71 39 529 478 ;
|
||||||
|
C 44 ; WX 600 ; N comma ; B 123 -111 393 174 ;
|
||||||
|
C 45 ; WX 600 ; N hyphen ; B 100 203 500 313 ;
|
||||||
|
C 46 ; WX 600 ; N period ; B 192 -15 408 171 ;
|
||||||
|
C 47 ; WX 600 ; N slash ; B 98 -77 502 626 ;
|
||||||
|
C 48 ; WX 600 ; N zero ; B 87 -15 513 616 ;
|
||||||
|
C 49 ; WX 600 ; N one ; B 81 0 539 616 ;
|
||||||
|
C 50 ; WX 600 ; N two ; B 61 0 499 616 ;
|
||||||
|
C 51 ; WX 600 ; N three ; B 63 -15 501 616 ;
|
||||||
|
C 52 ; WX 600 ; N four ; B 53 0 507 616 ;
|
||||||
|
C 53 ; WX 600 ; N five ; B 70 -15 521 601 ;
|
||||||
|
C 54 ; WX 600 ; N six ; B 90 -15 521 616 ;
|
||||||
|
C 55 ; WX 600 ; N seven ; B 55 0 494 601 ;
|
||||||
|
C 56 ; WX 600 ; N eight ; B 83 -15 517 616 ;
|
||||||
|
C 57 ; WX 600 ; N nine ; B 79 -15 510 616 ;
|
||||||
|
C 58 ; WX 600 ; N colon ; B 191 -15 407 425 ;
|
||||||
|
C 59 ; WX 600 ; N semicolon ; B 123 -111 408 425 ;
|
||||||
|
C 60 ; WX 600 ; N less ; B 66 15 523 501 ;
|
||||||
|
C 61 ; WX 600 ; N equal ; B 71 118 529 398 ;
|
||||||
|
C 62 ; WX 600 ; N greater ; B 77 15 534 501 ;
|
||||||
|
C 63 ; WX 600 ; N question ; B 98 -14 501 580 ;
|
||||||
|
C 64 ; WX 600 ; N at ; B 16 -15 584 616 ;
|
||||||
|
C 65 ; WX 600 ; N A ; B -9 0 609 562 ;
|
||||||
|
C 66 ; WX 600 ; N B ; B 30 0 573 562 ;
|
||||||
|
C 67 ; WX 600 ; N C ; B 22 -18 560 580 ;
|
||||||
|
C 68 ; WX 600 ; N D ; B 30 0 594 562 ;
|
||||||
|
C 69 ; WX 600 ; N E ; B 25 0 560 562 ;
|
||||||
|
C 70 ; WX 600 ; N F ; B 39 0 570 562 ;
|
||||||
|
C 71 ; WX 600 ; N G ; B 22 -18 594 580 ;
|
||||||
|
C 72 ; WX 600 ; N H ; B 20 0 580 562 ;
|
||||||
|
C 73 ; WX 600 ; N I ; B 77 0 523 562 ;
|
||||||
|
C 74 ; WX 600 ; N J ; B 37 -18 601 562 ;
|
||||||
|
C 75 ; WX 600 ; N K ; B 21 0 599 562 ;
|
||||||
|
C 76 ; WX 600 ; N L ; B 39 0 578 562 ;
|
||||||
|
C 77 ; WX 600 ; N M ; B -2 0 602 562 ;
|
||||||
|
C 78 ; WX 600 ; N N ; B 8 -12 610 562 ;
|
||||||
|
C 79 ; WX 600 ; N O ; B 22 -18 578 580 ;
|
||||||
|
C 80 ; WX 600 ; N P ; B 48 0 559 562 ;
|
||||||
|
C 81 ; WX 600 ; N Q ; B 32 -138 578 580 ;
|
||||||
|
C 82 ; WX 600 ; N R ; B 24 0 599 562 ;
|
||||||
|
C 83 ; WX 600 ; N S ; B 47 -22 553 582 ;
|
||||||
|
C 84 ; WX 600 ; N T ; B 21 0 579 562 ;
|
||||||
|
C 85 ; WX 600 ; N U ; B 4 -18 596 562 ;
|
||||||
|
C 86 ; WX 600 ; N V ; B -13 0 613 562 ;
|
||||||
|
C 87 ; WX 600 ; N W ; B -18 0 618 562 ;
|
||||||
|
C 88 ; WX 600 ; N X ; B 12 0 588 562 ;
|
||||||
|
C 89 ; WX 600 ; N Y ; B 12 0 589 562 ;
|
||||||
|
C 90 ; WX 600 ; N Z ; B 62 0 539 562 ;
|
||||||
|
C 91 ; WX 600 ; N bracketleft ; B 245 -102 475 616 ;
|
||||||
|
C 92 ; WX 600 ; N backslash ; B 99 -77 503 626 ;
|
||||||
|
C 93 ; WX 600 ; N bracketright ; B 125 -102 355 616 ;
|
||||||
|
C 94 ; WX 600 ; N asciicircum ; B 108 250 492 616 ;
|
||||||
|
C 95 ; WX 600 ; N underscore ; B 0 -125 600 -75 ;
|
||||||
|
C 96 ; WX 600 ; N quoteleft ; B 178 277 428 562 ;
|
||||||
|
C 97 ; WX 600 ; N a ; B 35 -15 570 454 ;
|
||||||
|
C 98 ; WX 600 ; N b ; B 0 -15 584 626 ;
|
||||||
|
C 99 ; WX 600 ; N c ; B 40 -15 545 459 ;
|
||||||
|
C 100 ; WX 600 ; N d ; B 20 -15 591 626 ;
|
||||||
|
C 101 ; WX 600 ; N e ; B 40 -15 563 454 ;
|
||||||
|
C 102 ; WX 600 ; N f ; B 83 0 547 626 ; L i fi ; L l fl ;
|
||||||
|
C 103 ; WX 600 ; N g ; B 30 -146 580 454 ;
|
||||||
|
C 104 ; WX 600 ; N h ; B 5 0 592 626 ;
|
||||||
|
C 105 ; WX 600 ; N i ; B 77 0 523 658 ;
|
||||||
|
C 106 ; WX 600 ; N j ; B 63 -146 440 658 ;
|
||||||
|
C 107 ; WX 600 ; N k ; B 20 0 585 626 ;
|
||||||
|
C 108 ; WX 600 ; N l ; B 77 0 523 626 ;
|
||||||
|
C 109 ; WX 600 ; N m ; B -22 0 626 454 ;
|
||||||
|
C 110 ; WX 600 ; N n ; B 18 0 592 454 ;
|
||||||
|
C 111 ; WX 600 ; N o ; B 30 -15 570 454 ;
|
||||||
|
C 112 ; WX 600 ; N p ; B -1 -142 570 454 ;
|
||||||
|
C 113 ; WX 600 ; N q ; B 20 -142 591 454 ;
|
||||||
|
C 114 ; WX 600 ; N r ; B 47 0 580 454 ;
|
||||||
|
C 115 ; WX 600 ; N s ; B 68 -17 535 459 ;
|
||||||
|
C 116 ; WX 600 ; N t ; B 47 -15 532 562 ;
|
||||||
|
C 117 ; WX 600 ; N u ; B -1 -15 569 439 ;
|
||||||
|
C 118 ; WX 600 ; N v ; B -1 0 601 439 ;
|
||||||
|
C 119 ; WX 600 ; N w ; B -18 0 618 439 ;
|
||||||
|
C 120 ; WX 600 ; N x ; B 6 0 594 439 ;
|
||||||
|
C 121 ; WX 600 ; N y ; B -4 -142 601 439 ;
|
||||||
|
C 122 ; WX 600 ; N z ; B 81 0 520 439 ;
|
||||||
|
C 123 ; WX 600 ; N braceleft ; B 160 -102 464 616 ;
|
||||||
|
C 124 ; WX 600 ; N bar ; B 255 -250 345 750 ;
|
||||||
|
C 125 ; WX 600 ; N braceright ; B 136 -102 440 616 ;
|
||||||
|
C 126 ; WX 600 ; N asciitilde ; B 71 153 530 356 ;
|
||||||
|
C 161 ; WX 600 ; N exclamdown ; B 202 -146 398 449 ;
|
||||||
|
C 162 ; WX 600 ; N cent ; B 66 -49 518 614 ;
|
||||||
|
C 163 ; WX 600 ; N sterling ; B 72 -28 558 611 ;
|
||||||
|
C 164 ; WX 600 ; N fraction ; B 25 -60 576 661 ;
|
||||||
|
C 165 ; WX 600 ; N yen ; B 10 0 590 562 ;
|
||||||
|
C 166 ; WX 600 ; N florin ; B -30 -131 572 616 ;
|
||||||
|
C 167 ; WX 600 ; N section ; B 83 -70 517 580 ;
|
||||||
|
C 168 ; WX 600 ; N currency ; B 54 49 546 517 ;
|
||||||
|
C 169 ; WX 600 ; N quotesingle ; B 227 277 373 562 ;
|
||||||
|
C 170 ; WX 600 ; N quotedblleft ; B 71 277 535 562 ;
|
||||||
|
C 171 ; WX 600 ; N guillemotleft ; B 8 70 553 446 ;
|
||||||
|
C 172 ; WX 600 ; N guilsinglleft ; B 141 70 459 446 ;
|
||||||
|
C 173 ; WX 600 ; N guilsinglright ; B 141 70 459 446 ;
|
||||||
|
C 174 ; WX 600 ; N fi ; B 12 0 593 626 ;
|
||||||
|
C 175 ; WX 600 ; N fl ; B 12 0 593 626 ;
|
||||||
|
C 177 ; WX 600 ; N endash ; B 65 203 535 313 ;
|
||||||
|
C 178 ; WX 600 ; N dagger ; B 106 -70 494 580 ;
|
||||||
|
C 179 ; WX 600 ; N daggerdbl ; B 106 -70 494 580 ;
|
||||||
|
C 180 ; WX 600 ; N periodcentered ; B 196 165 404 351 ;
|
||||||
|
C 182 ; WX 600 ; N paragraph ; B 6 -70 576 580 ;
|
||||||
|
C 183 ; WX 600 ; N bullet ; B 140 132 460 430 ;
|
||||||
|
C 184 ; WX 600 ; N quotesinglbase ; B 175 -142 427 143 ;
|
||||||
|
C 185 ; WX 600 ; N quotedblbase ; B 65 -142 529 143 ;
|
||||||
|
C 186 ; WX 600 ; N quotedblright ; B 61 277 525 562 ;
|
||||||
|
C 187 ; WX 600 ; N guillemotright ; B 47 70 592 446 ;
|
||||||
|
C 188 ; WX 600 ; N ellipsis ; B 26 -15 574 116 ;
|
||||||
|
C 189 ; WX 600 ; N perthousand ; B -113 -15 713 616 ;
|
||||||
|
C 191 ; WX 600 ; N questiondown ; B 99 -146 502 449 ;
|
||||||
|
C 193 ; WX 600 ; N grave ; B 132 508 395 661 ;
|
||||||
|
C 194 ; WX 600 ; N acute ; B 205 508 468 661 ;
|
||||||
|
C 195 ; WX 600 ; N circumflex ; B 103 483 497 657 ;
|
||||||
|
C 196 ; WX 600 ; N tilde ; B 89 493 512 636 ;
|
||||||
|
C 197 ; WX 600 ; N macron ; B 88 505 512 585 ;
|
||||||
|
C 198 ; WX 600 ; N breve ; B 83 468 517 631 ;
|
||||||
|
C 199 ; WX 600 ; N dotaccent ; B 230 498 370 638 ;
|
||||||
|
C 200 ; WX 600 ; N dieresis ; B 128 498 472 638 ;
|
||||||
|
C 202 ; WX 600 ; N ring ; B 198 481 402 678 ;
|
||||||
|
C 203 ; WX 600 ; N cedilla ; B 205 -206 387 0 ;
|
||||||
|
C 205 ; WX 600 ; N hungarumlaut ; B 68 488 588 661 ;
|
||||||
|
C 206 ; WX 600 ; N ogonek ; B 169 -199 400 0 ;
|
||||||
|
C 207 ; WX 600 ; N caron ; B 103 493 497 667 ;
|
||||||
|
C 208 ; WX 600 ; N emdash ; B -10 203 610 313 ;
|
||||||
|
C 225 ; WX 600 ; N AE ; B -29 0 602 562 ;
|
||||||
|
C 227 ; WX 600 ; N ordfeminine ; B 147 196 453 580 ;
|
||||||
|
C 232 ; WX 600 ; N Lslash ; B 39 0 578 562 ;
|
||||||
|
C 233 ; WX 600 ; N Oslash ; B 22 -22 578 584 ;
|
||||||
|
C 234 ; WX 600 ; N OE ; B -25 0 595 562 ;
|
||||||
|
C 235 ; WX 600 ; N ordmasculine ; B 147 196 453 580 ;
|
||||||
|
C 241 ; WX 600 ; N ae ; B -4 -15 601 454 ;
|
||||||
|
C 245 ; WX 600 ; N dotlessi ; B 77 0 523 439 ;
|
||||||
|
C 248 ; WX 600 ; N lslash ; B 77 0 523 626 ;
|
||||||
|
C 249 ; WX 600 ; N oslash ; B 30 -24 570 463 ;
|
||||||
|
C 250 ; WX 600 ; N oe ; B -18 -15 611 454 ;
|
||||||
|
C 251 ; WX 600 ; N germandbls ; B 22 -15 596 626 ;
|
||||||
|
C -1 ; WX 600 ; N Idieresis ; B 77 0 523 761 ;
|
||||||
|
C -1 ; WX 600 ; N eacute ; B 40 -15 563 661 ;
|
||||||
|
C -1 ; WX 600 ; N abreve ; B 35 -15 570 661 ;
|
||||||
|
C -1 ; WX 600 ; N uhungarumlaut ; B -1 -15 628 661 ;
|
||||||
|
C -1 ; WX 600 ; N ecaron ; B 40 -15 563 667 ;
|
||||||
|
C -1 ; WX 600 ; N Ydieresis ; B 12 0 589 761 ;
|
||||||
|
C -1 ; WX 600 ; N divide ; B 71 16 529 500 ;
|
||||||
|
C -1 ; WX 600 ; N Yacute ; B 12 0 589 784 ;
|
||||||
|
C -1 ; WX 600 ; N Acircumflex ; B -9 0 609 780 ;
|
||||||
|
C -1 ; WX 600 ; N aacute ; B 35 -15 570 661 ;
|
||||||
|
C -1 ; WX 600 ; N Ucircumflex ; B 4 -18 596 780 ;
|
||||||
|
C -1 ; WX 600 ; N yacute ; B -4 -142 601 661 ;
|
||||||
|
C -1 ; WX 600 ; N scommaaccent ; B 68 -250 535 459 ;
|
||||||
|
C -1 ; WX 600 ; N ecircumflex ; B 40 -15 563 657 ;
|
||||||
|
C -1 ; WX 600 ; N Uring ; B 4 -18 596 801 ;
|
||||||
|
C -1 ; WX 600 ; N Udieresis ; B 4 -18 596 761 ;
|
||||||
|
C -1 ; WX 600 ; N aogonek ; B 35 -199 586 454 ;
|
||||||
|
C -1 ; WX 600 ; N Uacute ; B 4 -18 596 784 ;
|
||||||
|
C -1 ; WX 600 ; N uogonek ; B -1 -199 585 439 ;
|
||||||
|
C -1 ; WX 600 ; N Edieresis ; B 25 0 560 761 ;
|
||||||
|
C -1 ; WX 600 ; N Dcroat ; B 30 0 594 562 ;
|
||||||
|
C -1 ; WX 600 ; N commaaccent ; B 205 -250 397 -57 ;
|
||||||
|
C -1 ; WX 600 ; N copyright ; B 0 -18 600 580 ;
|
||||||
|
C -1 ; WX 600 ; N Emacron ; B 25 0 560 708 ;
|
||||||
|
C -1 ; WX 600 ; N ccaron ; B 40 -15 545 667 ;
|
||||||
|
C -1 ; WX 600 ; N aring ; B 35 -15 570 678 ;
|
||||||
|
C -1 ; WX 600 ; N Ncommaaccent ; B 8 -250 610 562 ;
|
||||||
|
C -1 ; WX 600 ; N lacute ; B 77 0 523 801 ;
|
||||||
|
C -1 ; WX 600 ; N agrave ; B 35 -15 570 661 ;
|
||||||
|
C -1 ; WX 600 ; N Tcommaaccent ; B 21 -250 579 562 ;
|
||||||
|
C -1 ; WX 600 ; N Cacute ; B 22 -18 560 784 ;
|
||||||
|
C -1 ; WX 600 ; N atilde ; B 35 -15 570 636 ;
|
||||||
|
C -1 ; WX 600 ; N Edotaccent ; B 25 0 560 761 ;
|
||||||
|
C -1 ; WX 600 ; N scaron ; B 68 -17 535 667 ;
|
||||||
|
C -1 ; WX 600 ; N scedilla ; B 68 -206 535 459 ;
|
||||||
|
C -1 ; WX 600 ; N iacute ; B 77 0 523 661 ;
|
||||||
|
C -1 ; WX 600 ; N lozenge ; B 66 0 534 740 ;
|
||||||
|
C -1 ; WX 600 ; N Rcaron ; B 24 0 599 790 ;
|
||||||
|
C -1 ; WX 600 ; N Gcommaaccent ; B 22 -250 594 580 ;
|
||||||
|
C -1 ; WX 600 ; N ucircumflex ; B -1 -15 569 657 ;
|
||||||
|
C -1 ; WX 600 ; N acircumflex ; B 35 -15 570 657 ;
|
||||||
|
C -1 ; WX 600 ; N Amacron ; B -9 0 609 708 ;
|
||||||
|
C -1 ; WX 600 ; N rcaron ; B 47 0 580 667 ;
|
||||||
|
C -1 ; WX 600 ; N ccedilla ; B 40 -206 545 459 ;
|
||||||
|
C -1 ; WX 600 ; N Zdotaccent ; B 62 0 539 761 ;
|
||||||
|
C -1 ; WX 600 ; N Thorn ; B 48 0 557 562 ;
|
||||||
|
C -1 ; WX 600 ; N Omacron ; B 22 -18 578 708 ;
|
||||||
|
C -1 ; WX 600 ; N Racute ; B 24 0 599 784 ;
|
||||||
|
C -1 ; WX 600 ; N Sacute ; B 47 -22 553 784 ;
|
||||||
|
C -1 ; WX 600 ; N dcaron ; B 20 -15 727 626 ;
|
||||||
|
C -1 ; WX 600 ; N Umacron ; B 4 -18 596 708 ;
|
||||||
|
C -1 ; WX 600 ; N uring ; B -1 -15 569 678 ;
|
||||||
|
C -1 ; WX 600 ; N threesuperior ; B 138 222 433 616 ;
|
||||||
|
C -1 ; WX 600 ; N Ograve ; B 22 -18 578 784 ;
|
||||||
|
C -1 ; WX 600 ; N Agrave ; B -9 0 609 784 ;
|
||||||
|
C -1 ; WX 600 ; N Abreve ; B -9 0 609 784 ;
|
||||||
|
C -1 ; WX 600 ; N multiply ; B 81 39 520 478 ;
|
||||||
|
C -1 ; WX 600 ; N uacute ; B -1 -15 569 661 ;
|
||||||
|
C -1 ; WX 600 ; N Tcaron ; B 21 0 579 790 ;
|
||||||
|
C -1 ; WX 600 ; N partialdiff ; B 63 -38 537 728 ;
|
||||||
|
C -1 ; WX 600 ; N ydieresis ; B -4 -142 601 638 ;
|
||||||
|
C -1 ; WX 600 ; N Nacute ; B 8 -12 610 784 ;
|
||||||
|
C -1 ; WX 600 ; N icircumflex ; B 73 0 523 657 ;
|
||||||
|
C -1 ; WX 600 ; N Ecircumflex ; B 25 0 560 780 ;
|
||||||
|
C -1 ; WX 600 ; N adieresis ; B 35 -15 570 638 ;
|
||||||
|
C -1 ; WX 600 ; N edieresis ; B 40 -15 563 638 ;
|
||||||
|
C -1 ; WX 600 ; N cacute ; B 40 -15 545 661 ;
|
||||||
|
C -1 ; WX 600 ; N nacute ; B 18 0 592 661 ;
|
||||||
|
C -1 ; WX 600 ; N umacron ; B -1 -15 569 585 ;
|
||||||
|
C -1 ; WX 600 ; N Ncaron ; B 8 -12 610 790 ;
|
||||||
|
C -1 ; WX 600 ; N Iacute ; B 77 0 523 784 ;
|
||||||
|
C -1 ; WX 600 ; N plusminus ; B 71 24 529 515 ;
|
||||||
|
C -1 ; WX 600 ; N brokenbar ; B 255 -175 345 675 ;
|
||||||
|
C -1 ; WX 600 ; N registered ; B 0 -18 600 580 ;
|
||||||
|
C -1 ; WX 600 ; N Gbreve ; B 22 -18 594 784 ;
|
||||||
|
C -1 ; WX 600 ; N Idotaccent ; B 77 0 523 761 ;
|
||||||
|
C -1 ; WX 600 ; N summation ; B 15 -10 586 706 ;
|
||||||
|
C -1 ; WX 600 ; N Egrave ; B 25 0 560 784 ;
|
||||||
|
C -1 ; WX 600 ; N racute ; B 47 0 580 661 ;
|
||||||
|
C -1 ; WX 600 ; N omacron ; B 30 -15 570 585 ;
|
||||||
|
C -1 ; WX 600 ; N Zacute ; B 62 0 539 784 ;
|
||||||
|
C -1 ; WX 600 ; N Zcaron ; B 62 0 539 790 ;
|
||||||
|
C -1 ; WX 600 ; N greaterequal ; B 26 0 523 696 ;
|
||||||
|
C -1 ; WX 600 ; N Eth ; B 30 0 594 562 ;
|
||||||
|
C -1 ; WX 600 ; N Ccedilla ; B 22 -206 560 580 ;
|
||||||
|
C -1 ; WX 600 ; N lcommaaccent ; B 77 -250 523 626 ;
|
||||||
|
C -1 ; WX 600 ; N tcaron ; B 47 -15 532 703 ;
|
||||||
|
C -1 ; WX 600 ; N eogonek ; B 40 -199 563 454 ;
|
||||||
|
C -1 ; WX 600 ; N Uogonek ; B 4 -199 596 562 ;
|
||||||
|
C -1 ; WX 600 ; N Aacute ; B -9 0 609 784 ;
|
||||||
|
C -1 ; WX 600 ; N Adieresis ; B -9 0 609 761 ;
|
||||||
|
C -1 ; WX 600 ; N egrave ; B 40 -15 563 661 ;
|
||||||
|
C -1 ; WX 600 ; N zacute ; B 81 0 520 661 ;
|
||||||
|
C -1 ; WX 600 ; N iogonek ; B 77 -199 523 658 ;
|
||||||
|
C -1 ; WX 600 ; N Oacute ; B 22 -18 578 784 ;
|
||||||
|
C -1 ; WX 600 ; N oacute ; B 30 -15 570 661 ;
|
||||||
|
C -1 ; WX 600 ; N amacron ; B 35 -15 570 585 ;
|
||||||
|
C -1 ; WX 600 ; N sacute ; B 68 -17 535 661 ;
|
||||||
|
C -1 ; WX 600 ; N idieresis ; B 77 0 523 618 ;
|
||||||
|
C -1 ; WX 600 ; N Ocircumflex ; B 22 -18 578 780 ;
|
||||||
|
C -1 ; WX 600 ; N Ugrave ; B 4 -18 596 784 ;
|
||||||
|
C -1 ; WX 600 ; N Delta ; B 6 0 594 688 ;
|
||||||
|
C -1 ; WX 600 ; N thorn ; B -14 -142 570 626 ;
|
||||||
|
C -1 ; WX 600 ; N twosuperior ; B 143 230 436 616 ;
|
||||||
|
C -1 ; WX 600 ; N Odieresis ; B 22 -18 578 761 ;
|
||||||
|
C -1 ; WX 600 ; N mu ; B -1 -142 569 439 ;
|
||||||
|
C -1 ; WX 600 ; N igrave ; B 77 0 523 661 ;
|
||||||
|
C -1 ; WX 600 ; N ohungarumlaut ; B 30 -15 668 661 ;
|
||||||
|
C -1 ; WX 600 ; N Eogonek ; B 25 -199 576 562 ;
|
||||||
|
C -1 ; WX 600 ; N dcroat ; B 20 -15 591 626 ;
|
||||||
|
C -1 ; WX 600 ; N threequarters ; B -47 -60 648 661 ;
|
||||||
|
C -1 ; WX 600 ; N Scedilla ; B 47 -206 553 582 ;
|
||||||
|
C -1 ; WX 600 ; N lcaron ; B 77 0 597 626 ;
|
||||||
|
C -1 ; WX 600 ; N Kcommaaccent ; B 21 -250 599 562 ;
|
||||||
|
C -1 ; WX 600 ; N Lacute ; B 39 0 578 784 ;
|
||||||
|
C -1 ; WX 600 ; N trademark ; B -9 230 749 562 ;
|
||||||
|
C -1 ; WX 600 ; N edotaccent ; B 40 -15 563 638 ;
|
||||||
|
C -1 ; WX 600 ; N Igrave ; B 77 0 523 784 ;
|
||||||
|
C -1 ; WX 600 ; N Imacron ; B 77 0 523 708 ;
|
||||||
|
C -1 ; WX 600 ; N Lcaron ; B 39 0 637 562 ;
|
||||||
|
C -1 ; WX 600 ; N onehalf ; B -47 -60 648 661 ;
|
||||||
|
C -1 ; WX 600 ; N lessequal ; B 26 0 523 696 ;
|
||||||
|
C -1 ; WX 600 ; N ocircumflex ; B 30 -15 570 657 ;
|
||||||
|
C -1 ; WX 600 ; N ntilde ; B 18 0 592 636 ;
|
||||||
|
C -1 ; WX 600 ; N Uhungarumlaut ; B 4 -18 638 784 ;
|
||||||
|
C -1 ; WX 600 ; N Eacute ; B 25 0 560 784 ;
|
||||||
|
C -1 ; WX 600 ; N emacron ; B 40 -15 563 585 ;
|
||||||
|
C -1 ; WX 600 ; N gbreve ; B 30 -146 580 661 ;
|
||||||
|
C -1 ; WX 600 ; N onequarter ; B -56 -60 656 661 ;
|
||||||
|
C -1 ; WX 600 ; N Scaron ; B 47 -22 553 790 ;
|
||||||
|
C -1 ; WX 600 ; N Scommaaccent ; B 47 -250 553 582 ;
|
||||||
|
C -1 ; WX 600 ; N Ohungarumlaut ; B 22 -18 628 784 ;
|
||||||
|
C -1 ; WX 600 ; N degree ; B 86 243 474 616 ;
|
||||||
|
C -1 ; WX 600 ; N ograve ; B 30 -15 570 661 ;
|
||||||
|
C -1 ; WX 600 ; N Ccaron ; B 22 -18 560 790 ;
|
||||||
|
C -1 ; WX 600 ; N ugrave ; B -1 -15 569 661 ;
|
||||||
|
C -1 ; WX 600 ; N radical ; B -19 -104 473 778 ;
|
||||||
|
C -1 ; WX 600 ; N Dcaron ; B 30 0 594 790 ;
|
||||||
|
C -1 ; WX 600 ; N rcommaaccent ; B 47 -250 580 454 ;
|
||||||
|
C -1 ; WX 600 ; N Ntilde ; B 8 -12 610 759 ;
|
||||||
|
C -1 ; WX 600 ; N otilde ; B 30 -15 570 636 ;
|
||||||
|
C -1 ; WX 600 ; N Rcommaaccent ; B 24 -250 599 562 ;
|
||||||
|
C -1 ; WX 600 ; N Lcommaaccent ; B 39 -250 578 562 ;
|
||||||
|
C -1 ; WX 600 ; N Atilde ; B -9 0 609 759 ;
|
||||||
|
C -1 ; WX 600 ; N Aogonek ; B -9 -199 625 562 ;
|
||||||
|
C -1 ; WX 600 ; N Aring ; B -9 0 609 801 ;
|
||||||
|
C -1 ; WX 600 ; N Otilde ; B 22 -18 578 759 ;
|
||||||
|
C -1 ; WX 600 ; N zdotaccent ; B 81 0 520 638 ;
|
||||||
|
C -1 ; WX 600 ; N Ecaron ; B 25 0 560 790 ;
|
||||||
|
C -1 ; WX 600 ; N Iogonek ; B 77 -199 523 562 ;
|
||||||
|
C -1 ; WX 600 ; N kcommaaccent ; B 20 -250 585 626 ;
|
||||||
|
C -1 ; WX 600 ; N minus ; B 71 203 529 313 ;
|
||||||
|
C -1 ; WX 600 ; N Icircumflex ; B 77 0 523 780 ;
|
||||||
|
C -1 ; WX 600 ; N ncaron ; B 18 0 592 667 ;
|
||||||
|
C -1 ; WX 600 ; N tcommaaccent ; B 47 -250 532 562 ;
|
||||||
|
C -1 ; WX 600 ; N logicalnot ; B 71 103 529 413 ;
|
||||||
|
C -1 ; WX 600 ; N odieresis ; B 30 -15 570 638 ;
|
||||||
|
C -1 ; WX 600 ; N udieresis ; B -1 -15 569 638 ;
|
||||||
|
C -1 ; WX 600 ; N notequal ; B 12 -47 537 563 ;
|
||||||
|
C -1 ; WX 600 ; N gcommaaccent ; B 30 -146 580 714 ;
|
||||||
|
C -1 ; WX 600 ; N eth ; B 58 -27 543 626 ;
|
||||||
|
C -1 ; WX 600 ; N zcaron ; B 81 0 520 667 ;
|
||||||
|
C -1 ; WX 600 ; N ncommaaccent ; B 18 -250 592 454 ;
|
||||||
|
C -1 ; WX 600 ; N onesuperior ; B 153 230 447 616 ;
|
||||||
|
C -1 ; WX 600 ; N imacron ; B 77 0 523 585 ;
|
||||||
|
C -1 ; WX 600 ; N Euro ; B 0 0 0 0 ;
|
||||||
|
EndCharMetrics
|
||||||
|
EndFontMetrics
|
||||||
342
addon/fonts/Courier-BoldOblique.afm
Normal file
342
addon/fonts/Courier-BoldOblique.afm
Normal file
|
|
@ -0,0 +1,342 @@
|
||||||
|
StartFontMetrics 4.1
|
||||||
|
Comment Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.
|
||||||
|
Comment Creation Date: Mon Jun 23 16:28:46 1997
|
||||||
|
Comment UniqueID 43049
|
||||||
|
Comment VMusage 17529 79244
|
||||||
|
FontName Courier-BoldOblique
|
||||||
|
FullName Courier Bold Oblique
|
||||||
|
FamilyName Courier
|
||||||
|
Weight Bold
|
||||||
|
ItalicAngle -12
|
||||||
|
IsFixedPitch true
|
||||||
|
CharacterSet ExtendedRoman
|
||||||
|
FontBBox -57 -250 869 801
|
||||||
|
UnderlinePosition -100
|
||||||
|
UnderlineThickness 50
|
||||||
|
Version 003.000
|
||||||
|
Notice Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.
|
||||||
|
EncodingScheme AdobeStandardEncoding
|
||||||
|
CapHeight 562
|
||||||
|
XHeight 439
|
||||||
|
Ascender 629
|
||||||
|
Descender -157
|
||||||
|
StdHW 84
|
||||||
|
StdVW 106
|
||||||
|
StartCharMetrics 315
|
||||||
|
C 32 ; WX 600 ; N space ; B 0 0 0 0 ;
|
||||||
|
C 33 ; WX 600 ; N exclam ; B 215 -15 495 572 ;
|
||||||
|
C 34 ; WX 600 ; N quotedbl ; B 211 277 585 562 ;
|
||||||
|
C 35 ; WX 600 ; N numbersign ; B 88 -45 641 651 ;
|
||||||
|
C 36 ; WX 600 ; N dollar ; B 87 -126 630 666 ;
|
||||||
|
C 37 ; WX 600 ; N percent ; B 101 -15 625 616 ;
|
||||||
|
C 38 ; WX 600 ; N ampersand ; B 61 -15 595 543 ;
|
||||||
|
C 39 ; WX 600 ; N quoteright ; B 229 277 543 562 ;
|
||||||
|
C 40 ; WX 600 ; N parenleft ; B 265 -102 592 616 ;
|
||||||
|
C 41 ; WX 600 ; N parenright ; B 117 -102 444 616 ;
|
||||||
|
C 42 ; WX 600 ; N asterisk ; B 179 219 598 601 ;
|
||||||
|
C 43 ; WX 600 ; N plus ; B 114 39 596 478 ;
|
||||||
|
C 44 ; WX 600 ; N comma ; B 99 -111 430 174 ;
|
||||||
|
C 45 ; WX 600 ; N hyphen ; B 143 203 567 313 ;
|
||||||
|
C 46 ; WX 600 ; N period ; B 206 -15 427 171 ;
|
||||||
|
C 47 ; WX 600 ; N slash ; B 90 -77 626 626 ;
|
||||||
|
C 48 ; WX 600 ; N zero ; B 135 -15 593 616 ;
|
||||||
|
C 49 ; WX 600 ; N one ; B 93 0 562 616 ;
|
||||||
|
C 50 ; WX 600 ; N two ; B 61 0 594 616 ;
|
||||||
|
C 51 ; WX 600 ; N three ; B 71 -15 571 616 ;
|
||||||
|
C 52 ; WX 600 ; N four ; B 81 0 559 616 ;
|
||||||
|
C 53 ; WX 600 ; N five ; B 77 -15 621 601 ;
|
||||||
|
C 54 ; WX 600 ; N six ; B 135 -15 652 616 ;
|
||||||
|
C 55 ; WX 600 ; N seven ; B 147 0 622 601 ;
|
||||||
|
C 56 ; WX 600 ; N eight ; B 115 -15 604 616 ;
|
||||||
|
C 57 ; WX 600 ; N nine ; B 75 -15 592 616 ;
|
||||||
|
C 58 ; WX 600 ; N colon ; B 205 -15 480 425 ;
|
||||||
|
C 59 ; WX 600 ; N semicolon ; B 99 -111 481 425 ;
|
||||||
|
C 60 ; WX 600 ; N less ; B 120 15 613 501 ;
|
||||||
|
C 61 ; WX 600 ; N equal ; B 96 118 614 398 ;
|
||||||
|
C 62 ; WX 600 ; N greater ; B 97 15 589 501 ;
|
||||||
|
C 63 ; WX 600 ; N question ; B 183 -14 592 580 ;
|
||||||
|
C 64 ; WX 600 ; N at ; B 65 -15 642 616 ;
|
||||||
|
C 65 ; WX 600 ; N A ; B -9 0 632 562 ;
|
||||||
|
C 66 ; WX 600 ; N B ; B 30 0 630 562 ;
|
||||||
|
C 67 ; WX 600 ; N C ; B 74 -18 675 580 ;
|
||||||
|
C 68 ; WX 600 ; N D ; B 30 0 664 562 ;
|
||||||
|
C 69 ; WX 600 ; N E ; B 25 0 670 562 ;
|
||||||
|
C 70 ; WX 600 ; N F ; B 39 0 684 562 ;
|
||||||
|
C 71 ; WX 600 ; N G ; B 74 -18 675 580 ;
|
||||||
|
C 72 ; WX 600 ; N H ; B 20 0 700 562 ;
|
||||||
|
C 73 ; WX 600 ; N I ; B 77 0 643 562 ;
|
||||||
|
C 74 ; WX 600 ; N J ; B 58 -18 721 562 ;
|
||||||
|
C 75 ; WX 600 ; N K ; B 21 0 692 562 ;
|
||||||
|
C 76 ; WX 600 ; N L ; B 39 0 636 562 ;
|
||||||
|
C 77 ; WX 600 ; N M ; B -2 0 722 562 ;
|
||||||
|
C 78 ; WX 600 ; N N ; B 8 -12 730 562 ;
|
||||||
|
C 79 ; WX 600 ; N O ; B 74 -18 645 580 ;
|
||||||
|
C 80 ; WX 600 ; N P ; B 48 0 643 562 ;
|
||||||
|
C 81 ; WX 600 ; N Q ; B 83 -138 636 580 ;
|
||||||
|
C 82 ; WX 600 ; N R ; B 24 0 617 562 ;
|
||||||
|
C 83 ; WX 600 ; N S ; B 54 -22 673 582 ;
|
||||||
|
C 84 ; WX 600 ; N T ; B 86 0 679 562 ;
|
||||||
|
C 85 ; WX 600 ; N U ; B 101 -18 716 562 ;
|
||||||
|
C 86 ; WX 600 ; N V ; B 84 0 733 562 ;
|
||||||
|
C 87 ; WX 600 ; N W ; B 79 0 738 562 ;
|
||||||
|
C 88 ; WX 600 ; N X ; B 12 0 690 562 ;
|
||||||
|
C 89 ; WX 600 ; N Y ; B 109 0 709 562 ;
|
||||||
|
C 90 ; WX 600 ; N Z ; B 62 0 637 562 ;
|
||||||
|
C 91 ; WX 600 ; N bracketleft ; B 223 -102 606 616 ;
|
||||||
|
C 92 ; WX 600 ; N backslash ; B 222 -77 496 626 ;
|
||||||
|
C 93 ; WX 600 ; N bracketright ; B 103 -102 486 616 ;
|
||||||
|
C 94 ; WX 600 ; N asciicircum ; B 171 250 556 616 ;
|
||||||
|
C 95 ; WX 600 ; N underscore ; B -27 -125 585 -75 ;
|
||||||
|
C 96 ; WX 600 ; N quoteleft ; B 297 277 487 562 ;
|
||||||
|
C 97 ; WX 600 ; N a ; B 61 -15 593 454 ;
|
||||||
|
C 98 ; WX 600 ; N b ; B 13 -15 636 626 ;
|
||||||
|
C 99 ; WX 600 ; N c ; B 81 -15 631 459 ;
|
||||||
|
C 100 ; WX 600 ; N d ; B 60 -15 645 626 ;
|
||||||
|
C 101 ; WX 600 ; N e ; B 81 -15 605 454 ;
|
||||||
|
C 102 ; WX 600 ; N f ; B 83 0 677 626 ; L i fi ; L l fl ;
|
||||||
|
C 103 ; WX 600 ; N g ; B 40 -146 674 454 ;
|
||||||
|
C 104 ; WX 600 ; N h ; B 18 0 615 626 ;
|
||||||
|
C 105 ; WX 600 ; N i ; B 77 0 546 658 ;
|
||||||
|
C 106 ; WX 600 ; N j ; B 36 -146 580 658 ;
|
||||||
|
C 107 ; WX 600 ; N k ; B 33 0 643 626 ;
|
||||||
|
C 108 ; WX 600 ; N l ; B 77 0 546 626 ;
|
||||||
|
C 109 ; WX 600 ; N m ; B -22 0 649 454 ;
|
||||||
|
C 110 ; WX 600 ; N n ; B 18 0 615 454 ;
|
||||||
|
C 111 ; WX 600 ; N o ; B 71 -15 622 454 ;
|
||||||
|
C 112 ; WX 600 ; N p ; B -32 -142 622 454 ;
|
||||||
|
C 113 ; WX 600 ; N q ; B 60 -142 685 454 ;
|
||||||
|
C 114 ; WX 600 ; N r ; B 47 0 655 454 ;
|
||||||
|
C 115 ; WX 600 ; N s ; B 66 -17 608 459 ;
|
||||||
|
C 116 ; WX 600 ; N t ; B 118 -15 567 562 ;
|
||||||
|
C 117 ; WX 600 ; N u ; B 70 -15 592 439 ;
|
||||||
|
C 118 ; WX 600 ; N v ; B 70 0 695 439 ;
|
||||||
|
C 119 ; WX 600 ; N w ; B 53 0 712 439 ;
|
||||||
|
C 120 ; WX 600 ; N x ; B 6 0 671 439 ;
|
||||||
|
C 121 ; WX 600 ; N y ; B -21 -142 695 439 ;
|
||||||
|
C 122 ; WX 600 ; N z ; B 81 0 614 439 ;
|
||||||
|
C 123 ; WX 600 ; N braceleft ; B 203 -102 595 616 ;
|
||||||
|
C 124 ; WX 600 ; N bar ; B 201 -250 505 750 ;
|
||||||
|
C 125 ; WX 600 ; N braceright ; B 114 -102 506 616 ;
|
||||||
|
C 126 ; WX 600 ; N asciitilde ; B 120 153 590 356 ;
|
||||||
|
C 161 ; WX 600 ; N exclamdown ; B 196 -146 477 449 ;
|
||||||
|
C 162 ; WX 600 ; N cent ; B 121 -49 605 614 ;
|
||||||
|
C 163 ; WX 600 ; N sterling ; B 106 -28 650 611 ;
|
||||||
|
C 164 ; WX 600 ; N fraction ; B 22 -60 708 661 ;
|
||||||
|
C 165 ; WX 600 ; N yen ; B 98 0 710 562 ;
|
||||||
|
C 166 ; WX 600 ; N florin ; B -57 -131 702 616 ;
|
||||||
|
C 167 ; WX 600 ; N section ; B 74 -70 620 580 ;
|
||||||
|
C 168 ; WX 600 ; N currency ; B 77 49 644 517 ;
|
||||||
|
C 169 ; WX 600 ; N quotesingle ; B 303 277 493 562 ;
|
||||||
|
C 170 ; WX 600 ; N quotedblleft ; B 190 277 594 562 ;
|
||||||
|
C 171 ; WX 600 ; N guillemotleft ; B 62 70 639 446 ;
|
||||||
|
C 172 ; WX 600 ; N guilsinglleft ; B 195 70 545 446 ;
|
||||||
|
C 173 ; WX 600 ; N guilsinglright ; B 165 70 514 446 ;
|
||||||
|
C 174 ; WX 600 ; N fi ; B 12 0 644 626 ;
|
||||||
|
C 175 ; WX 600 ; N fl ; B 12 0 644 626 ;
|
||||||
|
C 177 ; WX 600 ; N endash ; B 108 203 602 313 ;
|
||||||
|
C 178 ; WX 600 ; N dagger ; B 175 -70 586 580 ;
|
||||||
|
C 179 ; WX 600 ; N daggerdbl ; B 121 -70 587 580 ;
|
||||||
|
C 180 ; WX 600 ; N periodcentered ; B 248 165 461 351 ;
|
||||||
|
C 182 ; WX 600 ; N paragraph ; B 61 -70 700 580 ;
|
||||||
|
C 183 ; WX 600 ; N bullet ; B 196 132 523 430 ;
|
||||||
|
C 184 ; WX 600 ; N quotesinglbase ; B 144 -142 458 143 ;
|
||||||
|
C 185 ; WX 600 ; N quotedblbase ; B 34 -142 560 143 ;
|
||||||
|
C 186 ; WX 600 ; N quotedblright ; B 119 277 645 562 ;
|
||||||
|
C 187 ; WX 600 ; N guillemotright ; B 71 70 647 446 ;
|
||||||
|
C 188 ; WX 600 ; N ellipsis ; B 35 -15 587 116 ;
|
||||||
|
C 189 ; WX 600 ; N perthousand ; B -45 -15 743 616 ;
|
||||||
|
C 191 ; WX 600 ; N questiondown ; B 100 -146 509 449 ;
|
||||||
|
C 193 ; WX 600 ; N grave ; B 272 508 503 661 ;
|
||||||
|
C 194 ; WX 600 ; N acute ; B 312 508 609 661 ;
|
||||||
|
C 195 ; WX 600 ; N circumflex ; B 212 483 607 657 ;
|
||||||
|
C 196 ; WX 600 ; N tilde ; B 199 493 643 636 ;
|
||||||
|
C 197 ; WX 600 ; N macron ; B 195 505 637 585 ;
|
||||||
|
C 198 ; WX 600 ; N breve ; B 217 468 652 631 ;
|
||||||
|
C 199 ; WX 600 ; N dotaccent ; B 348 498 493 638 ;
|
||||||
|
C 200 ; WX 600 ; N dieresis ; B 246 498 595 638 ;
|
||||||
|
C 202 ; WX 600 ; N ring ; B 319 481 528 678 ;
|
||||||
|
C 203 ; WX 600 ; N cedilla ; B 168 -206 368 0 ;
|
||||||
|
C 205 ; WX 600 ; N hungarumlaut ; B 171 488 729 661 ;
|
||||||
|
C 206 ; WX 600 ; N ogonek ; B 143 -199 367 0 ;
|
||||||
|
C 207 ; WX 600 ; N caron ; B 238 493 633 667 ;
|
||||||
|
C 208 ; WX 600 ; N emdash ; B 33 203 677 313 ;
|
||||||
|
C 225 ; WX 600 ; N AE ; B -29 0 708 562 ;
|
||||||
|
C 227 ; WX 600 ; N ordfeminine ; B 188 196 526 580 ;
|
||||||
|
C 232 ; WX 600 ; N Lslash ; B 39 0 636 562 ;
|
||||||
|
C 233 ; WX 600 ; N Oslash ; B 48 -22 673 584 ;
|
||||||
|
C 234 ; WX 600 ; N OE ; B 26 0 701 562 ;
|
||||||
|
C 235 ; WX 600 ; N ordmasculine ; B 188 196 543 580 ;
|
||||||
|
C 241 ; WX 600 ; N ae ; B 21 -15 652 454 ;
|
||||||
|
C 245 ; WX 600 ; N dotlessi ; B 77 0 546 439 ;
|
||||||
|
C 248 ; WX 600 ; N lslash ; B 77 0 587 626 ;
|
||||||
|
C 249 ; WX 600 ; N oslash ; B 54 -24 638 463 ;
|
||||||
|
C 250 ; WX 600 ; N oe ; B 18 -15 662 454 ;
|
||||||
|
C 251 ; WX 600 ; N germandbls ; B 22 -15 629 626 ;
|
||||||
|
C -1 ; WX 600 ; N Idieresis ; B 77 0 643 761 ;
|
||||||
|
C -1 ; WX 600 ; N eacute ; B 81 -15 609 661 ;
|
||||||
|
C -1 ; WX 600 ; N abreve ; B 61 -15 658 661 ;
|
||||||
|
C -1 ; WX 600 ; N uhungarumlaut ; B 70 -15 769 661 ;
|
||||||
|
C -1 ; WX 600 ; N ecaron ; B 81 -15 633 667 ;
|
||||||
|
C -1 ; WX 600 ; N Ydieresis ; B 109 0 709 761 ;
|
||||||
|
C -1 ; WX 600 ; N divide ; B 114 16 596 500 ;
|
||||||
|
C -1 ; WX 600 ; N Yacute ; B 109 0 709 784 ;
|
||||||
|
C -1 ; WX 600 ; N Acircumflex ; B -9 0 632 780 ;
|
||||||
|
C -1 ; WX 600 ; N aacute ; B 61 -15 609 661 ;
|
||||||
|
C -1 ; WX 600 ; N Ucircumflex ; B 101 -18 716 780 ;
|
||||||
|
C -1 ; WX 600 ; N yacute ; B -21 -142 695 661 ;
|
||||||
|
C -1 ; WX 600 ; N scommaaccent ; B 66 -250 608 459 ;
|
||||||
|
C -1 ; WX 600 ; N ecircumflex ; B 81 -15 607 657 ;
|
||||||
|
C -1 ; WX 600 ; N Uring ; B 101 -18 716 801 ;
|
||||||
|
C -1 ; WX 600 ; N Udieresis ; B 101 -18 716 761 ;
|
||||||
|
C -1 ; WX 600 ; N aogonek ; B 61 -199 593 454 ;
|
||||||
|
C -1 ; WX 600 ; N Uacute ; B 101 -18 716 784 ;
|
||||||
|
C -1 ; WX 600 ; N uogonek ; B 70 -199 592 439 ;
|
||||||
|
C -1 ; WX 600 ; N Edieresis ; B 25 0 670 761 ;
|
||||||
|
C -1 ; WX 600 ; N Dcroat ; B 30 0 664 562 ;
|
||||||
|
C -1 ; WX 600 ; N commaaccent ; B 151 -250 385 -57 ;
|
||||||
|
C -1 ; WX 600 ; N copyright ; B 53 -18 667 580 ;
|
||||||
|
C -1 ; WX 600 ; N Emacron ; B 25 0 670 708 ;
|
||||||
|
C -1 ; WX 600 ; N ccaron ; B 81 -15 633 667 ;
|
||||||
|
C -1 ; WX 600 ; N aring ; B 61 -15 593 678 ;
|
||||||
|
C -1 ; WX 600 ; N Ncommaaccent ; B 8 -250 730 562 ;
|
||||||
|
C -1 ; WX 600 ; N lacute ; B 77 0 639 801 ;
|
||||||
|
C -1 ; WX 600 ; N agrave ; B 61 -15 593 661 ;
|
||||||
|
C -1 ; WX 600 ; N Tcommaaccent ; B 86 -250 679 562 ;
|
||||||
|
C -1 ; WX 600 ; N Cacute ; B 74 -18 675 784 ;
|
||||||
|
C -1 ; WX 600 ; N atilde ; B 61 -15 643 636 ;
|
||||||
|
C -1 ; WX 600 ; N Edotaccent ; B 25 0 670 761 ;
|
||||||
|
C -1 ; WX 600 ; N scaron ; B 66 -17 633 667 ;
|
||||||
|
C -1 ; WX 600 ; N scedilla ; B 66 -206 608 459 ;
|
||||||
|
C -1 ; WX 600 ; N iacute ; B 77 0 609 661 ;
|
||||||
|
C -1 ; WX 600 ; N lozenge ; B 145 0 614 740 ;
|
||||||
|
C -1 ; WX 600 ; N Rcaron ; B 24 0 659 790 ;
|
||||||
|
C -1 ; WX 600 ; N Gcommaaccent ; B 74 -250 675 580 ;
|
||||||
|
C -1 ; WX 600 ; N ucircumflex ; B 70 -15 597 657 ;
|
||||||
|
C -1 ; WX 600 ; N acircumflex ; B 61 -15 607 657 ;
|
||||||
|
C -1 ; WX 600 ; N Amacron ; B -9 0 633 708 ;
|
||||||
|
C -1 ; WX 600 ; N rcaron ; B 47 0 655 667 ;
|
||||||
|
C -1 ; WX 600 ; N ccedilla ; B 81 -206 631 459 ;
|
||||||
|
C -1 ; WX 600 ; N Zdotaccent ; B 62 0 637 761 ;
|
||||||
|
C -1 ; WX 600 ; N Thorn ; B 48 0 620 562 ;
|
||||||
|
C -1 ; WX 600 ; N Omacron ; B 74 -18 663 708 ;
|
||||||
|
C -1 ; WX 600 ; N Racute ; B 24 0 665 784 ;
|
||||||
|
C -1 ; WX 600 ; N Sacute ; B 54 -22 673 784 ;
|
||||||
|
C -1 ; WX 600 ; N dcaron ; B 60 -15 861 626 ;
|
||||||
|
C -1 ; WX 600 ; N Umacron ; B 101 -18 716 708 ;
|
||||||
|
C -1 ; WX 600 ; N uring ; B 70 -15 592 678 ;
|
||||||
|
C -1 ; WX 600 ; N threesuperior ; B 193 222 526 616 ;
|
||||||
|
C -1 ; WX 600 ; N Ograve ; B 74 -18 645 784 ;
|
||||||
|
C -1 ; WX 600 ; N Agrave ; B -9 0 632 784 ;
|
||||||
|
C -1 ; WX 600 ; N Abreve ; B -9 0 684 784 ;
|
||||||
|
C -1 ; WX 600 ; N multiply ; B 104 39 606 478 ;
|
||||||
|
C -1 ; WX 600 ; N uacute ; B 70 -15 599 661 ;
|
||||||
|
C -1 ; WX 600 ; N Tcaron ; B 86 0 679 790 ;
|
||||||
|
C -1 ; WX 600 ; N partialdiff ; B 91 -38 627 728 ;
|
||||||
|
C -1 ; WX 600 ; N ydieresis ; B -21 -142 695 638 ;
|
||||||
|
C -1 ; WX 600 ; N Nacute ; B 8 -12 730 784 ;
|
||||||
|
C -1 ; WX 600 ; N icircumflex ; B 77 0 577 657 ;
|
||||||
|
C -1 ; WX 600 ; N Ecircumflex ; B 25 0 670 780 ;
|
||||||
|
C -1 ; WX 600 ; N adieresis ; B 61 -15 595 638 ;
|
||||||
|
C -1 ; WX 600 ; N edieresis ; B 81 -15 605 638 ;
|
||||||
|
C -1 ; WX 600 ; N cacute ; B 81 -15 649 661 ;
|
||||||
|
C -1 ; WX 600 ; N nacute ; B 18 0 639 661 ;
|
||||||
|
C -1 ; WX 600 ; N umacron ; B 70 -15 637 585 ;
|
||||||
|
C -1 ; WX 600 ; N Ncaron ; B 8 -12 730 790 ;
|
||||||
|
C -1 ; WX 600 ; N Iacute ; B 77 0 643 784 ;
|
||||||
|
C -1 ; WX 600 ; N plusminus ; B 76 24 614 515 ;
|
||||||
|
C -1 ; WX 600 ; N brokenbar ; B 217 -175 489 675 ;
|
||||||
|
C -1 ; WX 600 ; N registered ; B 53 -18 667 580 ;
|
||||||
|
C -1 ; WX 600 ; N Gbreve ; B 74 -18 684 784 ;
|
||||||
|
C -1 ; WX 600 ; N Idotaccent ; B 77 0 643 761 ;
|
||||||
|
C -1 ; WX 600 ; N summation ; B 15 -10 672 706 ;
|
||||||
|
C -1 ; WX 600 ; N Egrave ; B 25 0 670 784 ;
|
||||||
|
C -1 ; WX 600 ; N racute ; B 47 0 655 661 ;
|
||||||
|
C -1 ; WX 600 ; N omacron ; B 71 -15 637 585 ;
|
||||||
|
C -1 ; WX 600 ; N Zacute ; B 62 0 665 784 ;
|
||||||
|
C -1 ; WX 600 ; N Zcaron ; B 62 0 659 790 ;
|
||||||
|
C -1 ; WX 600 ; N greaterequal ; B 26 0 627 696 ;
|
||||||
|
C -1 ; WX 600 ; N Eth ; B 30 0 664 562 ;
|
||||||
|
C -1 ; WX 600 ; N Ccedilla ; B 74 -206 675 580 ;
|
||||||
|
C -1 ; WX 600 ; N lcommaaccent ; B 77 -250 546 626 ;
|
||||||
|
C -1 ; WX 600 ; N tcaron ; B 118 -15 627 703 ;
|
||||||
|
C -1 ; WX 600 ; N eogonek ; B 81 -199 605 454 ;
|
||||||
|
C -1 ; WX 600 ; N Uogonek ; B 101 -199 716 562 ;
|
||||||
|
C -1 ; WX 600 ; N Aacute ; B -9 0 655 784 ;
|
||||||
|
C -1 ; WX 600 ; N Adieresis ; B -9 0 632 761 ;
|
||||||
|
C -1 ; WX 600 ; N egrave ; B 81 -15 605 661 ;
|
||||||
|
C -1 ; WX 600 ; N zacute ; B 81 0 614 661 ;
|
||||||
|
C -1 ; WX 600 ; N iogonek ; B 77 -199 546 658 ;
|
||||||
|
C -1 ; WX 600 ; N Oacute ; B 74 -18 645 784 ;
|
||||||
|
C -1 ; WX 600 ; N oacute ; B 71 -15 649 661 ;
|
||||||
|
C -1 ; WX 600 ; N amacron ; B 61 -15 637 585 ;
|
||||||
|
C -1 ; WX 600 ; N sacute ; B 66 -17 609 661 ;
|
||||||
|
C -1 ; WX 600 ; N idieresis ; B 77 0 561 618 ;
|
||||||
|
C -1 ; WX 600 ; N Ocircumflex ; B 74 -18 645 780 ;
|
||||||
|
C -1 ; WX 600 ; N Ugrave ; B 101 -18 716 784 ;
|
||||||
|
C -1 ; WX 600 ; N Delta ; B 6 0 594 688 ;
|
||||||
|
C -1 ; WX 600 ; N thorn ; B -32 -142 622 626 ;
|
||||||
|
C -1 ; WX 600 ; N twosuperior ; B 191 230 542 616 ;
|
||||||
|
C -1 ; WX 600 ; N Odieresis ; B 74 -18 645 761 ;
|
||||||
|
C -1 ; WX 600 ; N mu ; B 49 -142 592 439 ;
|
||||||
|
C -1 ; WX 600 ; N igrave ; B 77 0 546 661 ;
|
||||||
|
C -1 ; WX 600 ; N ohungarumlaut ; B 71 -15 809 661 ;
|
||||||
|
C -1 ; WX 600 ; N Eogonek ; B 25 -199 670 562 ;
|
||||||
|
C -1 ; WX 600 ; N dcroat ; B 60 -15 712 626 ;
|
||||||
|
C -1 ; WX 600 ; N threequarters ; B 8 -60 699 661 ;
|
||||||
|
C -1 ; WX 600 ; N Scedilla ; B 54 -206 673 582 ;
|
||||||
|
C -1 ; WX 600 ; N lcaron ; B 77 0 731 626 ;
|
||||||
|
C -1 ; WX 600 ; N Kcommaaccent ; B 21 -250 692 562 ;
|
||||||
|
C -1 ; WX 600 ; N Lacute ; B 39 0 636 784 ;
|
||||||
|
C -1 ; WX 600 ; N trademark ; B 86 230 869 562 ;
|
||||||
|
C -1 ; WX 600 ; N edotaccent ; B 81 -15 605 638 ;
|
||||||
|
C -1 ; WX 600 ; N Igrave ; B 77 0 643 784 ;
|
||||||
|
C -1 ; WX 600 ; N Imacron ; B 77 0 663 708 ;
|
||||||
|
C -1 ; WX 600 ; N Lcaron ; B 39 0 757 562 ;
|
||||||
|
C -1 ; WX 600 ; N onehalf ; B 22 -60 716 661 ;
|
||||||
|
C -1 ; WX 600 ; N lessequal ; B 26 0 671 696 ;
|
||||||
|
C -1 ; WX 600 ; N ocircumflex ; B 71 -15 622 657 ;
|
||||||
|
C -1 ; WX 600 ; N ntilde ; B 18 0 643 636 ;
|
||||||
|
C -1 ; WX 600 ; N Uhungarumlaut ; B 101 -18 805 784 ;
|
||||||
|
C -1 ; WX 600 ; N Eacute ; B 25 0 670 784 ;
|
||||||
|
C -1 ; WX 600 ; N emacron ; B 81 -15 637 585 ;
|
||||||
|
C -1 ; WX 600 ; N gbreve ; B 40 -146 674 661 ;
|
||||||
|
C -1 ; WX 600 ; N onequarter ; B 13 -60 707 661 ;
|
||||||
|
C -1 ; WX 600 ; N Scaron ; B 54 -22 689 790 ;
|
||||||
|
C -1 ; WX 600 ; N Scommaaccent ; B 54 -250 673 582 ;
|
||||||
|
C -1 ; WX 600 ; N Ohungarumlaut ; B 74 -18 795 784 ;
|
||||||
|
C -1 ; WX 600 ; N degree ; B 173 243 570 616 ;
|
||||||
|
C -1 ; WX 600 ; N ograve ; B 71 -15 622 661 ;
|
||||||
|
C -1 ; WX 600 ; N Ccaron ; B 74 -18 689 790 ;
|
||||||
|
C -1 ; WX 600 ; N ugrave ; B 70 -15 592 661 ;
|
||||||
|
C -1 ; WX 600 ; N radical ; B 67 -104 635 778 ;
|
||||||
|
C -1 ; WX 600 ; N Dcaron ; B 30 0 664 790 ;
|
||||||
|
C -1 ; WX 600 ; N rcommaaccent ; B 47 -250 655 454 ;
|
||||||
|
C -1 ; WX 600 ; N Ntilde ; B 8 -12 730 759 ;
|
||||||
|
C -1 ; WX 600 ; N otilde ; B 71 -15 643 636 ;
|
||||||
|
C -1 ; WX 600 ; N Rcommaaccent ; B 24 -250 617 562 ;
|
||||||
|
C -1 ; WX 600 ; N Lcommaaccent ; B 39 -250 636 562 ;
|
||||||
|
C -1 ; WX 600 ; N Atilde ; B -9 0 669 759 ;
|
||||||
|
C -1 ; WX 600 ; N Aogonek ; B -9 -199 632 562 ;
|
||||||
|
C -1 ; WX 600 ; N Aring ; B -9 0 632 801 ;
|
||||||
|
C -1 ; WX 600 ; N Otilde ; B 74 -18 669 759 ;
|
||||||
|
C -1 ; WX 600 ; N zdotaccent ; B 81 0 614 638 ;
|
||||||
|
C -1 ; WX 600 ; N Ecaron ; B 25 0 670 790 ;
|
||||||
|
C -1 ; WX 600 ; N Iogonek ; B 77 -199 643 562 ;
|
||||||
|
C -1 ; WX 600 ; N kcommaaccent ; B 33 -250 643 626 ;
|
||||||
|
C -1 ; WX 600 ; N minus ; B 114 203 596 313 ;
|
||||||
|
C -1 ; WX 600 ; N Icircumflex ; B 77 0 643 780 ;
|
||||||
|
C -1 ; WX 600 ; N ncaron ; B 18 0 633 667 ;
|
||||||
|
C -1 ; WX 600 ; N tcommaaccent ; B 118 -250 567 562 ;
|
||||||
|
C -1 ; WX 600 ; N logicalnot ; B 135 103 617 413 ;
|
||||||
|
C -1 ; WX 600 ; N odieresis ; B 71 -15 622 638 ;
|
||||||
|
C -1 ; WX 600 ; N udieresis ; B 70 -15 595 638 ;
|
||||||
|
C -1 ; WX 600 ; N notequal ; B 30 -47 626 563 ;
|
||||||
|
C -1 ; WX 600 ; N gcommaaccent ; B 40 -146 674 714 ;
|
||||||
|
C -1 ; WX 600 ; N eth ; B 93 -27 661 626 ;
|
||||||
|
C -1 ; WX 600 ; N zcaron ; B 81 0 643 667 ;
|
||||||
|
C -1 ; WX 600 ; N ncommaaccent ; B 18 -250 615 454 ;
|
||||||
|
C -1 ; WX 600 ; N onesuperior ; B 212 230 514 616 ;
|
||||||
|
C -1 ; WX 600 ; N imacron ; B 77 0 575 585 ;
|
||||||
|
C -1 ; WX 600 ; N Euro ; B 0 0 0 0 ;
|
||||||
|
EndCharMetrics
|
||||||
|
EndFontMetrics
|
||||||
342
addon/fonts/Courier-Oblique.afm
Normal file
342
addon/fonts/Courier-Oblique.afm
Normal file
|
|
@ -0,0 +1,342 @@
|
||||||
|
StartFontMetrics 4.1
|
||||||
|
Comment Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.
|
||||||
|
Comment Creation Date: Thu May 1 17:37:52 1997
|
||||||
|
Comment UniqueID 43051
|
||||||
|
Comment VMusage 16248 75829
|
||||||
|
FontName Courier-Oblique
|
||||||
|
FullName Courier Oblique
|
||||||
|
FamilyName Courier
|
||||||
|
Weight Medium
|
||||||
|
ItalicAngle -12
|
||||||
|
IsFixedPitch true
|
||||||
|
CharacterSet ExtendedRoman
|
||||||
|
FontBBox -27 -250 849 805
|
||||||
|
UnderlinePosition -100
|
||||||
|
UnderlineThickness 50
|
||||||
|
Version 003.000
|
||||||
|
Notice Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.
|
||||||
|
EncodingScheme AdobeStandardEncoding
|
||||||
|
CapHeight 562
|
||||||
|
XHeight 426
|
||||||
|
Ascender 629
|
||||||
|
Descender -157
|
||||||
|
StdHW 51
|
||||||
|
StdVW 51
|
||||||
|
StartCharMetrics 315
|
||||||
|
C 32 ; WX 600 ; N space ; B 0 0 0 0 ;
|
||||||
|
C 33 ; WX 600 ; N exclam ; B 243 -15 464 572 ;
|
||||||
|
C 34 ; WX 600 ; N quotedbl ; B 273 328 532 562 ;
|
||||||
|
C 35 ; WX 600 ; N numbersign ; B 133 -32 596 639 ;
|
||||||
|
C 36 ; WX 600 ; N dollar ; B 108 -126 596 662 ;
|
||||||
|
C 37 ; WX 600 ; N percent ; B 134 -15 599 622 ;
|
||||||
|
C 38 ; WX 600 ; N ampersand ; B 87 -15 580 543 ;
|
||||||
|
C 39 ; WX 600 ; N quoteright ; B 283 328 495 562 ;
|
||||||
|
C 40 ; WX 600 ; N parenleft ; B 313 -108 572 622 ;
|
||||||
|
C 41 ; WX 600 ; N parenright ; B 137 -108 396 622 ;
|
||||||
|
C 42 ; WX 600 ; N asterisk ; B 212 257 580 607 ;
|
||||||
|
C 43 ; WX 600 ; N plus ; B 129 44 580 470 ;
|
||||||
|
C 44 ; WX 600 ; N comma ; B 157 -112 370 122 ;
|
||||||
|
C 45 ; WX 600 ; N hyphen ; B 152 231 558 285 ;
|
||||||
|
C 46 ; WX 600 ; N period ; B 238 -15 382 109 ;
|
||||||
|
C 47 ; WX 600 ; N slash ; B 112 -80 604 629 ;
|
||||||
|
C 48 ; WX 600 ; N zero ; B 154 -15 575 622 ;
|
||||||
|
C 49 ; WX 600 ; N one ; B 98 0 515 622 ;
|
||||||
|
C 50 ; WX 600 ; N two ; B 70 0 568 622 ;
|
||||||
|
C 51 ; WX 600 ; N three ; B 82 -15 538 622 ;
|
||||||
|
C 52 ; WX 600 ; N four ; B 108 0 541 622 ;
|
||||||
|
C 53 ; WX 600 ; N five ; B 99 -15 589 607 ;
|
||||||
|
C 54 ; WX 600 ; N six ; B 155 -15 629 622 ;
|
||||||
|
C 55 ; WX 600 ; N seven ; B 182 0 612 607 ;
|
||||||
|
C 56 ; WX 600 ; N eight ; B 132 -15 588 622 ;
|
||||||
|
C 57 ; WX 600 ; N nine ; B 93 -15 574 622 ;
|
||||||
|
C 58 ; WX 600 ; N colon ; B 238 -15 441 385 ;
|
||||||
|
C 59 ; WX 600 ; N semicolon ; B 157 -112 441 385 ;
|
||||||
|
C 60 ; WX 600 ; N less ; B 96 42 610 472 ;
|
||||||
|
C 61 ; WX 600 ; N equal ; B 109 138 600 376 ;
|
||||||
|
C 62 ; WX 600 ; N greater ; B 85 42 599 472 ;
|
||||||
|
C 63 ; WX 600 ; N question ; B 222 -15 583 572 ;
|
||||||
|
C 64 ; WX 600 ; N at ; B 127 -15 582 622 ;
|
||||||
|
C 65 ; WX 600 ; N A ; B 3 0 607 562 ;
|
||||||
|
C 66 ; WX 600 ; N B ; B 43 0 616 562 ;
|
||||||
|
C 67 ; WX 600 ; N C ; B 93 -18 655 580 ;
|
||||||
|
C 68 ; WX 600 ; N D ; B 43 0 645 562 ;
|
||||||
|
C 69 ; WX 600 ; N E ; B 53 0 660 562 ;
|
||||||
|
C 70 ; WX 600 ; N F ; B 53 0 660 562 ;
|
||||||
|
C 71 ; WX 600 ; N G ; B 83 -18 645 580 ;
|
||||||
|
C 72 ; WX 600 ; N H ; B 32 0 687 562 ;
|
||||||
|
C 73 ; WX 600 ; N I ; B 96 0 623 562 ;
|
||||||
|
C 74 ; WX 600 ; N J ; B 52 -18 685 562 ;
|
||||||
|
C 75 ; WX 600 ; N K ; B 38 0 671 562 ;
|
||||||
|
C 76 ; WX 600 ; N L ; B 47 0 607 562 ;
|
||||||
|
C 77 ; WX 600 ; N M ; B 4 0 715 562 ;
|
||||||
|
C 78 ; WX 600 ; N N ; B 7 -13 712 562 ;
|
||||||
|
C 79 ; WX 600 ; N O ; B 94 -18 625 580 ;
|
||||||
|
C 80 ; WX 600 ; N P ; B 79 0 644 562 ;
|
||||||
|
C 81 ; WX 600 ; N Q ; B 95 -138 625 580 ;
|
||||||
|
C 82 ; WX 600 ; N R ; B 38 0 598 562 ;
|
||||||
|
C 83 ; WX 600 ; N S ; B 76 -20 650 580 ;
|
||||||
|
C 84 ; WX 600 ; N T ; B 108 0 665 562 ;
|
||||||
|
C 85 ; WX 600 ; N U ; B 125 -18 702 562 ;
|
||||||
|
C 86 ; WX 600 ; N V ; B 105 -13 723 562 ;
|
||||||
|
C 87 ; WX 600 ; N W ; B 106 -13 722 562 ;
|
||||||
|
C 88 ; WX 600 ; N X ; B 23 0 675 562 ;
|
||||||
|
C 89 ; WX 600 ; N Y ; B 133 0 695 562 ;
|
||||||
|
C 90 ; WX 600 ; N Z ; B 86 0 610 562 ;
|
||||||
|
C 91 ; WX 600 ; N bracketleft ; B 246 -108 574 622 ;
|
||||||
|
C 92 ; WX 600 ; N backslash ; B 249 -80 468 629 ;
|
||||||
|
C 93 ; WX 600 ; N bracketright ; B 135 -108 463 622 ;
|
||||||
|
C 94 ; WX 600 ; N asciicircum ; B 175 354 587 622 ;
|
||||||
|
C 95 ; WX 600 ; N underscore ; B -27 -125 584 -75 ;
|
||||||
|
C 96 ; WX 600 ; N quoteleft ; B 343 328 457 562 ;
|
||||||
|
C 97 ; WX 600 ; N a ; B 76 -15 569 441 ;
|
||||||
|
C 98 ; WX 600 ; N b ; B 29 -15 625 629 ;
|
||||||
|
C 99 ; WX 600 ; N c ; B 106 -15 608 441 ;
|
||||||
|
C 100 ; WX 600 ; N d ; B 85 -15 640 629 ;
|
||||||
|
C 101 ; WX 600 ; N e ; B 106 -15 598 441 ;
|
||||||
|
C 102 ; WX 600 ; N f ; B 114 0 662 629 ; L i fi ; L l fl ;
|
||||||
|
C 103 ; WX 600 ; N g ; B 61 -157 657 441 ;
|
||||||
|
C 104 ; WX 600 ; N h ; B 33 0 592 629 ;
|
||||||
|
C 105 ; WX 600 ; N i ; B 95 0 515 657 ;
|
||||||
|
C 106 ; WX 600 ; N j ; B 52 -157 550 657 ;
|
||||||
|
C 107 ; WX 600 ; N k ; B 58 0 633 629 ;
|
||||||
|
C 108 ; WX 600 ; N l ; B 95 0 515 629 ;
|
||||||
|
C 109 ; WX 600 ; N m ; B -5 0 615 441 ;
|
||||||
|
C 110 ; WX 600 ; N n ; B 26 0 585 441 ;
|
||||||
|
C 111 ; WX 600 ; N o ; B 102 -15 588 441 ;
|
||||||
|
C 112 ; WX 600 ; N p ; B -24 -157 605 441 ;
|
||||||
|
C 113 ; WX 600 ; N q ; B 85 -157 682 441 ;
|
||||||
|
C 114 ; WX 600 ; N r ; B 60 0 636 441 ;
|
||||||
|
C 115 ; WX 600 ; N s ; B 78 -15 584 441 ;
|
||||||
|
C 116 ; WX 600 ; N t ; B 167 -15 561 561 ;
|
||||||
|
C 117 ; WX 600 ; N u ; B 101 -15 572 426 ;
|
||||||
|
C 118 ; WX 600 ; N v ; B 90 -10 681 426 ;
|
||||||
|
C 119 ; WX 600 ; N w ; B 76 -10 695 426 ;
|
||||||
|
C 120 ; WX 600 ; N x ; B 20 0 655 426 ;
|
||||||
|
C 121 ; WX 600 ; N y ; B -4 -157 683 426 ;
|
||||||
|
C 122 ; WX 600 ; N z ; B 99 0 593 426 ;
|
||||||
|
C 123 ; WX 600 ; N braceleft ; B 233 -108 569 622 ;
|
||||||
|
C 124 ; WX 600 ; N bar ; B 222 -250 485 750 ;
|
||||||
|
C 125 ; WX 600 ; N braceright ; B 140 -108 477 622 ;
|
||||||
|
C 126 ; WX 600 ; N asciitilde ; B 116 197 600 320 ;
|
||||||
|
C 161 ; WX 600 ; N exclamdown ; B 225 -157 445 430 ;
|
||||||
|
C 162 ; WX 600 ; N cent ; B 151 -49 588 614 ;
|
||||||
|
C 163 ; WX 600 ; N sterling ; B 124 -21 621 611 ;
|
||||||
|
C 164 ; WX 600 ; N fraction ; B 84 -57 646 665 ;
|
||||||
|
C 165 ; WX 600 ; N yen ; B 120 0 693 562 ;
|
||||||
|
C 166 ; WX 600 ; N florin ; B -26 -143 671 622 ;
|
||||||
|
C 167 ; WX 600 ; N section ; B 104 -78 590 580 ;
|
||||||
|
C 168 ; WX 600 ; N currency ; B 94 58 628 506 ;
|
||||||
|
C 169 ; WX 600 ; N quotesingle ; B 345 328 460 562 ;
|
||||||
|
C 170 ; WX 600 ; N quotedblleft ; B 262 328 541 562 ;
|
||||||
|
C 171 ; WX 600 ; N guillemotleft ; B 92 70 652 446 ;
|
||||||
|
C 172 ; WX 600 ; N guilsinglleft ; B 204 70 540 446 ;
|
||||||
|
C 173 ; WX 600 ; N guilsinglright ; B 170 70 506 446 ;
|
||||||
|
C 174 ; WX 600 ; N fi ; B 3 0 619 629 ;
|
||||||
|
C 175 ; WX 600 ; N fl ; B 3 0 619 629 ;
|
||||||
|
C 177 ; WX 600 ; N endash ; B 124 231 586 285 ;
|
||||||
|
C 178 ; WX 600 ; N dagger ; B 217 -78 546 580 ;
|
||||||
|
C 179 ; WX 600 ; N daggerdbl ; B 163 -78 546 580 ;
|
||||||
|
C 180 ; WX 600 ; N periodcentered ; B 275 189 434 327 ;
|
||||||
|
C 182 ; WX 600 ; N paragraph ; B 100 -78 630 562 ;
|
||||||
|
C 183 ; WX 600 ; N bullet ; B 224 130 485 383 ;
|
||||||
|
C 184 ; WX 600 ; N quotesinglbase ; B 185 -134 397 100 ;
|
||||||
|
C 185 ; WX 600 ; N quotedblbase ; B 115 -134 478 100 ;
|
||||||
|
C 186 ; WX 600 ; N quotedblright ; B 213 328 576 562 ;
|
||||||
|
C 187 ; WX 600 ; N guillemotright ; B 58 70 618 446 ;
|
||||||
|
C 188 ; WX 600 ; N ellipsis ; B 46 -15 575 111 ;
|
||||||
|
C 189 ; WX 600 ; N perthousand ; B 59 -15 627 622 ;
|
||||||
|
C 191 ; WX 600 ; N questiondown ; B 105 -157 466 430 ;
|
||||||
|
C 193 ; WX 600 ; N grave ; B 294 497 484 672 ;
|
||||||
|
C 194 ; WX 600 ; N acute ; B 348 497 612 672 ;
|
||||||
|
C 195 ; WX 600 ; N circumflex ; B 229 477 581 654 ;
|
||||||
|
C 196 ; WX 600 ; N tilde ; B 212 489 629 606 ;
|
||||||
|
C 197 ; WX 600 ; N macron ; B 232 525 600 565 ;
|
||||||
|
C 198 ; WX 600 ; N breve ; B 279 501 576 609 ;
|
||||||
|
C 199 ; WX 600 ; N dotaccent ; B 373 537 478 640 ;
|
||||||
|
C 200 ; WX 600 ; N dieresis ; B 272 537 579 640 ;
|
||||||
|
C 202 ; WX 600 ; N ring ; B 332 463 500 627 ;
|
||||||
|
C 203 ; WX 600 ; N cedilla ; B 197 -151 344 10 ;
|
||||||
|
C 205 ; WX 600 ; N hungarumlaut ; B 239 497 683 672 ;
|
||||||
|
C 206 ; WX 600 ; N ogonek ; B 189 -172 377 4 ;
|
||||||
|
C 207 ; WX 600 ; N caron ; B 262 492 614 669 ;
|
||||||
|
C 208 ; WX 600 ; N emdash ; B 49 231 661 285 ;
|
||||||
|
C 225 ; WX 600 ; N AE ; B 3 0 655 562 ;
|
||||||
|
C 227 ; WX 600 ; N ordfeminine ; B 209 249 512 580 ;
|
||||||
|
C 232 ; WX 600 ; N Lslash ; B 47 0 607 562 ;
|
||||||
|
C 233 ; WX 600 ; N Oslash ; B 94 -80 625 629 ;
|
||||||
|
C 234 ; WX 600 ; N OE ; B 59 0 672 562 ;
|
||||||
|
C 235 ; WX 600 ; N ordmasculine ; B 210 249 535 580 ;
|
||||||
|
C 241 ; WX 600 ; N ae ; B 41 -15 626 441 ;
|
||||||
|
C 245 ; WX 600 ; N dotlessi ; B 95 0 515 426 ;
|
||||||
|
C 248 ; WX 600 ; N lslash ; B 95 0 587 629 ;
|
||||||
|
C 249 ; WX 600 ; N oslash ; B 102 -80 588 506 ;
|
||||||
|
C 250 ; WX 600 ; N oe ; B 54 -15 615 441 ;
|
||||||
|
C 251 ; WX 600 ; N germandbls ; B 48 -15 617 629 ;
|
||||||
|
C -1 ; WX 600 ; N Idieresis ; B 96 0 623 753 ;
|
||||||
|
C -1 ; WX 600 ; N eacute ; B 106 -15 612 672 ;
|
||||||
|
C -1 ; WX 600 ; N abreve ; B 76 -15 576 609 ;
|
||||||
|
C -1 ; WX 600 ; N uhungarumlaut ; B 101 -15 723 672 ;
|
||||||
|
C -1 ; WX 600 ; N ecaron ; B 106 -15 614 669 ;
|
||||||
|
C -1 ; WX 600 ; N Ydieresis ; B 133 0 695 753 ;
|
||||||
|
C -1 ; WX 600 ; N divide ; B 136 48 573 467 ;
|
||||||
|
C -1 ; WX 600 ; N Yacute ; B 133 0 695 805 ;
|
||||||
|
C -1 ; WX 600 ; N Acircumflex ; B 3 0 607 787 ;
|
||||||
|
C -1 ; WX 600 ; N aacute ; B 76 -15 612 672 ;
|
||||||
|
C -1 ; WX 600 ; N Ucircumflex ; B 125 -18 702 787 ;
|
||||||
|
C -1 ; WX 600 ; N yacute ; B -4 -157 683 672 ;
|
||||||
|
C -1 ; WX 600 ; N scommaaccent ; B 78 -250 584 441 ;
|
||||||
|
C -1 ; WX 600 ; N ecircumflex ; B 106 -15 598 654 ;
|
||||||
|
C -1 ; WX 600 ; N Uring ; B 125 -18 702 760 ;
|
||||||
|
C -1 ; WX 600 ; N Udieresis ; B 125 -18 702 753 ;
|
||||||
|
C -1 ; WX 600 ; N aogonek ; B 76 -172 569 441 ;
|
||||||
|
C -1 ; WX 600 ; N Uacute ; B 125 -18 702 805 ;
|
||||||
|
C -1 ; WX 600 ; N uogonek ; B 101 -172 572 426 ;
|
||||||
|
C -1 ; WX 600 ; N Edieresis ; B 53 0 660 753 ;
|
||||||
|
C -1 ; WX 600 ; N Dcroat ; B 43 0 645 562 ;
|
||||||
|
C -1 ; WX 600 ; N commaaccent ; B 145 -250 323 -58 ;
|
||||||
|
C -1 ; WX 600 ; N copyright ; B 53 -18 667 580 ;
|
||||||
|
C -1 ; WX 600 ; N Emacron ; B 53 0 660 698 ;
|
||||||
|
C -1 ; WX 600 ; N ccaron ; B 106 -15 614 669 ;
|
||||||
|
C -1 ; WX 600 ; N aring ; B 76 -15 569 627 ;
|
||||||
|
C -1 ; WX 600 ; N Ncommaaccent ; B 7 -250 712 562 ;
|
||||||
|
C -1 ; WX 600 ; N lacute ; B 95 0 640 805 ;
|
||||||
|
C -1 ; WX 600 ; N agrave ; B 76 -15 569 672 ;
|
||||||
|
C -1 ; WX 600 ; N Tcommaaccent ; B 108 -250 665 562 ;
|
||||||
|
C -1 ; WX 600 ; N Cacute ; B 93 -18 655 805 ;
|
||||||
|
C -1 ; WX 600 ; N atilde ; B 76 -15 629 606 ;
|
||||||
|
C -1 ; WX 600 ; N Edotaccent ; B 53 0 660 753 ;
|
||||||
|
C -1 ; WX 600 ; N scaron ; B 78 -15 614 669 ;
|
||||||
|
C -1 ; WX 600 ; N scedilla ; B 78 -151 584 441 ;
|
||||||
|
C -1 ; WX 600 ; N iacute ; B 95 0 612 672 ;
|
||||||
|
C -1 ; WX 600 ; N lozenge ; B 94 0 519 706 ;
|
||||||
|
C -1 ; WX 600 ; N Rcaron ; B 38 0 642 802 ;
|
||||||
|
C -1 ; WX 600 ; N Gcommaaccent ; B 83 -250 645 580 ;
|
||||||
|
C -1 ; WX 600 ; N ucircumflex ; B 101 -15 572 654 ;
|
||||||
|
C -1 ; WX 600 ; N acircumflex ; B 76 -15 581 654 ;
|
||||||
|
C -1 ; WX 600 ; N Amacron ; B 3 0 607 698 ;
|
||||||
|
C -1 ; WX 600 ; N rcaron ; B 60 0 636 669 ;
|
||||||
|
C -1 ; WX 600 ; N ccedilla ; B 106 -151 614 441 ;
|
||||||
|
C -1 ; WX 600 ; N Zdotaccent ; B 86 0 610 753 ;
|
||||||
|
C -1 ; WX 600 ; N Thorn ; B 79 0 606 562 ;
|
||||||
|
C -1 ; WX 600 ; N Omacron ; B 94 -18 628 698 ;
|
||||||
|
C -1 ; WX 600 ; N Racute ; B 38 0 670 805 ;
|
||||||
|
C -1 ; WX 600 ; N Sacute ; B 76 -20 650 805 ;
|
||||||
|
C -1 ; WX 600 ; N dcaron ; B 85 -15 849 629 ;
|
||||||
|
C -1 ; WX 600 ; N Umacron ; B 125 -18 702 698 ;
|
||||||
|
C -1 ; WX 600 ; N uring ; B 101 -15 572 627 ;
|
||||||
|
C -1 ; WX 600 ; N threesuperior ; B 213 240 501 622 ;
|
||||||
|
C -1 ; WX 600 ; N Ograve ; B 94 -18 625 805 ;
|
||||||
|
C -1 ; WX 600 ; N Agrave ; B 3 0 607 805 ;
|
||||||
|
C -1 ; WX 600 ; N Abreve ; B 3 0 607 732 ;
|
||||||
|
C -1 ; WX 600 ; N multiply ; B 103 43 607 470 ;
|
||||||
|
C -1 ; WX 600 ; N uacute ; B 101 -15 602 672 ;
|
||||||
|
C -1 ; WX 600 ; N Tcaron ; B 108 0 665 802 ;
|
||||||
|
C -1 ; WX 600 ; N partialdiff ; B 45 -38 546 710 ;
|
||||||
|
C -1 ; WX 600 ; N ydieresis ; B -4 -157 683 620 ;
|
||||||
|
C -1 ; WX 600 ; N Nacute ; B 7 -13 712 805 ;
|
||||||
|
C -1 ; WX 600 ; N icircumflex ; B 95 0 551 654 ;
|
||||||
|
C -1 ; WX 600 ; N Ecircumflex ; B 53 0 660 787 ;
|
||||||
|
C -1 ; WX 600 ; N adieresis ; B 76 -15 575 620 ;
|
||||||
|
C -1 ; WX 600 ; N edieresis ; B 106 -15 598 620 ;
|
||||||
|
C -1 ; WX 600 ; N cacute ; B 106 -15 612 672 ;
|
||||||
|
C -1 ; WX 600 ; N nacute ; B 26 0 602 672 ;
|
||||||
|
C -1 ; WX 600 ; N umacron ; B 101 -15 600 565 ;
|
||||||
|
C -1 ; WX 600 ; N Ncaron ; B 7 -13 712 802 ;
|
||||||
|
C -1 ; WX 600 ; N Iacute ; B 96 0 640 805 ;
|
||||||
|
C -1 ; WX 600 ; N plusminus ; B 96 44 594 558 ;
|
||||||
|
C -1 ; WX 600 ; N brokenbar ; B 238 -175 469 675 ;
|
||||||
|
C -1 ; WX 600 ; N registered ; B 53 -18 667 580 ;
|
||||||
|
C -1 ; WX 600 ; N Gbreve ; B 83 -18 645 732 ;
|
||||||
|
C -1 ; WX 600 ; N Idotaccent ; B 96 0 623 753 ;
|
||||||
|
C -1 ; WX 600 ; N summation ; B 15 -10 670 706 ;
|
||||||
|
C -1 ; WX 600 ; N Egrave ; B 53 0 660 805 ;
|
||||||
|
C -1 ; WX 600 ; N racute ; B 60 0 636 672 ;
|
||||||
|
C -1 ; WX 600 ; N omacron ; B 102 -15 600 565 ;
|
||||||
|
C -1 ; WX 600 ; N Zacute ; B 86 0 670 805 ;
|
||||||
|
C -1 ; WX 600 ; N Zcaron ; B 86 0 642 802 ;
|
||||||
|
C -1 ; WX 600 ; N greaterequal ; B 98 0 594 710 ;
|
||||||
|
C -1 ; WX 600 ; N Eth ; B 43 0 645 562 ;
|
||||||
|
C -1 ; WX 600 ; N Ccedilla ; B 93 -151 658 580 ;
|
||||||
|
C -1 ; WX 600 ; N lcommaaccent ; B 95 -250 515 629 ;
|
||||||
|
C -1 ; WX 600 ; N tcaron ; B 167 -15 587 717 ;
|
||||||
|
C -1 ; WX 600 ; N eogonek ; B 106 -172 598 441 ;
|
||||||
|
C -1 ; WX 600 ; N Uogonek ; B 124 -172 702 562 ;
|
||||||
|
C -1 ; WX 600 ; N Aacute ; B 3 0 660 805 ;
|
||||||
|
C -1 ; WX 600 ; N Adieresis ; B 3 0 607 753 ;
|
||||||
|
C -1 ; WX 600 ; N egrave ; B 106 -15 598 672 ;
|
||||||
|
C -1 ; WX 600 ; N zacute ; B 99 0 612 672 ;
|
||||||
|
C -1 ; WX 600 ; N iogonek ; B 95 -172 515 657 ;
|
||||||
|
C -1 ; WX 600 ; N Oacute ; B 94 -18 640 805 ;
|
||||||
|
C -1 ; WX 600 ; N oacute ; B 102 -15 612 672 ;
|
||||||
|
C -1 ; WX 600 ; N amacron ; B 76 -15 600 565 ;
|
||||||
|
C -1 ; WX 600 ; N sacute ; B 78 -15 612 672 ;
|
||||||
|
C -1 ; WX 600 ; N idieresis ; B 95 0 545 620 ;
|
||||||
|
C -1 ; WX 600 ; N Ocircumflex ; B 94 -18 625 787 ;
|
||||||
|
C -1 ; WX 600 ; N Ugrave ; B 125 -18 702 805 ;
|
||||||
|
C -1 ; WX 600 ; N Delta ; B 6 0 598 688 ;
|
||||||
|
C -1 ; WX 600 ; N thorn ; B -24 -157 605 629 ;
|
||||||
|
C -1 ; WX 600 ; N twosuperior ; B 230 249 535 622 ;
|
||||||
|
C -1 ; WX 600 ; N Odieresis ; B 94 -18 625 753 ;
|
||||||
|
C -1 ; WX 600 ; N mu ; B 72 -157 572 426 ;
|
||||||
|
C -1 ; WX 600 ; N igrave ; B 95 0 515 672 ;
|
||||||
|
C -1 ; WX 600 ; N ohungarumlaut ; B 102 -15 723 672 ;
|
||||||
|
C -1 ; WX 600 ; N Eogonek ; B 53 -172 660 562 ;
|
||||||
|
C -1 ; WX 600 ; N dcroat ; B 85 -15 704 629 ;
|
||||||
|
C -1 ; WX 600 ; N threequarters ; B 73 -56 659 666 ;
|
||||||
|
C -1 ; WX 600 ; N Scedilla ; B 76 -151 650 580 ;
|
||||||
|
C -1 ; WX 600 ; N lcaron ; B 95 0 667 629 ;
|
||||||
|
C -1 ; WX 600 ; N Kcommaaccent ; B 38 -250 671 562 ;
|
||||||
|
C -1 ; WX 600 ; N Lacute ; B 47 0 607 805 ;
|
||||||
|
C -1 ; WX 600 ; N trademark ; B 75 263 742 562 ;
|
||||||
|
C -1 ; WX 600 ; N edotaccent ; B 106 -15 598 620 ;
|
||||||
|
C -1 ; WX 600 ; N Igrave ; B 96 0 623 805 ;
|
||||||
|
C -1 ; WX 600 ; N Imacron ; B 96 0 628 698 ;
|
||||||
|
C -1 ; WX 600 ; N Lcaron ; B 47 0 632 562 ;
|
||||||
|
C -1 ; WX 600 ; N onehalf ; B 65 -57 669 665 ;
|
||||||
|
C -1 ; WX 600 ; N lessequal ; B 98 0 645 710 ;
|
||||||
|
C -1 ; WX 600 ; N ocircumflex ; B 102 -15 588 654 ;
|
||||||
|
C -1 ; WX 600 ; N ntilde ; B 26 0 629 606 ;
|
||||||
|
C -1 ; WX 600 ; N Uhungarumlaut ; B 125 -18 761 805 ;
|
||||||
|
C -1 ; WX 600 ; N Eacute ; B 53 0 670 805 ;
|
||||||
|
C -1 ; WX 600 ; N emacron ; B 106 -15 600 565 ;
|
||||||
|
C -1 ; WX 600 ; N gbreve ; B 61 -157 657 609 ;
|
||||||
|
C -1 ; WX 600 ; N onequarter ; B 65 -57 674 665 ;
|
||||||
|
C -1 ; WX 600 ; N Scaron ; B 76 -20 672 802 ;
|
||||||
|
C -1 ; WX 600 ; N Scommaaccent ; B 76 -250 650 580 ;
|
||||||
|
C -1 ; WX 600 ; N Ohungarumlaut ; B 94 -18 751 805 ;
|
||||||
|
C -1 ; WX 600 ; N degree ; B 214 269 576 622 ;
|
||||||
|
C -1 ; WX 600 ; N ograve ; B 102 -15 588 672 ;
|
||||||
|
C -1 ; WX 600 ; N Ccaron ; B 93 -18 672 802 ;
|
||||||
|
C -1 ; WX 600 ; N ugrave ; B 101 -15 572 672 ;
|
||||||
|
C -1 ; WX 600 ; N radical ; B 85 -15 765 792 ;
|
||||||
|
C -1 ; WX 600 ; N Dcaron ; B 43 0 645 802 ;
|
||||||
|
C -1 ; WX 600 ; N rcommaaccent ; B 60 -250 636 441 ;
|
||||||
|
C -1 ; WX 600 ; N Ntilde ; B 7 -13 712 729 ;
|
||||||
|
C -1 ; WX 600 ; N otilde ; B 102 -15 629 606 ;
|
||||||
|
C -1 ; WX 600 ; N Rcommaaccent ; B 38 -250 598 562 ;
|
||||||
|
C -1 ; WX 600 ; N Lcommaaccent ; B 47 -250 607 562 ;
|
||||||
|
C -1 ; WX 600 ; N Atilde ; B 3 0 655 729 ;
|
||||||
|
C -1 ; WX 600 ; N Aogonek ; B 3 -172 607 562 ;
|
||||||
|
C -1 ; WX 600 ; N Aring ; B 3 0 607 750 ;
|
||||||
|
C -1 ; WX 600 ; N Otilde ; B 94 -18 655 729 ;
|
||||||
|
C -1 ; WX 600 ; N zdotaccent ; B 99 0 593 620 ;
|
||||||
|
C -1 ; WX 600 ; N Ecaron ; B 53 0 660 802 ;
|
||||||
|
C -1 ; WX 600 ; N Iogonek ; B 96 -172 623 562 ;
|
||||||
|
C -1 ; WX 600 ; N kcommaaccent ; B 58 -250 633 629 ;
|
||||||
|
C -1 ; WX 600 ; N minus ; B 129 232 580 283 ;
|
||||||
|
C -1 ; WX 600 ; N Icircumflex ; B 96 0 623 787 ;
|
||||||
|
C -1 ; WX 600 ; N ncaron ; B 26 0 614 669 ;
|
||||||
|
C -1 ; WX 600 ; N tcommaaccent ; B 165 -250 561 561 ;
|
||||||
|
C -1 ; WX 600 ; N logicalnot ; B 155 108 591 369 ;
|
||||||
|
C -1 ; WX 600 ; N odieresis ; B 102 -15 588 620 ;
|
||||||
|
C -1 ; WX 600 ; N udieresis ; B 101 -15 575 620 ;
|
||||||
|
C -1 ; WX 600 ; N notequal ; B 43 -16 621 529 ;
|
||||||
|
C -1 ; WX 600 ; N gcommaaccent ; B 61 -157 657 708 ;
|
||||||
|
C -1 ; WX 600 ; N eth ; B 102 -15 639 629 ;
|
||||||
|
C -1 ; WX 600 ; N zcaron ; B 99 0 624 669 ;
|
||||||
|
C -1 ; WX 600 ; N ncommaaccent ; B 26 -250 585 441 ;
|
||||||
|
C -1 ; WX 600 ; N onesuperior ; B 231 249 491 622 ;
|
||||||
|
C -1 ; WX 600 ; N imacron ; B 95 0 543 565 ;
|
||||||
|
C -1 ; WX 600 ; N Euro ; B 0 0 0 0 ;
|
||||||
|
EndCharMetrics
|
||||||
|
EndFontMetrics
|
||||||
342
addon/fonts/Courier.afm
Normal file
342
addon/fonts/Courier.afm
Normal file
|
|
@ -0,0 +1,342 @@
|
||||||
|
StartFontMetrics 4.1
|
||||||
|
Comment Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.
|
||||||
|
Comment Creation Date: Thu May 1 17:27:09 1997
|
||||||
|
Comment UniqueID 43050
|
||||||
|
Comment VMusage 39754 50779
|
||||||
|
FontName Courier
|
||||||
|
FullName Courier
|
||||||
|
FamilyName Courier
|
||||||
|
Weight Medium
|
||||||
|
ItalicAngle 0
|
||||||
|
IsFixedPitch true
|
||||||
|
CharacterSet ExtendedRoman
|
||||||
|
FontBBox -23 -250 715 805
|
||||||
|
UnderlinePosition -100
|
||||||
|
UnderlineThickness 50
|
||||||
|
Version 003.000
|
||||||
|
Notice Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.
|
||||||
|
EncodingScheme AdobeStandardEncoding
|
||||||
|
CapHeight 562
|
||||||
|
XHeight 426
|
||||||
|
Ascender 629
|
||||||
|
Descender -157
|
||||||
|
StdHW 51
|
||||||
|
StdVW 51
|
||||||
|
StartCharMetrics 315
|
||||||
|
C 32 ; WX 600 ; N space ; B 0 0 0 0 ;
|
||||||
|
C 33 ; WX 600 ; N exclam ; B 236 -15 364 572 ;
|
||||||
|
C 34 ; WX 600 ; N quotedbl ; B 187 328 413 562 ;
|
||||||
|
C 35 ; WX 600 ; N numbersign ; B 93 -32 507 639 ;
|
||||||
|
C 36 ; WX 600 ; N dollar ; B 105 -126 496 662 ;
|
||||||
|
C 37 ; WX 600 ; N percent ; B 81 -15 518 622 ;
|
||||||
|
C 38 ; WX 600 ; N ampersand ; B 63 -15 538 543 ;
|
||||||
|
C 39 ; WX 600 ; N quoteright ; B 213 328 376 562 ;
|
||||||
|
C 40 ; WX 600 ; N parenleft ; B 269 -108 440 622 ;
|
||||||
|
C 41 ; WX 600 ; N parenright ; B 160 -108 331 622 ;
|
||||||
|
C 42 ; WX 600 ; N asterisk ; B 116 257 484 607 ;
|
||||||
|
C 43 ; WX 600 ; N plus ; B 80 44 520 470 ;
|
||||||
|
C 44 ; WX 600 ; N comma ; B 181 -112 344 122 ;
|
||||||
|
C 45 ; WX 600 ; N hyphen ; B 103 231 497 285 ;
|
||||||
|
C 46 ; WX 600 ; N period ; B 229 -15 371 109 ;
|
||||||
|
C 47 ; WX 600 ; N slash ; B 125 -80 475 629 ;
|
||||||
|
C 48 ; WX 600 ; N zero ; B 106 -15 494 622 ;
|
||||||
|
C 49 ; WX 600 ; N one ; B 96 0 505 622 ;
|
||||||
|
C 50 ; WX 600 ; N two ; B 70 0 471 622 ;
|
||||||
|
C 51 ; WX 600 ; N three ; B 75 -15 466 622 ;
|
||||||
|
C 52 ; WX 600 ; N four ; B 78 0 500 622 ;
|
||||||
|
C 53 ; WX 600 ; N five ; B 92 -15 497 607 ;
|
||||||
|
C 54 ; WX 600 ; N six ; B 111 -15 497 622 ;
|
||||||
|
C 55 ; WX 600 ; N seven ; B 82 0 483 607 ;
|
||||||
|
C 56 ; WX 600 ; N eight ; B 102 -15 498 622 ;
|
||||||
|
C 57 ; WX 600 ; N nine ; B 96 -15 489 622 ;
|
||||||
|
C 58 ; WX 600 ; N colon ; B 229 -15 371 385 ;
|
||||||
|
C 59 ; WX 600 ; N semicolon ; B 181 -112 371 385 ;
|
||||||
|
C 60 ; WX 600 ; N less ; B 41 42 519 472 ;
|
||||||
|
C 61 ; WX 600 ; N equal ; B 80 138 520 376 ;
|
||||||
|
C 62 ; WX 600 ; N greater ; B 66 42 544 472 ;
|
||||||
|
C 63 ; WX 600 ; N question ; B 129 -15 492 572 ;
|
||||||
|
C 64 ; WX 600 ; N at ; B 77 -15 533 622 ;
|
||||||
|
C 65 ; WX 600 ; N A ; B 3 0 597 562 ;
|
||||||
|
C 66 ; WX 600 ; N B ; B 43 0 559 562 ;
|
||||||
|
C 67 ; WX 600 ; N C ; B 41 -18 540 580 ;
|
||||||
|
C 68 ; WX 600 ; N D ; B 43 0 574 562 ;
|
||||||
|
C 69 ; WX 600 ; N E ; B 53 0 550 562 ;
|
||||||
|
C 70 ; WX 600 ; N F ; B 53 0 545 562 ;
|
||||||
|
C 71 ; WX 600 ; N G ; B 31 -18 575 580 ;
|
||||||
|
C 72 ; WX 600 ; N H ; B 32 0 568 562 ;
|
||||||
|
C 73 ; WX 600 ; N I ; B 96 0 504 562 ;
|
||||||
|
C 74 ; WX 600 ; N J ; B 34 -18 566 562 ;
|
||||||
|
C 75 ; WX 600 ; N K ; B 38 0 582 562 ;
|
||||||
|
C 76 ; WX 600 ; N L ; B 47 0 554 562 ;
|
||||||
|
C 77 ; WX 600 ; N M ; B 4 0 596 562 ;
|
||||||
|
C 78 ; WX 600 ; N N ; B 7 -13 593 562 ;
|
||||||
|
C 79 ; WX 600 ; N O ; B 43 -18 557 580 ;
|
||||||
|
C 80 ; WX 600 ; N P ; B 79 0 558 562 ;
|
||||||
|
C 81 ; WX 600 ; N Q ; B 43 -138 557 580 ;
|
||||||
|
C 82 ; WX 600 ; N R ; B 38 0 588 562 ;
|
||||||
|
C 83 ; WX 600 ; N S ; B 72 -20 529 580 ;
|
||||||
|
C 84 ; WX 600 ; N T ; B 38 0 563 562 ;
|
||||||
|
C 85 ; WX 600 ; N U ; B 17 -18 583 562 ;
|
||||||
|
C 86 ; WX 600 ; N V ; B -4 -13 604 562 ;
|
||||||
|
C 87 ; WX 600 ; N W ; B -3 -13 603 562 ;
|
||||||
|
C 88 ; WX 600 ; N X ; B 23 0 577 562 ;
|
||||||
|
C 89 ; WX 600 ; N Y ; B 24 0 576 562 ;
|
||||||
|
C 90 ; WX 600 ; N Z ; B 86 0 514 562 ;
|
||||||
|
C 91 ; WX 600 ; N bracketleft ; B 269 -108 442 622 ;
|
||||||
|
C 92 ; WX 600 ; N backslash ; B 118 -80 482 629 ;
|
||||||
|
C 93 ; WX 600 ; N bracketright ; B 158 -108 331 622 ;
|
||||||
|
C 94 ; WX 600 ; N asciicircum ; B 94 354 506 622 ;
|
||||||
|
C 95 ; WX 600 ; N underscore ; B 0 -125 600 -75 ;
|
||||||
|
C 96 ; WX 600 ; N quoteleft ; B 224 328 387 562 ;
|
||||||
|
C 97 ; WX 600 ; N a ; B 53 -15 559 441 ;
|
||||||
|
C 98 ; WX 600 ; N b ; B 14 -15 575 629 ;
|
||||||
|
C 99 ; WX 600 ; N c ; B 66 -15 529 441 ;
|
||||||
|
C 100 ; WX 600 ; N d ; B 45 -15 591 629 ;
|
||||||
|
C 101 ; WX 600 ; N e ; B 66 -15 548 441 ;
|
||||||
|
C 102 ; WX 600 ; N f ; B 114 0 531 629 ; L i fi ; L l fl ;
|
||||||
|
C 103 ; WX 600 ; N g ; B 45 -157 566 441 ;
|
||||||
|
C 104 ; WX 600 ; N h ; B 18 0 582 629 ;
|
||||||
|
C 105 ; WX 600 ; N i ; B 95 0 505 657 ;
|
||||||
|
C 106 ; WX 600 ; N j ; B 82 -157 410 657 ;
|
||||||
|
C 107 ; WX 600 ; N k ; B 43 0 580 629 ;
|
||||||
|
C 108 ; WX 600 ; N l ; B 95 0 505 629 ;
|
||||||
|
C 109 ; WX 600 ; N m ; B -5 0 605 441 ;
|
||||||
|
C 110 ; WX 600 ; N n ; B 26 0 575 441 ;
|
||||||
|
C 111 ; WX 600 ; N o ; B 62 -15 538 441 ;
|
||||||
|
C 112 ; WX 600 ; N p ; B 9 -157 555 441 ;
|
||||||
|
C 113 ; WX 600 ; N q ; B 45 -157 591 441 ;
|
||||||
|
C 114 ; WX 600 ; N r ; B 60 0 559 441 ;
|
||||||
|
C 115 ; WX 600 ; N s ; B 80 -15 513 441 ;
|
||||||
|
C 116 ; WX 600 ; N t ; B 87 -15 530 561 ;
|
||||||
|
C 117 ; WX 600 ; N u ; B 21 -15 562 426 ;
|
||||||
|
C 118 ; WX 600 ; N v ; B 10 -10 590 426 ;
|
||||||
|
C 119 ; WX 600 ; N w ; B -4 -10 604 426 ;
|
||||||
|
C 120 ; WX 600 ; N x ; B 20 0 580 426 ;
|
||||||
|
C 121 ; WX 600 ; N y ; B 7 -157 592 426 ;
|
||||||
|
C 122 ; WX 600 ; N z ; B 99 0 502 426 ;
|
||||||
|
C 123 ; WX 600 ; N braceleft ; B 182 -108 437 622 ;
|
||||||
|
C 124 ; WX 600 ; N bar ; B 275 -250 326 750 ;
|
||||||
|
C 125 ; WX 600 ; N braceright ; B 163 -108 418 622 ;
|
||||||
|
C 126 ; WX 600 ; N asciitilde ; B 63 197 540 320 ;
|
||||||
|
C 161 ; WX 600 ; N exclamdown ; B 236 -157 364 430 ;
|
||||||
|
C 162 ; WX 600 ; N cent ; B 96 -49 500 614 ;
|
||||||
|
C 163 ; WX 600 ; N sterling ; B 84 -21 521 611 ;
|
||||||
|
C 164 ; WX 600 ; N fraction ; B 92 -57 509 665 ;
|
||||||
|
C 165 ; WX 600 ; N yen ; B 26 0 574 562 ;
|
||||||
|
C 166 ; WX 600 ; N florin ; B 4 -143 539 622 ;
|
||||||
|
C 167 ; WX 600 ; N section ; B 113 -78 488 580 ;
|
||||||
|
C 168 ; WX 600 ; N currency ; B 73 58 527 506 ;
|
||||||
|
C 169 ; WX 600 ; N quotesingle ; B 259 328 341 562 ;
|
||||||
|
C 170 ; WX 600 ; N quotedblleft ; B 143 328 471 562 ;
|
||||||
|
C 171 ; WX 600 ; N guillemotleft ; B 37 70 563 446 ;
|
||||||
|
C 172 ; WX 600 ; N guilsinglleft ; B 149 70 451 446 ;
|
||||||
|
C 173 ; WX 600 ; N guilsinglright ; B 149 70 451 446 ;
|
||||||
|
C 174 ; WX 600 ; N fi ; B 3 0 597 629 ;
|
||||||
|
C 175 ; WX 600 ; N fl ; B 3 0 597 629 ;
|
||||||
|
C 177 ; WX 600 ; N endash ; B 75 231 525 285 ;
|
||||||
|
C 178 ; WX 600 ; N dagger ; B 141 -78 459 580 ;
|
||||||
|
C 179 ; WX 600 ; N daggerdbl ; B 141 -78 459 580 ;
|
||||||
|
C 180 ; WX 600 ; N periodcentered ; B 222 189 378 327 ;
|
||||||
|
C 182 ; WX 600 ; N paragraph ; B 50 -78 511 562 ;
|
||||||
|
C 183 ; WX 600 ; N bullet ; B 172 130 428 383 ;
|
||||||
|
C 184 ; WX 600 ; N quotesinglbase ; B 213 -134 376 100 ;
|
||||||
|
C 185 ; WX 600 ; N quotedblbase ; B 143 -134 457 100 ;
|
||||||
|
C 186 ; WX 600 ; N quotedblright ; B 143 328 457 562 ;
|
||||||
|
C 187 ; WX 600 ; N guillemotright ; B 37 70 563 446 ;
|
||||||
|
C 188 ; WX 600 ; N ellipsis ; B 37 -15 563 111 ;
|
||||||
|
C 189 ; WX 600 ; N perthousand ; B 3 -15 600 622 ;
|
||||||
|
C 191 ; WX 600 ; N questiondown ; B 108 -157 471 430 ;
|
||||||
|
C 193 ; WX 600 ; N grave ; B 151 497 378 672 ;
|
||||||
|
C 194 ; WX 600 ; N acute ; B 242 497 469 672 ;
|
||||||
|
C 195 ; WX 600 ; N circumflex ; B 124 477 476 654 ;
|
||||||
|
C 196 ; WX 600 ; N tilde ; B 105 489 503 606 ;
|
||||||
|
C 197 ; WX 600 ; N macron ; B 120 525 480 565 ;
|
||||||
|
C 198 ; WX 600 ; N breve ; B 153 501 447 609 ;
|
||||||
|
C 199 ; WX 600 ; N dotaccent ; B 249 537 352 640 ;
|
||||||
|
C 200 ; WX 600 ; N dieresis ; B 148 537 453 640 ;
|
||||||
|
C 202 ; WX 600 ; N ring ; B 218 463 382 627 ;
|
||||||
|
C 203 ; WX 600 ; N cedilla ; B 224 -151 362 10 ;
|
||||||
|
C 205 ; WX 600 ; N hungarumlaut ; B 133 497 540 672 ;
|
||||||
|
C 206 ; WX 600 ; N ogonek ; B 211 -172 407 4 ;
|
||||||
|
C 207 ; WX 600 ; N caron ; B 124 492 476 669 ;
|
||||||
|
C 208 ; WX 600 ; N emdash ; B 0 231 600 285 ;
|
||||||
|
C 225 ; WX 600 ; N AE ; B 3 0 550 562 ;
|
||||||
|
C 227 ; WX 600 ; N ordfeminine ; B 156 249 442 580 ;
|
||||||
|
C 232 ; WX 600 ; N Lslash ; B 47 0 554 562 ;
|
||||||
|
C 233 ; WX 600 ; N Oslash ; B 43 -80 557 629 ;
|
||||||
|
C 234 ; WX 600 ; N OE ; B 7 0 567 562 ;
|
||||||
|
C 235 ; WX 600 ; N ordmasculine ; B 157 249 443 580 ;
|
||||||
|
C 241 ; WX 600 ; N ae ; B 19 -15 570 441 ;
|
||||||
|
C 245 ; WX 600 ; N dotlessi ; B 95 0 505 426 ;
|
||||||
|
C 248 ; WX 600 ; N lslash ; B 95 0 505 629 ;
|
||||||
|
C 249 ; WX 600 ; N oslash ; B 62 -80 538 506 ;
|
||||||
|
C 250 ; WX 600 ; N oe ; B 19 -15 559 441 ;
|
||||||
|
C 251 ; WX 600 ; N germandbls ; B 48 -15 588 629 ;
|
||||||
|
C -1 ; WX 600 ; N Idieresis ; B 96 0 504 753 ;
|
||||||
|
C -1 ; WX 600 ; N eacute ; B 66 -15 548 672 ;
|
||||||
|
C -1 ; WX 600 ; N abreve ; B 53 -15 559 609 ;
|
||||||
|
C -1 ; WX 600 ; N uhungarumlaut ; B 21 -15 580 672 ;
|
||||||
|
C -1 ; WX 600 ; N ecaron ; B 66 -15 548 669 ;
|
||||||
|
C -1 ; WX 600 ; N Ydieresis ; B 24 0 576 753 ;
|
||||||
|
C -1 ; WX 600 ; N divide ; B 87 48 513 467 ;
|
||||||
|
C -1 ; WX 600 ; N Yacute ; B 24 0 576 805 ;
|
||||||
|
C -1 ; WX 600 ; N Acircumflex ; B 3 0 597 787 ;
|
||||||
|
C -1 ; WX 600 ; N aacute ; B 53 -15 559 672 ;
|
||||||
|
C -1 ; WX 600 ; N Ucircumflex ; B 17 -18 583 787 ;
|
||||||
|
C -1 ; WX 600 ; N yacute ; B 7 -157 592 672 ;
|
||||||
|
C -1 ; WX 600 ; N scommaaccent ; B 80 -250 513 441 ;
|
||||||
|
C -1 ; WX 600 ; N ecircumflex ; B 66 -15 548 654 ;
|
||||||
|
C -1 ; WX 600 ; N Uring ; B 17 -18 583 760 ;
|
||||||
|
C -1 ; WX 600 ; N Udieresis ; B 17 -18 583 753 ;
|
||||||
|
C -1 ; WX 600 ; N aogonek ; B 53 -172 587 441 ;
|
||||||
|
C -1 ; WX 600 ; N Uacute ; B 17 -18 583 805 ;
|
||||||
|
C -1 ; WX 600 ; N uogonek ; B 21 -172 590 426 ;
|
||||||
|
C -1 ; WX 600 ; N Edieresis ; B 53 0 550 753 ;
|
||||||
|
C -1 ; WX 600 ; N Dcroat ; B 30 0 574 562 ;
|
||||||
|
C -1 ; WX 600 ; N commaaccent ; B 198 -250 335 -58 ;
|
||||||
|
C -1 ; WX 600 ; N copyright ; B 0 -18 600 580 ;
|
||||||
|
C -1 ; WX 600 ; N Emacron ; B 53 0 550 698 ;
|
||||||
|
C -1 ; WX 600 ; N ccaron ; B 66 -15 529 669 ;
|
||||||
|
C -1 ; WX 600 ; N aring ; B 53 -15 559 627 ;
|
||||||
|
C -1 ; WX 600 ; N Ncommaaccent ; B 7 -250 593 562 ;
|
||||||
|
C -1 ; WX 600 ; N lacute ; B 95 0 505 805 ;
|
||||||
|
C -1 ; WX 600 ; N agrave ; B 53 -15 559 672 ;
|
||||||
|
C -1 ; WX 600 ; N Tcommaaccent ; B 38 -250 563 562 ;
|
||||||
|
C -1 ; WX 600 ; N Cacute ; B 41 -18 540 805 ;
|
||||||
|
C -1 ; WX 600 ; N atilde ; B 53 -15 559 606 ;
|
||||||
|
C -1 ; WX 600 ; N Edotaccent ; B 53 0 550 753 ;
|
||||||
|
C -1 ; WX 600 ; N scaron ; B 80 -15 513 669 ;
|
||||||
|
C -1 ; WX 600 ; N scedilla ; B 80 -151 513 441 ;
|
||||||
|
C -1 ; WX 600 ; N iacute ; B 95 0 505 672 ;
|
||||||
|
C -1 ; WX 600 ; N lozenge ; B 18 0 443 706 ;
|
||||||
|
C -1 ; WX 600 ; N Rcaron ; B 38 0 588 802 ;
|
||||||
|
C -1 ; WX 600 ; N Gcommaaccent ; B 31 -250 575 580 ;
|
||||||
|
C -1 ; WX 600 ; N ucircumflex ; B 21 -15 562 654 ;
|
||||||
|
C -1 ; WX 600 ; N acircumflex ; B 53 -15 559 654 ;
|
||||||
|
C -1 ; WX 600 ; N Amacron ; B 3 0 597 698 ;
|
||||||
|
C -1 ; WX 600 ; N rcaron ; B 60 0 559 669 ;
|
||||||
|
C -1 ; WX 600 ; N ccedilla ; B 66 -151 529 441 ;
|
||||||
|
C -1 ; WX 600 ; N Zdotaccent ; B 86 0 514 753 ;
|
||||||
|
C -1 ; WX 600 ; N Thorn ; B 79 0 538 562 ;
|
||||||
|
C -1 ; WX 600 ; N Omacron ; B 43 -18 557 698 ;
|
||||||
|
C -1 ; WX 600 ; N Racute ; B 38 0 588 805 ;
|
||||||
|
C -1 ; WX 600 ; N Sacute ; B 72 -20 529 805 ;
|
||||||
|
C -1 ; WX 600 ; N dcaron ; B 45 -15 715 629 ;
|
||||||
|
C -1 ; WX 600 ; N Umacron ; B 17 -18 583 698 ;
|
||||||
|
C -1 ; WX 600 ; N uring ; B 21 -15 562 627 ;
|
||||||
|
C -1 ; WX 600 ; N threesuperior ; B 155 240 406 622 ;
|
||||||
|
C -1 ; WX 600 ; N Ograve ; B 43 -18 557 805 ;
|
||||||
|
C -1 ; WX 600 ; N Agrave ; B 3 0 597 805 ;
|
||||||
|
C -1 ; WX 600 ; N Abreve ; B 3 0 597 732 ;
|
||||||
|
C -1 ; WX 600 ; N multiply ; B 87 43 515 470 ;
|
||||||
|
C -1 ; WX 600 ; N uacute ; B 21 -15 562 672 ;
|
||||||
|
C -1 ; WX 600 ; N Tcaron ; B 38 0 563 802 ;
|
||||||
|
C -1 ; WX 600 ; N partialdiff ; B 17 -38 459 710 ;
|
||||||
|
C -1 ; WX 600 ; N ydieresis ; B 7 -157 592 620 ;
|
||||||
|
C -1 ; WX 600 ; N Nacute ; B 7 -13 593 805 ;
|
||||||
|
C -1 ; WX 600 ; N icircumflex ; B 94 0 505 654 ;
|
||||||
|
C -1 ; WX 600 ; N Ecircumflex ; B 53 0 550 787 ;
|
||||||
|
C -1 ; WX 600 ; N adieresis ; B 53 -15 559 620 ;
|
||||||
|
C -1 ; WX 600 ; N edieresis ; B 66 -15 548 620 ;
|
||||||
|
C -1 ; WX 600 ; N cacute ; B 66 -15 529 672 ;
|
||||||
|
C -1 ; WX 600 ; N nacute ; B 26 0 575 672 ;
|
||||||
|
C -1 ; WX 600 ; N umacron ; B 21 -15 562 565 ;
|
||||||
|
C -1 ; WX 600 ; N Ncaron ; B 7 -13 593 802 ;
|
||||||
|
C -1 ; WX 600 ; N Iacute ; B 96 0 504 805 ;
|
||||||
|
C -1 ; WX 600 ; N plusminus ; B 87 44 513 558 ;
|
||||||
|
C -1 ; WX 600 ; N brokenbar ; B 275 -175 326 675 ;
|
||||||
|
C -1 ; WX 600 ; N registered ; B 0 -18 600 580 ;
|
||||||
|
C -1 ; WX 600 ; N Gbreve ; B 31 -18 575 732 ;
|
||||||
|
C -1 ; WX 600 ; N Idotaccent ; B 96 0 504 753 ;
|
||||||
|
C -1 ; WX 600 ; N summation ; B 15 -10 585 706 ;
|
||||||
|
C -1 ; WX 600 ; N Egrave ; B 53 0 550 805 ;
|
||||||
|
C -1 ; WX 600 ; N racute ; B 60 0 559 672 ;
|
||||||
|
C -1 ; WX 600 ; N omacron ; B 62 -15 538 565 ;
|
||||||
|
C -1 ; WX 600 ; N Zacute ; B 86 0 514 805 ;
|
||||||
|
C -1 ; WX 600 ; N Zcaron ; B 86 0 514 802 ;
|
||||||
|
C -1 ; WX 600 ; N greaterequal ; B 98 0 502 710 ;
|
||||||
|
C -1 ; WX 600 ; N Eth ; B 30 0 574 562 ;
|
||||||
|
C -1 ; WX 600 ; N Ccedilla ; B 41 -151 540 580 ;
|
||||||
|
C -1 ; WX 600 ; N lcommaaccent ; B 95 -250 505 629 ;
|
||||||
|
C -1 ; WX 600 ; N tcaron ; B 87 -15 530 717 ;
|
||||||
|
C -1 ; WX 600 ; N eogonek ; B 66 -172 548 441 ;
|
||||||
|
C -1 ; WX 600 ; N Uogonek ; B 17 -172 583 562 ;
|
||||||
|
C -1 ; WX 600 ; N Aacute ; B 3 0 597 805 ;
|
||||||
|
C -1 ; WX 600 ; N Adieresis ; B 3 0 597 753 ;
|
||||||
|
C -1 ; WX 600 ; N egrave ; B 66 -15 548 672 ;
|
||||||
|
C -1 ; WX 600 ; N zacute ; B 99 0 502 672 ;
|
||||||
|
C -1 ; WX 600 ; N iogonek ; B 95 -172 505 657 ;
|
||||||
|
C -1 ; WX 600 ; N Oacute ; B 43 -18 557 805 ;
|
||||||
|
C -1 ; WX 600 ; N oacute ; B 62 -15 538 672 ;
|
||||||
|
C -1 ; WX 600 ; N amacron ; B 53 -15 559 565 ;
|
||||||
|
C -1 ; WX 600 ; N sacute ; B 80 -15 513 672 ;
|
||||||
|
C -1 ; WX 600 ; N idieresis ; B 95 0 505 620 ;
|
||||||
|
C -1 ; WX 600 ; N Ocircumflex ; B 43 -18 557 787 ;
|
||||||
|
C -1 ; WX 600 ; N Ugrave ; B 17 -18 583 805 ;
|
||||||
|
C -1 ; WX 600 ; N Delta ; B 6 0 598 688 ;
|
||||||
|
C -1 ; WX 600 ; N thorn ; B -6 -157 555 629 ;
|
||||||
|
C -1 ; WX 600 ; N twosuperior ; B 177 249 424 622 ;
|
||||||
|
C -1 ; WX 600 ; N Odieresis ; B 43 -18 557 753 ;
|
||||||
|
C -1 ; WX 600 ; N mu ; B 21 -157 562 426 ;
|
||||||
|
C -1 ; WX 600 ; N igrave ; B 95 0 505 672 ;
|
||||||
|
C -1 ; WX 600 ; N ohungarumlaut ; B 62 -15 580 672 ;
|
||||||
|
C -1 ; WX 600 ; N Eogonek ; B 53 -172 561 562 ;
|
||||||
|
C -1 ; WX 600 ; N dcroat ; B 45 -15 591 629 ;
|
||||||
|
C -1 ; WX 600 ; N threequarters ; B 8 -56 593 666 ;
|
||||||
|
C -1 ; WX 600 ; N Scedilla ; B 72 -151 529 580 ;
|
||||||
|
C -1 ; WX 600 ; N lcaron ; B 95 0 533 629 ;
|
||||||
|
C -1 ; WX 600 ; N Kcommaaccent ; B 38 -250 582 562 ;
|
||||||
|
C -1 ; WX 600 ; N Lacute ; B 47 0 554 805 ;
|
||||||
|
C -1 ; WX 600 ; N trademark ; B -23 263 623 562 ;
|
||||||
|
C -1 ; WX 600 ; N edotaccent ; B 66 -15 548 620 ;
|
||||||
|
C -1 ; WX 600 ; N Igrave ; B 96 0 504 805 ;
|
||||||
|
C -1 ; WX 600 ; N Imacron ; B 96 0 504 698 ;
|
||||||
|
C -1 ; WX 600 ; N Lcaron ; B 47 0 554 562 ;
|
||||||
|
C -1 ; WX 600 ; N onehalf ; B 0 -57 611 665 ;
|
||||||
|
C -1 ; WX 600 ; N lessequal ; B 98 0 502 710 ;
|
||||||
|
C -1 ; WX 600 ; N ocircumflex ; B 62 -15 538 654 ;
|
||||||
|
C -1 ; WX 600 ; N ntilde ; B 26 0 575 606 ;
|
||||||
|
C -1 ; WX 600 ; N Uhungarumlaut ; B 17 -18 590 805 ;
|
||||||
|
C -1 ; WX 600 ; N Eacute ; B 53 0 550 805 ;
|
||||||
|
C -1 ; WX 600 ; N emacron ; B 66 -15 548 565 ;
|
||||||
|
C -1 ; WX 600 ; N gbreve ; B 45 -157 566 609 ;
|
||||||
|
C -1 ; WX 600 ; N onequarter ; B 0 -57 600 665 ;
|
||||||
|
C -1 ; WX 600 ; N Scaron ; B 72 -20 529 802 ;
|
||||||
|
C -1 ; WX 600 ; N Scommaaccent ; B 72 -250 529 580 ;
|
||||||
|
C -1 ; WX 600 ; N Ohungarumlaut ; B 43 -18 580 805 ;
|
||||||
|
C -1 ; WX 600 ; N degree ; B 123 269 477 622 ;
|
||||||
|
C -1 ; WX 600 ; N ograve ; B 62 -15 538 672 ;
|
||||||
|
C -1 ; WX 600 ; N Ccaron ; B 41 -18 540 802 ;
|
||||||
|
C -1 ; WX 600 ; N ugrave ; B 21 -15 562 672 ;
|
||||||
|
C -1 ; WX 600 ; N radical ; B 3 -15 597 792 ;
|
||||||
|
C -1 ; WX 600 ; N Dcaron ; B 43 0 574 802 ;
|
||||||
|
C -1 ; WX 600 ; N rcommaaccent ; B 60 -250 559 441 ;
|
||||||
|
C -1 ; WX 600 ; N Ntilde ; B 7 -13 593 729 ;
|
||||||
|
C -1 ; WX 600 ; N otilde ; B 62 -15 538 606 ;
|
||||||
|
C -1 ; WX 600 ; N Rcommaaccent ; B 38 -250 588 562 ;
|
||||||
|
C -1 ; WX 600 ; N Lcommaaccent ; B 47 -250 554 562 ;
|
||||||
|
C -1 ; WX 600 ; N Atilde ; B 3 0 597 729 ;
|
||||||
|
C -1 ; WX 600 ; N Aogonek ; B 3 -172 608 562 ;
|
||||||
|
C -1 ; WX 600 ; N Aring ; B 3 0 597 750 ;
|
||||||
|
C -1 ; WX 600 ; N Otilde ; B 43 -18 557 729 ;
|
||||||
|
C -1 ; WX 600 ; N zdotaccent ; B 99 0 502 620 ;
|
||||||
|
C -1 ; WX 600 ; N Ecaron ; B 53 0 550 802 ;
|
||||||
|
C -1 ; WX 600 ; N Iogonek ; B 96 -172 504 562 ;
|
||||||
|
C -1 ; WX 600 ; N kcommaaccent ; B 43 -250 580 629 ;
|
||||||
|
C -1 ; WX 600 ; N minus ; B 80 232 520 283 ;
|
||||||
|
C -1 ; WX 600 ; N Icircumflex ; B 96 0 504 787 ;
|
||||||
|
C -1 ; WX 600 ; N ncaron ; B 26 0 575 669 ;
|
||||||
|
C -1 ; WX 600 ; N tcommaaccent ; B 87 -250 530 561 ;
|
||||||
|
C -1 ; WX 600 ; N logicalnot ; B 87 108 513 369 ;
|
||||||
|
C -1 ; WX 600 ; N odieresis ; B 62 -15 538 620 ;
|
||||||
|
C -1 ; WX 600 ; N udieresis ; B 21 -15 562 620 ;
|
||||||
|
C -1 ; WX 600 ; N notequal ; B 15 -16 540 529 ;
|
||||||
|
C -1 ; WX 600 ; N gcommaaccent ; B 45 -157 566 708 ;
|
||||||
|
C -1 ; WX 600 ; N eth ; B 62 -15 538 629 ;
|
||||||
|
C -1 ; WX 600 ; N zcaron ; B 99 0 502 669 ;
|
||||||
|
C -1 ; WX 600 ; N ncommaaccent ; B 26 -250 575 441 ;
|
||||||
|
C -1 ; WX 600 ; N onesuperior ; B 172 249 428 622 ;
|
||||||
|
C -1 ; WX 600 ; N imacron ; B 95 0 505 565 ;
|
||||||
|
C -1 ; WX 600 ; N Euro ; B 0 0 0 0 ;
|
||||||
|
EndCharMetrics
|
||||||
|
EndFontMetrics
|
||||||
2827
addon/fonts/Helvetica-Bold.afm
Normal file
2827
addon/fonts/Helvetica-Bold.afm
Normal file
File diff suppressed because it is too large
Load diff
2827
addon/fonts/Helvetica-BoldOblique.afm
Normal file
2827
addon/fonts/Helvetica-BoldOblique.afm
Normal file
File diff suppressed because it is too large
Load diff
3051
addon/fonts/Helvetica-Oblique.afm
Normal file
3051
addon/fonts/Helvetica-Oblique.afm
Normal file
File diff suppressed because it is too large
Load diff
3051
addon/fonts/Helvetica.afm
Normal file
3051
addon/fonts/Helvetica.afm
Normal file
File diff suppressed because it is too large
Load diff
213
addon/fonts/Symbol.afm
Normal file
213
addon/fonts/Symbol.afm
Normal file
|
|
@ -0,0 +1,213 @@
|
||||||
|
StartFontMetrics 4.1
|
||||||
|
Comment Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All rights reserved.
|
||||||
|
Comment Creation Date: Thu May 1 15:12:25 1997
|
||||||
|
Comment UniqueID 43064
|
||||||
|
Comment VMusage 30820 39997
|
||||||
|
FontName Symbol
|
||||||
|
FullName Symbol
|
||||||
|
FamilyName Symbol
|
||||||
|
Weight Medium
|
||||||
|
ItalicAngle 0
|
||||||
|
IsFixedPitch false
|
||||||
|
CharacterSet Special
|
||||||
|
FontBBox -180 -293 1090 1010
|
||||||
|
UnderlinePosition -100
|
||||||
|
UnderlineThickness 50
|
||||||
|
Version 001.008
|
||||||
|
Notice Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All rights reserved.
|
||||||
|
EncodingScheme FontSpecific
|
||||||
|
StdHW 92
|
||||||
|
StdVW 85
|
||||||
|
StartCharMetrics 190
|
||||||
|
C 32 ; WX 250 ; N space ; B 0 0 0 0 ;
|
||||||
|
C 33 ; WX 333 ; N exclam ; B 128 -17 240 672 ;
|
||||||
|
C 34 ; WX 713 ; N universal ; B 31 0 681 705 ;
|
||||||
|
C 35 ; WX 500 ; N numbersign ; B 20 -16 481 673 ;
|
||||||
|
C 36 ; WX 549 ; N existential ; B 25 0 478 707 ;
|
||||||
|
C 37 ; WX 833 ; N percent ; B 63 -36 771 655 ;
|
||||||
|
C 38 ; WX 778 ; N ampersand ; B 41 -18 750 661 ;
|
||||||
|
C 39 ; WX 439 ; N suchthat ; B 48 -17 414 500 ;
|
||||||
|
C 40 ; WX 333 ; N parenleft ; B 53 -191 300 673 ;
|
||||||
|
C 41 ; WX 333 ; N parenright ; B 30 -191 277 673 ;
|
||||||
|
C 42 ; WX 500 ; N asteriskmath ; B 65 134 427 551 ;
|
||||||
|
C 43 ; WX 549 ; N plus ; B 10 0 539 533 ;
|
||||||
|
C 44 ; WX 250 ; N comma ; B 56 -152 194 104 ;
|
||||||
|
C 45 ; WX 549 ; N minus ; B 11 233 535 288 ;
|
||||||
|
C 46 ; WX 250 ; N period ; B 69 -17 181 95 ;
|
||||||
|
C 47 ; WX 278 ; N slash ; B 0 -18 254 646 ;
|
||||||
|
C 48 ; WX 500 ; N zero ; B 24 -14 476 685 ;
|
||||||
|
C 49 ; WX 500 ; N one ; B 117 0 390 673 ;
|
||||||
|
C 50 ; WX 500 ; N two ; B 25 0 475 685 ;
|
||||||
|
C 51 ; WX 500 ; N three ; B 43 -14 435 685 ;
|
||||||
|
C 52 ; WX 500 ; N four ; B 15 0 469 685 ;
|
||||||
|
C 53 ; WX 500 ; N five ; B 32 -14 445 690 ;
|
||||||
|
C 54 ; WX 500 ; N six ; B 34 -14 468 685 ;
|
||||||
|
C 55 ; WX 500 ; N seven ; B 24 -16 448 673 ;
|
||||||
|
C 56 ; WX 500 ; N eight ; B 56 -14 445 685 ;
|
||||||
|
C 57 ; WX 500 ; N nine ; B 30 -18 459 685 ;
|
||||||
|
C 58 ; WX 278 ; N colon ; B 81 -17 193 460 ;
|
||||||
|
C 59 ; WX 278 ; N semicolon ; B 83 -152 221 460 ;
|
||||||
|
C 60 ; WX 549 ; N less ; B 26 0 523 522 ;
|
||||||
|
C 61 ; WX 549 ; N equal ; B 11 141 537 390 ;
|
||||||
|
C 62 ; WX 549 ; N greater ; B 26 0 523 522 ;
|
||||||
|
C 63 ; WX 444 ; N question ; B 70 -17 412 686 ;
|
||||||
|
C 64 ; WX 549 ; N congruent ; B 11 0 537 475 ;
|
||||||
|
C 65 ; WX 722 ; N Alpha ; B 4 0 684 673 ;
|
||||||
|
C 66 ; WX 667 ; N Beta ; B 29 0 592 673 ;
|
||||||
|
C 67 ; WX 722 ; N Chi ; B -9 0 704 673 ;
|
||||||
|
C 68 ; WX 612 ; N Delta ; B 6 0 608 688 ;
|
||||||
|
C 69 ; WX 611 ; N Epsilon ; B 32 0 617 673 ;
|
||||||
|
C 70 ; WX 763 ; N Phi ; B 26 0 741 673 ;
|
||||||
|
C 71 ; WX 603 ; N Gamma ; B 24 0 609 673 ;
|
||||||
|
C 72 ; WX 722 ; N Eta ; B 39 0 729 673 ;
|
||||||
|
C 73 ; WX 333 ; N Iota ; B 32 0 316 673 ;
|
||||||
|
C 74 ; WX 631 ; N theta1 ; B 18 -18 623 689 ;
|
||||||
|
C 75 ; WX 722 ; N Kappa ; B 35 0 722 673 ;
|
||||||
|
C 76 ; WX 686 ; N Lambda ; B 6 0 680 688 ;
|
||||||
|
C 77 ; WX 889 ; N Mu ; B 28 0 887 673 ;
|
||||||
|
C 78 ; WX 722 ; N Nu ; B 29 -8 720 673 ;
|
||||||
|
C 79 ; WX 722 ; N Omicron ; B 41 -17 715 685 ;
|
||||||
|
C 80 ; WX 768 ; N Pi ; B 25 0 745 673 ;
|
||||||
|
C 81 ; WX 741 ; N Theta ; B 41 -17 715 685 ;
|
||||||
|
C 82 ; WX 556 ; N Rho ; B 28 0 563 673 ;
|
||||||
|
C 83 ; WX 592 ; N Sigma ; B 5 0 589 673 ;
|
||||||
|
C 84 ; WX 611 ; N Tau ; B 33 0 607 673 ;
|
||||||
|
C 85 ; WX 690 ; N Upsilon ; B -8 0 694 673 ;
|
||||||
|
C 86 ; WX 439 ; N sigma1 ; B 40 -233 436 500 ;
|
||||||
|
C 87 ; WX 768 ; N Omega ; B 34 0 736 688 ;
|
||||||
|
C 88 ; WX 645 ; N Xi ; B 40 0 599 673 ;
|
||||||
|
C 89 ; WX 795 ; N Psi ; B 15 0 781 684 ;
|
||||||
|
C 90 ; WX 611 ; N Zeta ; B 44 0 636 673 ;
|
||||||
|
C 91 ; WX 333 ; N bracketleft ; B 86 -155 299 674 ;
|
||||||
|
C 92 ; WX 863 ; N therefore ; B 163 0 701 487 ;
|
||||||
|
C 93 ; WX 333 ; N bracketright ; B 33 -155 246 674 ;
|
||||||
|
C 94 ; WX 658 ; N perpendicular ; B 15 0 652 674 ;
|
||||||
|
C 95 ; WX 500 ; N underscore ; B -2 -125 502 -75 ;
|
||||||
|
C 96 ; WX 500 ; N radicalex ; B 480 881 1090 917 ;
|
||||||
|
C 97 ; WX 631 ; N alpha ; B 41 -18 622 500 ;
|
||||||
|
C 98 ; WX 549 ; N beta ; B 61 -223 515 741 ;
|
||||||
|
C 99 ; WX 549 ; N chi ; B 12 -231 522 499 ;
|
||||||
|
C 100 ; WX 494 ; N delta ; B 40 -19 481 740 ;
|
||||||
|
C 101 ; WX 439 ; N epsilon ; B 22 -19 427 502 ;
|
||||||
|
C 102 ; WX 521 ; N phi ; B 28 -224 492 673 ;
|
||||||
|
C 103 ; WX 411 ; N gamma ; B 5 -225 484 499 ;
|
||||||
|
C 104 ; WX 603 ; N eta ; B 0 -202 527 514 ;
|
||||||
|
C 105 ; WX 329 ; N iota ; B 0 -17 301 503 ;
|
||||||
|
C 106 ; WX 603 ; N phi1 ; B 36 -224 587 499 ;
|
||||||
|
C 107 ; WX 549 ; N kappa ; B 33 0 558 501 ;
|
||||||
|
C 108 ; WX 549 ; N lambda ; B 24 -17 548 739 ;
|
||||||
|
C 109 ; WX 576 ; N mu ; B 33 -223 567 500 ;
|
||||||
|
C 110 ; WX 521 ; N nu ; B -9 -16 475 507 ;
|
||||||
|
C 111 ; WX 549 ; N omicron ; B 35 -19 501 499 ;
|
||||||
|
C 112 ; WX 549 ; N pi ; B 10 -19 530 487 ;
|
||||||
|
C 113 ; WX 521 ; N theta ; B 43 -17 485 690 ;
|
||||||
|
C 114 ; WX 549 ; N rho ; B 50 -230 490 499 ;
|
||||||
|
C 115 ; WX 603 ; N sigma ; B 30 -21 588 500 ;
|
||||||
|
C 116 ; WX 439 ; N tau ; B 10 -19 418 500 ;
|
||||||
|
C 117 ; WX 576 ; N upsilon ; B 7 -18 535 507 ;
|
||||||
|
C 118 ; WX 713 ; N omega1 ; B 12 -18 671 583 ;
|
||||||
|
C 119 ; WX 686 ; N omega ; B 42 -17 684 500 ;
|
||||||
|
C 120 ; WX 493 ; N xi ; B 27 -224 469 766 ;
|
||||||
|
C 121 ; WX 686 ; N psi ; B 12 -228 701 500 ;
|
||||||
|
C 122 ; WX 494 ; N zeta ; B 60 -225 467 756 ;
|
||||||
|
C 123 ; WX 480 ; N braceleft ; B 58 -183 397 673 ;
|
||||||
|
C 124 ; WX 200 ; N bar ; B 65 -293 135 707 ;
|
||||||
|
C 125 ; WX 480 ; N braceright ; B 79 -183 418 673 ;
|
||||||
|
C 126 ; WX 549 ; N similar ; B 17 203 529 307 ;
|
||||||
|
C 160 ; WX 750 ; N Euro ; B 20 -12 714 685 ;
|
||||||
|
C 161 ; WX 620 ; N Upsilon1 ; B -2 0 610 685 ;
|
||||||
|
C 162 ; WX 247 ; N minute ; B 27 459 228 735 ;
|
||||||
|
C 163 ; WX 549 ; N lessequal ; B 29 0 526 639 ;
|
||||||
|
C 164 ; WX 167 ; N fraction ; B -180 -12 340 677 ;
|
||||||
|
C 165 ; WX 713 ; N infinity ; B 26 124 688 404 ;
|
||||||
|
C 166 ; WX 500 ; N florin ; B 2 -193 494 686 ;
|
||||||
|
C 167 ; WX 753 ; N club ; B 86 -26 660 533 ;
|
||||||
|
C 168 ; WX 753 ; N diamond ; B 142 -36 600 550 ;
|
||||||
|
C 169 ; WX 753 ; N heart ; B 117 -33 631 532 ;
|
||||||
|
C 170 ; WX 753 ; N spade ; B 113 -36 629 548 ;
|
||||||
|
C 171 ; WX 1042 ; N arrowboth ; B 24 -15 1024 511 ;
|
||||||
|
C 172 ; WX 987 ; N arrowleft ; B 32 -15 942 511 ;
|
||||||
|
C 173 ; WX 603 ; N arrowup ; B 45 0 571 910 ;
|
||||||
|
C 174 ; WX 987 ; N arrowright ; B 49 -15 959 511 ;
|
||||||
|
C 175 ; WX 603 ; N arrowdown ; B 45 -22 571 888 ;
|
||||||
|
C 176 ; WX 400 ; N degree ; B 50 385 350 685 ;
|
||||||
|
C 177 ; WX 549 ; N plusminus ; B 10 0 539 645 ;
|
||||||
|
C 178 ; WX 411 ; N second ; B 20 459 413 737 ;
|
||||||
|
C 179 ; WX 549 ; N greaterequal ; B 29 0 526 639 ;
|
||||||
|
C 180 ; WX 549 ; N multiply ; B 17 8 533 524 ;
|
||||||
|
C 181 ; WX 713 ; N proportional ; B 27 123 639 404 ;
|
||||||
|
C 182 ; WX 494 ; N partialdiff ; B 26 -20 462 746 ;
|
||||||
|
C 183 ; WX 460 ; N bullet ; B 50 113 410 473 ;
|
||||||
|
C 184 ; WX 549 ; N divide ; B 10 71 536 456 ;
|
||||||
|
C 185 ; WX 549 ; N notequal ; B 15 -25 540 549 ;
|
||||||
|
C 186 ; WX 549 ; N equivalence ; B 14 82 538 443 ;
|
||||||
|
C 187 ; WX 549 ; N approxequal ; B 14 135 527 394 ;
|
||||||
|
C 188 ; WX 1000 ; N ellipsis ; B 111 -17 889 95 ;
|
||||||
|
C 189 ; WX 603 ; N arrowvertex ; B 280 -120 336 1010 ;
|
||||||
|
C 190 ; WX 1000 ; N arrowhorizex ; B -60 220 1050 276 ;
|
||||||
|
C 191 ; WX 658 ; N carriagereturn ; B 15 -16 602 629 ;
|
||||||
|
C 192 ; WX 823 ; N aleph ; B 175 -18 661 658 ;
|
||||||
|
C 193 ; WX 686 ; N Ifraktur ; B 10 -53 578 740 ;
|
||||||
|
C 194 ; WX 795 ; N Rfraktur ; B 26 -15 759 734 ;
|
||||||
|
C 195 ; WX 987 ; N weierstrass ; B 159 -211 870 573 ;
|
||||||
|
C 196 ; WX 768 ; N circlemultiply ; B 43 -17 733 673 ;
|
||||||
|
C 197 ; WX 768 ; N circleplus ; B 43 -15 733 675 ;
|
||||||
|
C 198 ; WX 823 ; N emptyset ; B 39 -24 781 719 ;
|
||||||
|
C 199 ; WX 768 ; N intersection ; B 40 0 732 509 ;
|
||||||
|
C 200 ; WX 768 ; N union ; B 40 -17 732 492 ;
|
||||||
|
C 201 ; WX 713 ; N propersuperset ; B 20 0 673 470 ;
|
||||||
|
C 202 ; WX 713 ; N reflexsuperset ; B 20 -125 673 470 ;
|
||||||
|
C 203 ; WX 713 ; N notsubset ; B 36 -70 690 540 ;
|
||||||
|
C 204 ; WX 713 ; N propersubset ; B 37 0 690 470 ;
|
||||||
|
C 205 ; WX 713 ; N reflexsubset ; B 37 -125 690 470 ;
|
||||||
|
C 206 ; WX 713 ; N element ; B 45 0 505 468 ;
|
||||||
|
C 207 ; WX 713 ; N notelement ; B 45 -58 505 555 ;
|
||||||
|
C 208 ; WX 768 ; N angle ; B 26 0 738 673 ;
|
||||||
|
C 209 ; WX 713 ; N gradient ; B 36 -19 681 718 ;
|
||||||
|
C 210 ; WX 790 ; N registerserif ; B 50 -17 740 673 ;
|
||||||
|
C 211 ; WX 790 ; N copyrightserif ; B 51 -15 741 675 ;
|
||||||
|
C 212 ; WX 890 ; N trademarkserif ; B 18 293 855 673 ;
|
||||||
|
C 213 ; WX 823 ; N product ; B 25 -101 803 751 ;
|
||||||
|
C 214 ; WX 549 ; N radical ; B 10 -38 515 917 ;
|
||||||
|
C 215 ; WX 250 ; N dotmath ; B 69 210 169 310 ;
|
||||||
|
C 216 ; WX 713 ; N logicalnot ; B 15 0 680 288 ;
|
||||||
|
C 217 ; WX 603 ; N logicaland ; B 23 0 583 454 ;
|
||||||
|
C 218 ; WX 603 ; N logicalor ; B 30 0 578 477 ;
|
||||||
|
C 219 ; WX 1042 ; N arrowdblboth ; B 27 -20 1023 510 ;
|
||||||
|
C 220 ; WX 987 ; N arrowdblleft ; B 30 -15 939 513 ;
|
||||||
|
C 221 ; WX 603 ; N arrowdblup ; B 39 2 567 911 ;
|
||||||
|
C 222 ; WX 987 ; N arrowdblright ; B 45 -20 954 508 ;
|
||||||
|
C 223 ; WX 603 ; N arrowdbldown ; B 44 -19 572 890 ;
|
||||||
|
C 224 ; WX 494 ; N lozenge ; B 18 0 466 745 ;
|
||||||
|
C 225 ; WX 329 ; N angleleft ; B 25 -198 306 746 ;
|
||||||
|
C 226 ; WX 790 ; N registersans ; B 50 -20 740 670 ;
|
||||||
|
C 227 ; WX 790 ; N copyrightsans ; B 49 -15 739 675 ;
|
||||||
|
C 228 ; WX 786 ; N trademarksans ; B 5 293 725 673 ;
|
||||||
|
C 229 ; WX 713 ; N summation ; B 14 -108 695 752 ;
|
||||||
|
C 230 ; WX 384 ; N parenlefttp ; B 24 -293 436 926 ;
|
||||||
|
C 231 ; WX 384 ; N parenleftex ; B 24 -85 108 925 ;
|
||||||
|
C 232 ; WX 384 ; N parenleftbt ; B 24 -293 436 926 ;
|
||||||
|
C 233 ; WX 384 ; N bracketlefttp ; B 0 -80 349 926 ;
|
||||||
|
C 234 ; WX 384 ; N bracketleftex ; B 0 -79 77 925 ;
|
||||||
|
C 235 ; WX 384 ; N bracketleftbt ; B 0 -80 349 926 ;
|
||||||
|
C 236 ; WX 494 ; N bracelefttp ; B 209 -85 445 925 ;
|
||||||
|
C 237 ; WX 494 ; N braceleftmid ; B 20 -85 284 935 ;
|
||||||
|
C 238 ; WX 494 ; N braceleftbt ; B 209 -75 445 935 ;
|
||||||
|
C 239 ; WX 494 ; N braceex ; B 209 -85 284 935 ;
|
||||||
|
C 241 ; WX 329 ; N angleright ; B 21 -198 302 746 ;
|
||||||
|
C 242 ; WX 274 ; N integral ; B 2 -107 291 916 ;
|
||||||
|
C 243 ; WX 686 ; N integraltp ; B 308 -88 675 920 ;
|
||||||
|
C 244 ; WX 686 ; N integralex ; B 308 -88 378 975 ;
|
||||||
|
C 245 ; WX 686 ; N integralbt ; B 11 -87 378 921 ;
|
||||||
|
C 246 ; WX 384 ; N parenrighttp ; B 54 -293 466 926 ;
|
||||||
|
C 247 ; WX 384 ; N parenrightex ; B 382 -85 466 925 ;
|
||||||
|
C 248 ; WX 384 ; N parenrightbt ; B 54 -293 466 926 ;
|
||||||
|
C 249 ; WX 384 ; N bracketrighttp ; B 22 -80 371 926 ;
|
||||||
|
C 250 ; WX 384 ; N bracketrightex ; B 294 -79 371 925 ;
|
||||||
|
C 251 ; WX 384 ; N bracketrightbt ; B 22 -80 371 926 ;
|
||||||
|
C 252 ; WX 494 ; N bracerighttp ; B 48 -85 284 925 ;
|
||||||
|
C 253 ; WX 494 ; N bracerightmid ; B 209 -85 473 935 ;
|
||||||
|
C 254 ; WX 494 ; N bracerightbt ; B 48 -75 284 935 ;
|
||||||
|
C -1 ; WX 790 ; N apple ; B 56 -3 733 808 ;
|
||||||
|
EndCharMetrics
|
||||||
|
EndFontMetrics
|
||||||
2588
addon/fonts/Times-Bold.afm
Normal file
2588
addon/fonts/Times-Bold.afm
Normal file
File diff suppressed because it is too large
Load diff
2384
addon/fonts/Times-BoldItalic.afm
Normal file
2384
addon/fonts/Times-BoldItalic.afm
Normal file
File diff suppressed because it is too large
Load diff
2667
addon/fonts/Times-Italic.afm
Normal file
2667
addon/fonts/Times-Italic.afm
Normal file
File diff suppressed because it is too large
Load diff
2419
addon/fonts/Times-Roman.afm
Normal file
2419
addon/fonts/Times-Roman.afm
Normal file
File diff suppressed because it is too large
Load diff
225
addon/fonts/ZapfDingbats.afm
Normal file
225
addon/fonts/ZapfDingbats.afm
Normal file
|
|
@ -0,0 +1,225 @@
|
||||||
|
StartFontMetrics 4.1
|
||||||
|
Comment Copyright (c) 1985, 1987, 1988, 1989, 1997 Adobe Systems Incorporated. All Rights Reserved.
|
||||||
|
Comment Creation Date: Thu May 1 15:14:13 1997
|
||||||
|
Comment UniqueID 43082
|
||||||
|
Comment VMusage 45775 55535
|
||||||
|
FontName ZapfDingbats
|
||||||
|
FullName ITC Zapf Dingbats
|
||||||
|
FamilyName ZapfDingbats
|
||||||
|
Weight Medium
|
||||||
|
ItalicAngle 0
|
||||||
|
IsFixedPitch false
|
||||||
|
CharacterSet Special
|
||||||
|
FontBBox -1 -143 981 820
|
||||||
|
UnderlinePosition -100
|
||||||
|
UnderlineThickness 50
|
||||||
|
Version 002.000
|
||||||
|
Notice Copyright (c) 1985, 1987, 1988, 1989, 1997 Adobe Systems Incorporated. All Rights Reserved.ITC Zapf Dingbats is a registered trademark of International Typeface Corporation.
|
||||||
|
EncodingScheme FontSpecific
|
||||||
|
StdHW 28
|
||||||
|
StdVW 90
|
||||||
|
StartCharMetrics 202
|
||||||
|
C 32 ; WX 278 ; N space ; B 0 0 0 0 ;
|
||||||
|
C 33 ; WX 974 ; N a1 ; B 35 72 939 621 ;
|
||||||
|
C 34 ; WX 961 ; N a2 ; B 35 81 927 611 ;
|
||||||
|
C 35 ; WX 974 ; N a202 ; B 35 72 939 621 ;
|
||||||
|
C 36 ; WX 980 ; N a3 ; B 35 0 945 692 ;
|
||||||
|
C 37 ; WX 719 ; N a4 ; B 34 139 685 566 ;
|
||||||
|
C 38 ; WX 789 ; N a5 ; B 35 -14 755 705 ;
|
||||||
|
C 39 ; WX 790 ; N a119 ; B 35 -14 755 705 ;
|
||||||
|
C 40 ; WX 791 ; N a118 ; B 35 -13 761 705 ;
|
||||||
|
C 41 ; WX 690 ; N a117 ; B 34 138 655 553 ;
|
||||||
|
C 42 ; WX 960 ; N a11 ; B 35 123 925 568 ;
|
||||||
|
C 43 ; WX 939 ; N a12 ; B 35 134 904 559 ;
|
||||||
|
C 44 ; WX 549 ; N a13 ; B 29 -11 516 705 ;
|
||||||
|
C 45 ; WX 855 ; N a14 ; B 34 59 820 632 ;
|
||||||
|
C 46 ; WX 911 ; N a15 ; B 35 50 876 642 ;
|
||||||
|
C 47 ; WX 933 ; N a16 ; B 35 139 899 550 ;
|
||||||
|
C 48 ; WX 911 ; N a105 ; B 35 50 876 642 ;
|
||||||
|
C 49 ; WX 945 ; N a17 ; B 35 139 909 553 ;
|
||||||
|
C 50 ; WX 974 ; N a18 ; B 35 104 938 587 ;
|
||||||
|
C 51 ; WX 755 ; N a19 ; B 34 -13 721 705 ;
|
||||||
|
C 52 ; WX 846 ; N a20 ; B 36 -14 811 705 ;
|
||||||
|
C 53 ; WX 762 ; N a21 ; B 35 0 727 692 ;
|
||||||
|
C 54 ; WX 761 ; N a22 ; B 35 0 727 692 ;
|
||||||
|
C 55 ; WX 571 ; N a23 ; B -1 -68 571 661 ;
|
||||||
|
C 56 ; WX 677 ; N a24 ; B 36 -13 642 705 ;
|
||||||
|
C 57 ; WX 763 ; N a25 ; B 35 0 728 692 ;
|
||||||
|
C 58 ; WX 760 ; N a26 ; B 35 0 726 692 ;
|
||||||
|
C 59 ; WX 759 ; N a27 ; B 35 0 725 692 ;
|
||||||
|
C 60 ; WX 754 ; N a28 ; B 35 0 720 692 ;
|
||||||
|
C 61 ; WX 494 ; N a6 ; B 35 0 460 692 ;
|
||||||
|
C 62 ; WX 552 ; N a7 ; B 35 0 517 692 ;
|
||||||
|
C 63 ; WX 537 ; N a8 ; B 35 0 503 692 ;
|
||||||
|
C 64 ; WX 577 ; N a9 ; B 35 96 542 596 ;
|
||||||
|
C 65 ; WX 692 ; N a10 ; B 35 -14 657 705 ;
|
||||||
|
C 66 ; WX 786 ; N a29 ; B 35 -14 751 705 ;
|
||||||
|
C 67 ; WX 788 ; N a30 ; B 35 -14 752 705 ;
|
||||||
|
C 68 ; WX 788 ; N a31 ; B 35 -14 753 705 ;
|
||||||
|
C 69 ; WX 790 ; N a32 ; B 35 -14 756 705 ;
|
||||||
|
C 70 ; WX 793 ; N a33 ; B 35 -13 759 705 ;
|
||||||
|
C 71 ; WX 794 ; N a34 ; B 35 -13 759 705 ;
|
||||||
|
C 72 ; WX 816 ; N a35 ; B 35 -14 782 705 ;
|
||||||
|
C 73 ; WX 823 ; N a36 ; B 35 -14 787 705 ;
|
||||||
|
C 74 ; WX 789 ; N a37 ; B 35 -14 754 705 ;
|
||||||
|
C 75 ; WX 841 ; N a38 ; B 35 -14 807 705 ;
|
||||||
|
C 76 ; WX 823 ; N a39 ; B 35 -14 789 705 ;
|
||||||
|
C 77 ; WX 833 ; N a40 ; B 35 -14 798 705 ;
|
||||||
|
C 78 ; WX 816 ; N a41 ; B 35 -13 782 705 ;
|
||||||
|
C 79 ; WX 831 ; N a42 ; B 35 -14 796 705 ;
|
||||||
|
C 80 ; WX 923 ; N a43 ; B 35 -14 888 705 ;
|
||||||
|
C 81 ; WX 744 ; N a44 ; B 35 0 710 692 ;
|
||||||
|
C 82 ; WX 723 ; N a45 ; B 35 0 688 692 ;
|
||||||
|
C 83 ; WX 749 ; N a46 ; B 35 0 714 692 ;
|
||||||
|
C 84 ; WX 790 ; N a47 ; B 34 -14 756 705 ;
|
||||||
|
C 85 ; WX 792 ; N a48 ; B 35 -14 758 705 ;
|
||||||
|
C 86 ; WX 695 ; N a49 ; B 35 -14 661 706 ;
|
||||||
|
C 87 ; WX 776 ; N a50 ; B 35 -6 741 699 ;
|
||||||
|
C 88 ; WX 768 ; N a51 ; B 35 -7 734 699 ;
|
||||||
|
C 89 ; WX 792 ; N a52 ; B 35 -14 757 705 ;
|
||||||
|
C 90 ; WX 759 ; N a53 ; B 35 0 725 692 ;
|
||||||
|
C 91 ; WX 707 ; N a54 ; B 35 -13 672 704 ;
|
||||||
|
C 92 ; WX 708 ; N a55 ; B 35 -14 672 705 ;
|
||||||
|
C 93 ; WX 682 ; N a56 ; B 35 -14 647 705 ;
|
||||||
|
C 94 ; WX 701 ; N a57 ; B 35 -14 666 705 ;
|
||||||
|
C 95 ; WX 826 ; N a58 ; B 35 -14 791 705 ;
|
||||||
|
C 96 ; WX 815 ; N a59 ; B 35 -14 780 705 ;
|
||||||
|
C 97 ; WX 789 ; N a60 ; B 35 -14 754 705 ;
|
||||||
|
C 98 ; WX 789 ; N a61 ; B 35 -14 754 705 ;
|
||||||
|
C 99 ; WX 707 ; N a62 ; B 34 -14 673 705 ;
|
||||||
|
C 100 ; WX 687 ; N a63 ; B 36 0 651 692 ;
|
||||||
|
C 101 ; WX 696 ; N a64 ; B 35 0 661 691 ;
|
||||||
|
C 102 ; WX 689 ; N a65 ; B 35 0 655 692 ;
|
||||||
|
C 103 ; WX 786 ; N a66 ; B 34 -14 751 705 ;
|
||||||
|
C 104 ; WX 787 ; N a67 ; B 35 -14 752 705 ;
|
||||||
|
C 105 ; WX 713 ; N a68 ; B 35 -14 678 705 ;
|
||||||
|
C 106 ; WX 791 ; N a69 ; B 35 -14 756 705 ;
|
||||||
|
C 107 ; WX 785 ; N a70 ; B 36 -14 751 705 ;
|
||||||
|
C 108 ; WX 791 ; N a71 ; B 35 -14 757 705 ;
|
||||||
|
C 109 ; WX 873 ; N a72 ; B 35 -14 838 705 ;
|
||||||
|
C 110 ; WX 761 ; N a73 ; B 35 0 726 692 ;
|
||||||
|
C 111 ; WX 762 ; N a74 ; B 35 0 727 692 ;
|
||||||
|
C 112 ; WX 762 ; N a203 ; B 35 0 727 692 ;
|
||||||
|
C 113 ; WX 759 ; N a75 ; B 35 0 725 692 ;
|
||||||
|
C 114 ; WX 759 ; N a204 ; B 35 0 725 692 ;
|
||||||
|
C 115 ; WX 892 ; N a76 ; B 35 0 858 705 ;
|
||||||
|
C 116 ; WX 892 ; N a77 ; B 35 -14 858 692 ;
|
||||||
|
C 117 ; WX 788 ; N a78 ; B 35 -14 754 705 ;
|
||||||
|
C 118 ; WX 784 ; N a79 ; B 35 -14 749 705 ;
|
||||||
|
C 119 ; WX 438 ; N a81 ; B 35 -14 403 705 ;
|
||||||
|
C 120 ; WX 138 ; N a82 ; B 35 0 104 692 ;
|
||||||
|
C 121 ; WX 277 ; N a83 ; B 35 0 242 692 ;
|
||||||
|
C 122 ; WX 415 ; N a84 ; B 35 0 380 692 ;
|
||||||
|
C 123 ; WX 392 ; N a97 ; B 35 263 357 705 ;
|
||||||
|
C 124 ; WX 392 ; N a98 ; B 34 263 357 705 ;
|
||||||
|
C 125 ; WX 668 ; N a99 ; B 35 263 633 705 ;
|
||||||
|
C 126 ; WX 668 ; N a100 ; B 36 263 634 705 ;
|
||||||
|
C 128 ; WX 390 ; N a89 ; B 35 -14 356 705 ;
|
||||||
|
C 129 ; WX 390 ; N a90 ; B 35 -14 355 705 ;
|
||||||
|
C 130 ; WX 317 ; N a93 ; B 35 0 283 692 ;
|
||||||
|
C 131 ; WX 317 ; N a94 ; B 35 0 283 692 ;
|
||||||
|
C 132 ; WX 276 ; N a91 ; B 35 0 242 692 ;
|
||||||
|
C 133 ; WX 276 ; N a92 ; B 35 0 242 692 ;
|
||||||
|
C 134 ; WX 509 ; N a205 ; B 35 0 475 692 ;
|
||||||
|
C 135 ; WX 509 ; N a85 ; B 35 0 475 692 ;
|
||||||
|
C 136 ; WX 410 ; N a206 ; B 35 0 375 692 ;
|
||||||
|
C 137 ; WX 410 ; N a86 ; B 35 0 375 692 ;
|
||||||
|
C 138 ; WX 234 ; N a87 ; B 35 -14 199 705 ;
|
||||||
|
C 139 ; WX 234 ; N a88 ; B 35 -14 199 705 ;
|
||||||
|
C 140 ; WX 334 ; N a95 ; B 35 0 299 692 ;
|
||||||
|
C 141 ; WX 334 ; N a96 ; B 35 0 299 692 ;
|
||||||
|
C 161 ; WX 732 ; N a101 ; B 35 -143 697 806 ;
|
||||||
|
C 162 ; WX 544 ; N a102 ; B 56 -14 488 706 ;
|
||||||
|
C 163 ; WX 544 ; N a103 ; B 34 -14 508 705 ;
|
||||||
|
C 164 ; WX 910 ; N a104 ; B 35 40 875 651 ;
|
||||||
|
C 165 ; WX 667 ; N a106 ; B 35 -14 633 705 ;
|
||||||
|
C 166 ; WX 760 ; N a107 ; B 35 -14 726 705 ;
|
||||||
|
C 167 ; WX 760 ; N a108 ; B 0 121 758 569 ;
|
||||||
|
C 168 ; WX 776 ; N a112 ; B 35 0 741 705 ;
|
||||||
|
C 169 ; WX 595 ; N a111 ; B 34 -14 560 705 ;
|
||||||
|
C 170 ; WX 694 ; N a110 ; B 35 -14 659 705 ;
|
||||||
|
C 171 ; WX 626 ; N a109 ; B 34 0 591 705 ;
|
||||||
|
C 172 ; WX 788 ; N a120 ; B 35 -14 754 705 ;
|
||||||
|
C 173 ; WX 788 ; N a121 ; B 35 -14 754 705 ;
|
||||||
|
C 174 ; WX 788 ; N a122 ; B 35 -14 754 705 ;
|
||||||
|
C 175 ; WX 788 ; N a123 ; B 35 -14 754 705 ;
|
||||||
|
C 176 ; WX 788 ; N a124 ; B 35 -14 754 705 ;
|
||||||
|
C 177 ; WX 788 ; N a125 ; B 35 -14 754 705 ;
|
||||||
|
C 178 ; WX 788 ; N a126 ; B 35 -14 754 705 ;
|
||||||
|
C 179 ; WX 788 ; N a127 ; B 35 -14 754 705 ;
|
||||||
|
C 180 ; WX 788 ; N a128 ; B 35 -14 754 705 ;
|
||||||
|
C 181 ; WX 788 ; N a129 ; B 35 -14 754 705 ;
|
||||||
|
C 182 ; WX 788 ; N a130 ; B 35 -14 754 705 ;
|
||||||
|
C 183 ; WX 788 ; N a131 ; B 35 -14 754 705 ;
|
||||||
|
C 184 ; WX 788 ; N a132 ; B 35 -14 754 705 ;
|
||||||
|
C 185 ; WX 788 ; N a133 ; B 35 -14 754 705 ;
|
||||||
|
C 186 ; WX 788 ; N a134 ; B 35 -14 754 705 ;
|
||||||
|
C 187 ; WX 788 ; N a135 ; B 35 -14 754 705 ;
|
||||||
|
C 188 ; WX 788 ; N a136 ; B 35 -14 754 705 ;
|
||||||
|
C 189 ; WX 788 ; N a137 ; B 35 -14 754 705 ;
|
||||||
|
C 190 ; WX 788 ; N a138 ; B 35 -14 754 705 ;
|
||||||
|
C 191 ; WX 788 ; N a139 ; B 35 -14 754 705 ;
|
||||||
|
C 192 ; WX 788 ; N a140 ; B 35 -14 754 705 ;
|
||||||
|
C 193 ; WX 788 ; N a141 ; B 35 -14 754 705 ;
|
||||||
|
C 194 ; WX 788 ; N a142 ; B 35 -14 754 705 ;
|
||||||
|
C 195 ; WX 788 ; N a143 ; B 35 -14 754 705 ;
|
||||||
|
C 196 ; WX 788 ; N a144 ; B 35 -14 754 705 ;
|
||||||
|
C 197 ; WX 788 ; N a145 ; B 35 -14 754 705 ;
|
||||||
|
C 198 ; WX 788 ; N a146 ; B 35 -14 754 705 ;
|
||||||
|
C 199 ; WX 788 ; N a147 ; B 35 -14 754 705 ;
|
||||||
|
C 200 ; WX 788 ; N a148 ; B 35 -14 754 705 ;
|
||||||
|
C 201 ; WX 788 ; N a149 ; B 35 -14 754 705 ;
|
||||||
|
C 202 ; WX 788 ; N a150 ; B 35 -14 754 705 ;
|
||||||
|
C 203 ; WX 788 ; N a151 ; B 35 -14 754 705 ;
|
||||||
|
C 204 ; WX 788 ; N a152 ; B 35 -14 754 705 ;
|
||||||
|
C 205 ; WX 788 ; N a153 ; B 35 -14 754 705 ;
|
||||||
|
C 206 ; WX 788 ; N a154 ; B 35 -14 754 705 ;
|
||||||
|
C 207 ; WX 788 ; N a155 ; B 35 -14 754 705 ;
|
||||||
|
C 208 ; WX 788 ; N a156 ; B 35 -14 754 705 ;
|
||||||
|
C 209 ; WX 788 ; N a157 ; B 35 -14 754 705 ;
|
||||||
|
C 210 ; WX 788 ; N a158 ; B 35 -14 754 705 ;
|
||||||
|
C 211 ; WX 788 ; N a159 ; B 35 -14 754 705 ;
|
||||||
|
C 212 ; WX 894 ; N a160 ; B 35 58 860 634 ;
|
||||||
|
C 213 ; WX 838 ; N a161 ; B 35 152 803 540 ;
|
||||||
|
C 214 ; WX 1016 ; N a163 ; B 34 152 981 540 ;
|
||||||
|
C 215 ; WX 458 ; N a164 ; B 35 -127 422 820 ;
|
||||||
|
C 216 ; WX 748 ; N a196 ; B 35 94 698 597 ;
|
||||||
|
C 217 ; WX 924 ; N a165 ; B 35 140 890 552 ;
|
||||||
|
C 218 ; WX 748 ; N a192 ; B 35 94 698 597 ;
|
||||||
|
C 219 ; WX 918 ; N a166 ; B 35 166 884 526 ;
|
||||||
|
C 220 ; WX 927 ; N a167 ; B 35 32 892 660 ;
|
||||||
|
C 221 ; WX 928 ; N a168 ; B 35 129 891 562 ;
|
||||||
|
C 222 ; WX 928 ; N a169 ; B 35 128 893 563 ;
|
||||||
|
C 223 ; WX 834 ; N a170 ; B 35 155 799 537 ;
|
||||||
|
C 224 ; WX 873 ; N a171 ; B 35 93 838 599 ;
|
||||||
|
C 225 ; WX 828 ; N a172 ; B 35 104 791 588 ;
|
||||||
|
C 226 ; WX 924 ; N a173 ; B 35 98 889 594 ;
|
||||||
|
C 227 ; WX 924 ; N a162 ; B 35 98 889 594 ;
|
||||||
|
C 228 ; WX 917 ; N a174 ; B 35 0 882 692 ;
|
||||||
|
C 229 ; WX 930 ; N a175 ; B 35 84 896 608 ;
|
||||||
|
C 230 ; WX 931 ; N a176 ; B 35 84 896 608 ;
|
||||||
|
C 231 ; WX 463 ; N a177 ; B 35 -99 429 791 ;
|
||||||
|
C 232 ; WX 883 ; N a178 ; B 35 71 848 623 ;
|
||||||
|
C 233 ; WX 836 ; N a179 ; B 35 44 802 648 ;
|
||||||
|
C 234 ; WX 836 ; N a193 ; B 35 44 802 648 ;
|
||||||
|
C 235 ; WX 867 ; N a180 ; B 35 101 832 591 ;
|
||||||
|
C 236 ; WX 867 ; N a199 ; B 35 101 832 591 ;
|
||||||
|
C 237 ; WX 696 ; N a181 ; B 35 44 661 648 ;
|
||||||
|
C 238 ; WX 696 ; N a200 ; B 35 44 661 648 ;
|
||||||
|
C 239 ; WX 874 ; N a182 ; B 35 77 840 619 ;
|
||||||
|
C 241 ; WX 874 ; N a201 ; B 35 73 840 615 ;
|
||||||
|
C 242 ; WX 760 ; N a183 ; B 35 0 725 692 ;
|
||||||
|
C 243 ; WX 946 ; N a184 ; B 35 160 911 533 ;
|
||||||
|
C 244 ; WX 771 ; N a197 ; B 34 37 736 655 ;
|
||||||
|
C 245 ; WX 865 ; N a185 ; B 35 207 830 481 ;
|
||||||
|
C 246 ; WX 771 ; N a194 ; B 34 37 736 655 ;
|
||||||
|
C 247 ; WX 888 ; N a198 ; B 34 -19 853 712 ;
|
||||||
|
C 248 ; WX 967 ; N a186 ; B 35 124 932 568 ;
|
||||||
|
C 249 ; WX 888 ; N a195 ; B 34 -19 853 712 ;
|
||||||
|
C 250 ; WX 831 ; N a187 ; B 35 113 796 579 ;
|
||||||
|
C 251 ; WX 873 ; N a188 ; B 36 118 838 578 ;
|
||||||
|
C 252 ; WX 927 ; N a189 ; B 35 150 891 542 ;
|
||||||
|
C 253 ; WX 970 ; N a190 ; B 35 76 931 616 ;
|
||||||
|
C 254 ; WX 918 ; N a191 ; B 34 99 884 593 ;
|
||||||
|
EndCharMetrics
|
||||||
|
EndFontMetrics
|
||||||
1
addon/fonts/php_Courier-Bold.afm
Normal file
1
addon/fonts/php_Courier-Bold.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Courier-BoldOblique.afm
Normal file
1
addon/fonts/php_Courier-BoldOblique.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Courier-Oblique.afm
Normal file
1
addon/fonts/php_Courier-Oblique.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Courier.afm
Normal file
1
addon/fonts/php_Courier.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Helvetica-Bold.afm
Normal file
1
addon/fonts/php_Helvetica-Bold.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Helvetica-BoldOblique.afm
Normal file
1
addon/fonts/php_Helvetica-BoldOblique.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Helvetica-Oblique.afm
Normal file
1
addon/fonts/php_Helvetica-Oblique.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Helvetica.afm
Normal file
1
addon/fonts/php_Helvetica.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Symbol.afm
Normal file
1
addon/fonts/php_Symbol.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Times-Bold.afm
Normal file
1
addon/fonts/php_Times-Bold.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Times-BoldItalic.afm
Normal file
1
addon/fonts/php_Times-BoldItalic.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Times-Italic.afm
Normal file
1
addon/fonts/php_Times-Italic.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_Times-Roman.afm
Normal file
1
addon/fonts/php_Times-Roman.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_ZapfDingbats.afm
Normal file
1
addon/fonts/php_ZapfDingbats.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_a0100131.afm
Normal file
1
addon/fonts/php_a0100131.afm
Normal file
File diff suppressed because one or more lines are too long
1
addon/fonts/php_a010013l.afm
Normal file
1
addon/fonts/php_a010013l.afm
Normal file
File diff suppressed because one or more lines are too long
BIN
addon/readme.pdf
Normal file
BIN
addon/readme.pdf
Normal file
Binary file not shown.
296
addon/readme.php
Normal file
296
addon/readme.php
Normal file
|
|
@ -0,0 +1,296 @@
|
||||||
|
<?php
|
||||||
|
//===================================================================================================
|
||||||
|
// this is the php file which creates the readme.pdf file, this is not seriously
|
||||||
|
// suggested as a good way to create such a file, nor a great example of prose,
|
||||||
|
// but hopefully it will be useful
|
||||||
|
//
|
||||||
|
// adding ?d=1 to the url calling this will cause the pdf code itself to ve echoed to the
|
||||||
|
// browser, this is quite useful for debugging purposes.
|
||||||
|
// there is no option to save directly to a file here, but this would be trivial to implement.
|
||||||
|
//
|
||||||
|
// note that this file comprisises both the demo code, and the generator of the pdf documentation
|
||||||
|
//
|
||||||
|
//===================================================================================================
|
||||||
|
|
||||||
|
|
||||||
|
// don't want any warnings turning up in the pdf code if the server is set to 'anal' mode.
|
||||||
|
//error_reporting(7);
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
set_time_limit(1800);
|
||||||
|
|
||||||
|
include 'class.ezpdf.php';
|
||||||
|
|
||||||
|
// define a clas extension to allow the use of a callback to get the table of contents, and to put the dots in the toc
|
||||||
|
class Creport extends Cezpdf {
|
||||||
|
|
||||||
|
var $reportContents = array();
|
||||||
|
|
||||||
|
function Creport($p,$o){
|
||||||
|
$this->Cezpdf($p,$o);
|
||||||
|
}
|
||||||
|
|
||||||
|
function rf($info){
|
||||||
|
// this callback records all of the table of contents entries, it also places a destination marker there
|
||||||
|
// so that it can be linked too
|
||||||
|
$tmp = $info['p'];
|
||||||
|
$lvl = $tmp[0];
|
||||||
|
$lbl = rawurldecode(substr($tmp,1));
|
||||||
|
$num=$this->ezWhatPageNumber($this->ezGetCurrentPageNumber());
|
||||||
|
$this->reportContents[] = array($lbl,$num,$lvl );
|
||||||
|
$this->addDestination('toc'.(count($this->reportContents)-1),'FitH',$info['y']+$info['height']);
|
||||||
|
}
|
||||||
|
|
||||||
|
function dots($info){
|
||||||
|
// draw a dotted line over to the right and put on a page number
|
||||||
|
$tmp = $info['p'];
|
||||||
|
$lvl = $tmp[0];
|
||||||
|
$lbl = substr($tmp,1);
|
||||||
|
$xpos = 520;
|
||||||
|
|
||||||
|
switch($lvl){
|
||||||
|
case '1':
|
||||||
|
$size=16;
|
||||||
|
$thick=1;
|
||||||
|
break;
|
||||||
|
case '2':
|
||||||
|
$size=12;
|
||||||
|
$thick=0.5;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->saveState();
|
||||||
|
$this->setLineStyle($thick,'round','',array(0,10));
|
||||||
|
$this->line($xpos,$info['y'],$info['x']+5,$info['y']);
|
||||||
|
$this->restoreState();
|
||||||
|
$this->addText($xpos+5,$info['y'],$size,$lbl);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
// I am in NZ, so will design my page for A4 paper.. but don't get me started on that.
|
||||||
|
// (defaults to legal)
|
||||||
|
// this code has been modified to use ezpdf.
|
||||||
|
|
||||||
|
//$pdf = new Cezpdf('a4','portrait');
|
||||||
|
$pdf = new Creport('a4','portrait');
|
||||||
|
|
||||||
|
$pdf -> ezSetMargins(50,70,50,50);
|
||||||
|
|
||||||
|
// put a line top and bottom on all the pages
|
||||||
|
$all = $pdf->openObject();
|
||||||
|
$pdf->saveState();
|
||||||
|
$pdf->setStrokeColor(0,0,0,1);
|
||||||
|
$pdf->line(20,40,578,40);
|
||||||
|
$pdf->line(20,822,578,822);
|
||||||
|
$pdf->addText(50,34,6,'http://ros.co.nz/pdf - http://www.sourceforge.net/projects/pdf-php');
|
||||||
|
$pdf->restoreState();
|
||||||
|
$pdf->closeObject();
|
||||||
|
// note that object can be told to appear on just odd or even pages by changing 'all' to 'odd'
|
||||||
|
// or 'even'.
|
||||||
|
$pdf->addObject($all,'all');
|
||||||
|
|
||||||
|
$pdf->ezSetDy(-100);
|
||||||
|
|
||||||
|
//$mainFont = './fonts/Helvetica.afm';
|
||||||
|
$mainFont = './fonts/Times-Roman.afm';
|
||||||
|
$codeFont = './fonts/Courier.afm';
|
||||||
|
// select a font
|
||||||
|
$pdf->selectFont($mainFont);
|
||||||
|
|
||||||
|
$pdf->ezText("PHP Pdf Creation\n",30,array('justification'=>'centre'));
|
||||||
|
$pdf->ezText("Module-free creation of Pdf documents\nfrom within PHP\n",20,array('justification'=>'centre'));
|
||||||
|
$pdf->ezText("developed by R&OS Ltd\n<c:alink:http://www.ros.co.nz/pdf/>http://www.ros.co.nz/pdf</c:alink>",18,array('justification'=>'centre'));
|
||||||
|
$pdf->ezText("\n<c:alink:http://sourceforge.net/projects/pdf-php>http://sourceforge.net/projects/pdf-php</c:alink>\n\nversion 0.09",18,array('justification'=>'centre'));
|
||||||
|
|
||||||
|
$pdf->ezSetDy(-100);
|
||||||
|
// modified to use the local file if it can
|
||||||
|
|
||||||
|
$pdf->openHere('Fit');
|
||||||
|
|
||||||
|
function ros_logo(&$pdf,$x,$y,$height,$wl=0,$wr=0){
|
||||||
|
$pdf->saveState();
|
||||||
|
$h=100;
|
||||||
|
$factor = $height/$h;
|
||||||
|
$pdf->selectFont('./fonts/Helvetica-Bold.afm');
|
||||||
|
$text = 'R&OS';
|
||||||
|
$ts=100*$factor;
|
||||||
|
$th = $pdf->getFontHeight($ts);
|
||||||
|
$td = $pdf->getFontDecender($ts);
|
||||||
|
$tw = $pdf->getTextWidth($ts,$text);
|
||||||
|
$pdf->setColor(0.6,0,0);
|
||||||
|
$z = 0.86;
|
||||||
|
$pdf->filledRectangle($x-$wl,$y-$z*$h*$factor,$tw*1.2+$wr+$wl,$h*$factor*$z);
|
||||||
|
$pdf->setColor(1,1,1);
|
||||||
|
$pdf->addText($x,$y-$th-$td,$ts,$text);
|
||||||
|
$pdf->setColor(0.6,0,0);
|
||||||
|
$pdf->addText($x,$y-$th-$td,$ts*0.1,'http://www.ros.co.nz');
|
||||||
|
$pdf->restoreState();
|
||||||
|
return $height;
|
||||||
|
}
|
||||||
|
|
||||||
|
ros_logo($pdf,150,$pdf->y-100,80,150,200);
|
||||||
|
$pdf->selectFont($mainFont);
|
||||||
|
|
||||||
|
/*
|
||||||
|
if (file_exists('ros.jpg')){
|
||||||
|
$pdf->addJpegFromFile('ros.jpg',199,$pdf->y-100,200,0);
|
||||||
|
} else {
|
||||||
|
// comment out these two lines if you do not have GD jpeg support
|
||||||
|
// I couldn't quickly see a way to test for this support from the code.
|
||||||
|
// you could also copy the file from the locatioin shown and put it in the directory, then
|
||||||
|
// the code above which doesn't use GD will be activated.
|
||||||
|
$img = ImageCreatefromjpeg('http://www.ros.co.nz/pdf/ros.jpg');
|
||||||
|
$pdf-> addImage($img,199,$pdf->y-100,200,0);
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
// load up the document content
|
||||||
|
$data=file('./data.txt');
|
||||||
|
|
||||||
|
// try adding the faq's to the document, this will not work for people re-building the file from the
|
||||||
|
// download as I am not going to put in the faq file with that
|
||||||
|
$faqFile = '../ros/pdf/faqs.inc';
|
||||||
|
if (file_exists($faqFile)){
|
||||||
|
// then the file is there.
|
||||||
|
$data[] = "#NP\n";
|
||||||
|
$data[] = "1<FAQs>\n";
|
||||||
|
include($faqFile);
|
||||||
|
foreach($faqs as $v){
|
||||||
|
$data[] = "2<".$v['t'].">\n";
|
||||||
|
// these are some VERY rough conversions, I am not recommending others do this
|
||||||
|
$s = array('<br>','<p>','<pre>','</pre>','<ul>','</ul>','<li>');
|
||||||
|
$r = array("\n","\n\n","\n#C","\n#c","",""," - ");
|
||||||
|
if (is_array($v['d'])){
|
||||||
|
$tmp='';
|
||||||
|
foreach($v['d'] as $section){
|
||||||
|
$tmp.=$section."\n\n";
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$tmp = $v['d'];
|
||||||
|
}
|
||||||
|
$tmp = str_replace($s,$r,$tmp);
|
||||||
|
$bits = explode("\n",$tmp);
|
||||||
|
foreach($bits as $bit){
|
||||||
|
$data[] = $bit."\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$pdf->ezNewPage();
|
||||||
|
|
||||||
|
$pdf->ezStartPageNumbers(500,28,10,'','',1);
|
||||||
|
|
||||||
|
$size=12;
|
||||||
|
$height = $pdf->getFontHeight($size);
|
||||||
|
$textOptions = array('justification'=>'full');
|
||||||
|
$collecting=0;
|
||||||
|
$code='';
|
||||||
|
|
||||||
|
foreach ($data as $line){
|
||||||
|
// go through each line, showing it as required, if it is surrounded by '<>' then
|
||||||
|
// assume that it is a title
|
||||||
|
$line=chop($line);
|
||||||
|
if (strlen($line) && $line[0]=='#'){
|
||||||
|
// comment, or new page request
|
||||||
|
switch($line){
|
||||||
|
case '#NP':
|
||||||
|
$pdf->ezNewPage();
|
||||||
|
break;
|
||||||
|
case '#C':
|
||||||
|
$pdf->selectFont($codeFont);
|
||||||
|
$textOptions = array('justification'=>'left','left'=>20,'right'=>20);
|
||||||
|
$size=10;
|
||||||
|
break;
|
||||||
|
case '#c':
|
||||||
|
$pdf->selectFont($mainFont);
|
||||||
|
$textOptions = array('justification'=>'full');
|
||||||
|
$size=12;
|
||||||
|
break;
|
||||||
|
case '#X':
|
||||||
|
$collecting=1;
|
||||||
|
break;
|
||||||
|
case '#x':
|
||||||
|
$pdf->saveState();
|
||||||
|
eval($code);
|
||||||
|
$pdf->restoreState();
|
||||||
|
$pdf->selectFont($mainFont);
|
||||||
|
$code='';
|
||||||
|
$collecting=0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
} else if ($collecting){
|
||||||
|
$code.=$line;
|
||||||
|
// } else if (((strlen($line)>1 && $line[1]=='<') || (strlen($line) && $line[0]=='<')) && $line[strlen($line)-1]=='>') {
|
||||||
|
} else if (((strlen($line)>1 && $line[1]=='<') ) && $line[strlen($line)-1]=='>') {
|
||||||
|
// then this is a title
|
||||||
|
switch($line[0]){
|
||||||
|
case '1':
|
||||||
|
$tmp = substr($line,2,strlen($line)-3);
|
||||||
|
$tmp2 = $tmp.'<C:rf:1'.rawurlencode($tmp).'>';
|
||||||
|
$pdf->ezText($tmp2,26,array('justification'=>'centre'));
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
$tmp = substr($line,2,strlen($line)-3);
|
||||||
|
// add a grey bar, highlighting the change
|
||||||
|
$tmp2 = $tmp.'<C:rf:2'.rawurlencode($tmp).'>';
|
||||||
|
$pdf->transaction('start');
|
||||||
|
$ok=0;
|
||||||
|
while (!$ok){
|
||||||
|
$thisPageNum = $pdf->ezPageCount;
|
||||||
|
$pdf->saveState();
|
||||||
|
$pdf->setColor(0.9,0.9,0.9);
|
||||||
|
$pdf->filledRectangle($pdf->ez['leftMargin'],$pdf->y-$pdf->getFontHeight(18)+$pdf->getFontDecender(18),$pdf->ez['pageWidth']-$pdf->ez['leftMargin']-$pdf->ez['rightMargin'],$pdf->getFontHeight(18));
|
||||||
|
$pdf->restoreState();
|
||||||
|
$pdf->ezText($tmp2,18,array('justification'=>'left'));
|
||||||
|
if ($pdf->ezPageCount==$thisPageNum){
|
||||||
|
$pdf->transaction('commit');
|
||||||
|
$ok=1;
|
||||||
|
} else {
|
||||||
|
// then we have moved onto a new page, bad bad, as the background colour will be on the old one
|
||||||
|
$pdf->transaction('rewind');
|
||||||
|
$pdf->ezNewPage();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
// then this is just text
|
||||||
|
// the ezpdf function will take care of all of the wrapping etc.
|
||||||
|
$pdf->ezText($line,$size,$textOptions);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
$pdf->ezStopPageNumbers(1,1);
|
||||||
|
|
||||||
|
// now add the table of contents, including internal links
|
||||||
|
$pdf->ezInsertMode(1,1,'after');
|
||||||
|
$pdf->ezNewPage();
|
||||||
|
$pdf->ezText("Contents\n",26,array('justification'=>'centre'));
|
||||||
|
$xpos = 520;
|
||||||
|
$contents = $pdf->reportContents;
|
||||||
|
foreach($contents as $k=>$v){
|
||||||
|
switch ($v[2]){
|
||||||
|
case '1':
|
||||||
|
$y=$pdf->ezText('<c:ilink:toc'.$k.'>'.$v[0].'</c:ilink><C:dots:1'.$v[1].'>',16,array('aright'=>$xpos));
|
||||||
|
// $y=$pdf->ezText($v[0].'<C:dots:1'.$v[1].'>',16,array('aright'=>$xpos));
|
||||||
|
break;
|
||||||
|
case '2':
|
||||||
|
$pdf->ezText('<c:ilink:toc'.$k.'>'.$v[0].'</c:ilink><C:dots:2'.$v[1].'>',12,array('left'=>50,'aright'=>$xpos));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (isset($d) && $d){
|
||||||
|
$pdfcode = $pdf->ezOutput(1);
|
||||||
|
$pdfcode = str_replace("\n","\n<br>",htmlspecialchars($pdfcode));
|
||||||
|
echo '<html><body>';
|
||||||
|
echo trim($pdfcode);
|
||||||
|
echo '</body></html>';
|
||||||
|
} else {
|
||||||
|
$pdf->ezStream();
|
||||||
|
}
|
||||||
|
?>
|
||||||
BIN
addon/ros.jpg
Normal file
BIN
addon/ros.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
1
backup-db
Normal file
1
backup-db
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
/opt/psql732/bin/pg_dump -Z 9 -O account_repository > backup_db/db-`date '+%y%m%d-%H%M%S'`
|
||||||
1
cvs-set
Normal file
1
cvs-set
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
CVSROOT=/home/danpo/CVSDIR
|
||||||
BIN
doc/installation.sxw
Normal file
BIN
doc/installation.sxw
Normal file
Binary file not shown.
BIN
doc/manual.sxw
Normal file
BIN
doc/manual.sxw
Normal file
Binary file not shown.
41
doc/php.ini-minimum
Normal file
41
doc/php.ini-minimum
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
[PHP]
|
||||||
|
include_path=../include:.:/opt/php431/lib/php
|
||||||
|
; ******************************************************
|
||||||
|
; Normalement register_global est mis a off *
|
||||||
|
; J'ai du le modifier a cause du projet GNU Compta *
|
||||||
|
; ******************************************************
|
||||||
|
register_globals = on
|
||||||
|
[Session]
|
||||||
|
session.save_handler = files ; handler used to store/retrieve data
|
||||||
|
session.save_path = /tmp ; argument passed to save_handler
|
||||||
|
; in the case of files, this is the
|
||||||
|
; path where data files are stored
|
||||||
|
session.use_cookies = 1 ; whether to use cookies
|
||||||
|
session.name = PHPSESSID
|
||||||
|
; name of the session
|
||||||
|
; is used as cookie name
|
||||||
|
session.auto_start = 1 ; initialize session on request startup
|
||||||
|
session.cookie_lifetime = 0 ; lifetime in seconds of cookie
|
||||||
|
; or if 0, until browser is restarted
|
||||||
|
session.cookie_path = /tmp ; the path the cookie is valid for
|
||||||
|
session.cookie_domain = ; the domain the cookie is valid for
|
||||||
|
session.serialize_handler = php ; handler used to serialize data
|
||||||
|
; php is the standard serializer of PHP
|
||||||
|
session.gc_probability = 1 ; percentual probability that the
|
||||||
|
; 'garbage collection' process is started
|
||||||
|
; on every session initialization
|
||||||
|
session.gc_maxlifetime = 1440 ; after this number of seconds, stored
|
||||||
|
; data will be seen as 'garbage' and
|
||||||
|
; cleaned up by the gc process
|
||||||
|
session.referer_check = ; check HTTP Referer to invalidate
|
||||||
|
; externally stored URLs containing ids
|
||||||
|
session.entropy_length = 0 ; how many bytes to read from the file
|
||||||
|
session.entropy_file = ; specified here to create the session id
|
||||||
|
; session.entropy_length = 16
|
||||||
|
; session.entropy_file = /dev/urandom
|
||||||
|
session.cache_limiter = nocache ; set to {nocache,private,public} to
|
||||||
|
; determine HTTP caching aspects
|
||||||
|
session.cache_expire = 180 ; document expires after n minutes
|
||||||
|
session.use_trans_sid = 1 ; use transient sid support if enabled
|
||||||
|
; by compiling with --enable-trans-sid
|
||||||
|
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
|
||||||
148
html/admin_repo.php
Normal file
148
html/admin_repo.php
Normal file
|
|
@ -0,0 +1,148 @@
|
||||||
|
<?
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
|
||||||
|
include_once("ac_common.php");
|
||||||
|
include_once("postgres.php");
|
||||||
|
include_once("debug.php");
|
||||||
|
html_page_start();
|
||||||
|
echo_debug("entering admin_repo");
|
||||||
|
echo_debug("user $user");
|
||||||
|
|
||||||
|
CheckUser();
|
||||||
|
if (CheckAdmin() != 1) {
|
||||||
|
html_page_stop();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
include ("top_menu_compta.php");
|
||||||
|
//ShowMenu(0,"<A class=\"mtitle\" HREF=\"login.php\"> Dossier </A>");
|
||||||
|
if ( ! isset ($g_dossier) ) $g_dossier=0;
|
||||||
|
ShowMenuAdminGlobalRight($g_dossier);
|
||||||
|
?>
|
||||||
|
<TABLE>
|
||||||
|
<TR>
|
||||||
|
<TD> User Management </TD>
|
||||||
|
</TR>
|
||||||
|
<TR> <table border=2>
|
||||||
|
<?
|
||||||
|
// check and add an user (see form below)
|
||||||
|
if ( isset ($_POST["LOGIN"]) ) {
|
||||||
|
$cn=DbConnect();
|
||||||
|
$pass5=md5($PASS);
|
||||||
|
$Res=ExecSql($cn,"insert into ac_users(use_first_name,use_name,use_login,use_active,use_pass)
|
||||||
|
values ('".$_POST["FNAME"]."','".$_POST["LNAME"]."','".$_POST["LOGIN"]."',1,'$pass5')");
|
||||||
|
}
|
||||||
|
// check and add an new folder
|
||||||
|
if ( isset ($_POST["DATABASE"]) ) {
|
||||||
|
$cn=DbConnect();
|
||||||
|
$dos=trim($_POST["DATABASE"]);
|
||||||
|
$desc=FormatString($_POST["DESCRIPTION"]);
|
||||||
|
$Res=ExecSql($cn,"insert into ac_dossier(dos_name,dos_description)
|
||||||
|
values ('".$dos."','$desc')");
|
||||||
|
// If the id is not null, name successfully inserted
|
||||||
|
// Database created
|
||||||
|
$l_id=GetDbId($dos);
|
||||||
|
if ( $l_id != 0) {
|
||||||
|
$Sql=sprintf("CREATE DATABASE DOSSIER%d encoding='ISO8859-1' TEMPLATE templ_account",$l_id);
|
||||||
|
echo_debug($Sql);
|
||||||
|
ExecSql($cn,$Sql);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Show all the existing user on 7 columns
|
||||||
|
$cn=GetAllUser();
|
||||||
|
echo_debug("Array = $cn");
|
||||||
|
$compteur=0;
|
||||||
|
if ( $cn != null ) {
|
||||||
|
foreach ( $cn as $rUser) {
|
||||||
|
$compteur++;
|
||||||
|
if ( $compteur==0 ) echo "<TR>";
|
||||||
|
if ( $compteur%3 == 0) echo "</TR><TR>";
|
||||||
|
if ( $rUser['use_active'] == 0 ) {
|
||||||
|
$Active="not actif";
|
||||||
|
} else {
|
||||||
|
$Active="";
|
||||||
|
}
|
||||||
|
printf('<TD><A HREF=priv_user.php?UID=%s> %s %s ( %s )</A> %s </TD>',
|
||||||
|
$rUser['use_id'],
|
||||||
|
$rUser['use_first_name'],
|
||||||
|
$rUser['use_name'],
|
||||||
|
$rUser['use_login'],
|
||||||
|
$Active);
|
||||||
|
}
|
||||||
|
echo "</TR>";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<TR COLSPAN=7> <TABLE> <TR>
|
||||||
|
<form action="admin_repo.php" method="POST">
|
||||||
|
<TD>Add User</TD></TR>
|
||||||
|
<?
|
||||||
|
echo '<TR><TD> First Name </TD><TD><INPUT TYPE="TEXT" NAME="FNAME"></TD>';
|
||||||
|
echo '<TD> Last Name </TD><TD><INPUT TYPE="TEXT" NAME="LNAME"></TD></TR>';
|
||||||
|
echo '<TR><TD> login </TD><TD><INPUT TYPE="TEXT" NAME="LOGIN"></TD>';
|
||||||
|
echo '<TD> password </TD><TD> <INPUT TYPE="TEXT" NAME="PASS"></TD></TR>';
|
||||||
|
echo '<TD> <INPUT TYPE="SUBMIT" Value="Create user" NAME="ADD"></TD>';
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
|
</FORM>
|
||||||
|
</TR></TABLE></TR>
|
||||||
|
|
||||||
|
<TABLE>
|
||||||
|
<TR><TD>
|
||||||
|
Dossier Management</TD>
|
||||||
|
</TR>
|
||||||
|
<TR>
|
||||||
|
<TABLE BORDER=1>
|
||||||
|
<?
|
||||||
|
$cn=DbConnect();
|
||||||
|
$Res=ShowDossier('all');
|
||||||
|
$compteur=1;
|
||||||
|
if ( $Res != null ) {
|
||||||
|
echo "<TR>";
|
||||||
|
foreach ( $Res as $Dossier) {
|
||||||
|
|
||||||
|
if ( $compteur%5 == 0 ) echo "</TR><TR>";
|
||||||
|
echo "<TD VALIGN=\"TOP\"> <B>$Dossier[dos_name]</B> <BR><I> $Dossier[dos_description]</I></TD>";
|
||||||
|
$compteur++;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "</TR>";
|
||||||
|
}
|
||||||
|
// Add a new folder
|
||||||
|
?>
|
||||||
|
<TR COLSPAN=2>
|
||||||
|
<TABLE>
|
||||||
|
<FORM ACTION="admin_repo.php" METHOD="POST">
|
||||||
|
<TD> Name <INPUT TYPE="TEXT" NAME="DATABASE"> </TD>
|
||||||
|
<TD> Description <INPUT TYPE="TEXT" NAME="DESCRIPTION" SIZE="30"> </TD>
|
||||||
|
<TD> <INPUT TYPE=SUBMIT VALUE="Create Folder"></TD>
|
||||||
|
</FORM>
|
||||||
|
</TR>
|
||||||
|
</TABLE>
|
||||||
|
</TABLE>
|
||||||
|
</TD></TR>
|
||||||
|
</TABLE>
|
||||||
|
|
||||||
|
<?
|
||||||
|
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
72
html/calculator.js
Normal file
72
html/calculator.js
Normal file
|
|
@ -0,0 +1,72 @@
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
<!-- ONE STEP TO INSTALL BASIC CALCULATOR:
|
||||||
|
|
||||||
|
1. Paste the coding into the BODY of your HTML document -->
|
||||||
|
|
||||||
|
<!-- STEP ONE: Copy this code into the BODY of your HTML document -->
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
|
<CENTER>
|
||||||
|
<FORM NAME="Calc">
|
||||||
|
|
||||||
|
<!-- This script and many more are available free online at -->
|
||||||
|
<!-- The JavaScript Source!! http://javascript.internet.com -->
|
||||||
|
|
||||||
|
<TABLE BORDER=4>
|
||||||
|
<TR>
|
||||||
|
<TD>
|
||||||
|
<INPUT TYPE="text" NAME="Input" Size="16">
|
||||||
|
<br>
|
||||||
|
</TD>
|
||||||
|
</TR>
|
||||||
|
<TR>
|
||||||
|
<TD>
|
||||||
|
<INPUT TYPE="button" NAME="one" VALUE=" 1 " OnClick="Calc.Input.value += '1'">
|
||||||
|
<INPUT TYPE="button" NAME="two" VALUE=" 2 " OnCLick="Calc.Input.value += '2'">
|
||||||
|
<INPUT TYPE="button" NAME="three" VALUE=" 3 " OnClick="Calc.Input.value += '3'">
|
||||||
|
<INPUT TYPE="button" NAME="plus" VALUE=" + " OnClick="Calc.Input.value += ' + '">
|
||||||
|
<br>
|
||||||
|
<INPUT TYPE="button" NAME="four" VALUE=" 4 " OnClick="Calc.Input.value += '4'">
|
||||||
|
<INPUT TYPE="button" NAME="five" VALUE=" 5 " OnCLick="Calc.Input.value += '5'">
|
||||||
|
<INPUT TYPE="button" NAME="six" VALUE=" 6 " OnClick="Calc.Input.value += '6'">
|
||||||
|
<INPUT TYPE="button" NAME="minus" VALUE=" - " OnClick="Calc.Input.value += ' - '">
|
||||||
|
<br>
|
||||||
|
<INPUT TYPE="button" NAME="seven" VALUE=" 7 " OnClick="Calc.Input.value += '7'">
|
||||||
|
<INPUT TYPE="button" NAME="eight" VALUE=" 8 " OnCLick="Calc.Input.value += '8'">
|
||||||
|
<INPUT TYPE="button" NAME="nine" VALUE=" 9 " OnClick="Calc.Input.value += '9'">
|
||||||
|
<INPUT TYPE="button" NAME="times" VALUE=" x " OnClick="Calc.Input.value += ' * '">
|
||||||
|
<br>
|
||||||
|
<INPUT TYPE="button" NAME="clear" VALUE=" c " OnClick="Calc.Input.value = ''">
|
||||||
|
<INPUT TYPE="button" NAME="zero" VALUE=" 0 " OnClick="Calc.Input.value += '0'">
|
||||||
|
<INPUT TYPE="button" NAME="DoIt" VALUE=" = " OnClick="Calc.Input.value = eval(Calc.Input.value)">
|
||||||
|
<INPUT TYPE="button" NAME="div" VALUE=" / " OnClick="Calc.Input.value += ' / '">
|
||||||
|
<br>
|
||||||
|
</TD>
|
||||||
|
</TR>
|
||||||
|
</TABLE>
|
||||||
|
</FORM>
|
||||||
|
</CENTER>
|
||||||
|
|
||||||
|
<p><center>
|
||||||
|
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
|
||||||
|
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
|
||||||
|
</center><p>
|
||||||
|
|
||||||
|
<!-- Script Size: 1.89 KB -->
|
||||||
629
html/calendar.js
Normal file
629
html/calendar.js
Normal file
|
|
@ -0,0 +1,629 @@
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
<!-- TWO STEPS TO INSTALL DATE PICKER:
|
||||||
|
|
||||||
|
1. Copy the coding into the HEAD of your HTML document
|
||||||
|
2. Add the last code into the BODY of your HTML document -->
|
||||||
|
|
||||||
|
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
|
||||||
|
|
||||||
|
<HEAD>
|
||||||
|
|
||||||
|
<!-- This script and many more are available free online at -->
|
||||||
|
<!-- The JavaScript Source!! http://javascript.internet.com -->
|
||||||
|
<!-- Original: James O'Connor (joconnor@nordenterprises.com) -->
|
||||||
|
<!-- Web Site: http://nordenterprises.com -->
|
||||||
|
<script language="JavaScript">
|
||||||
|
<!-- Original: Kedar R. Bhave (softricks@hotmail.com) -->
|
||||||
|
<!-- Web Site: http://www.softricks.com -->
|
||||||
|
<!-- This script and many more are available free online at -->
|
||||||
|
<!-- The JavaScript Source!! http://javascript.internet.com -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- modifications and customizations to work with the "overLIB" library: -->
|
||||||
|
<!-- Author: James B. O'Connor (joconnor@nordenterprises.com) -->
|
||||||
|
<!-- Web Site: http://www.nordenterprises.com -->
|
||||||
|
<!-- developed for use with http://home-owners-assoc.com -->
|
||||||
|
<!-- Note: while overlib works fine with Netscape 4, this function does not work very well, since portions of the "over" div -->
|
||||||
|
<!-- end up under other fields on the form and cannot be seen. If you really want to use this with NS4, -->
|
||||||
|
<!-- you'll need to change the positioning in the overlib() call to make sure the "over" div gets positioned -->
|
||||||
|
<!-- away from all other form fields -->
|
||||||
|
<!-- you can get overLIB from: -->
|
||||||
|
//\ overLIB 3.50 -- This notice must remain untouched at all times.
|
||||||
|
//\ Copyright Erik Bosrup 1998-2001. All rights reserved.
|
||||||
|
//\ By Erik Bosrup (erik@bosrup.com). Last modified 2001-08-28.
|
||||||
|
//\ Portions by Dan Steinman (dansteinman.com). Additions by other people are
|
||||||
|
//\ listed on the overLIB homepage.
|
||||||
|
//\ Get the latest version at http://www.bosrup.com/web/overlib/
|
||||||
|
|
||||||
|
var weekend = [0,6];
|
||||||
|
var weekendColor = "#e0e0e0";
|
||||||
|
var fontface = "Verdana";
|
||||||
|
var fontsize = 8; // in "pt" units; used with "font-size" style element
|
||||||
|
|
||||||
|
var gNow = new Date();
|
||||||
|
var ggWinContent;
|
||||||
|
var ggPosX = -1;
|
||||||
|
var ggPosY = -1;
|
||||||
|
|
||||||
|
Calendar.Months = ["January", "February", "March", "April", "May", "June",
|
||||||
|
"July", "August", "September", "October", "November", "December"];
|
||||||
|
|
||||||
|
// Non-Leap year Month days..
|
||||||
|
Calendar.DOMonth = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
||||||
|
// Leap year Month days..
|
||||||
|
Calendar.lDOMonth = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
||||||
|
|
||||||
|
function Calendar(p_item, p_month, p_year, p_format) {
|
||||||
|
if ((p_month == null) && (p_year == null)) return;
|
||||||
|
|
||||||
|
if (p_month == null) {
|
||||||
|
this.gMonthName = null;
|
||||||
|
this.gMonth = null;
|
||||||
|
this.gYearly = true;
|
||||||
|
} else {
|
||||||
|
this.gMonthName = Calendar.get_month(p_month);
|
||||||
|
this.gMonth = new Number(p_month);
|
||||||
|
this.gYearly = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.gYear = p_year;
|
||||||
|
this.gFormat = p_format;
|
||||||
|
this.gBGColor = "white";
|
||||||
|
this.gFGColor = "black";
|
||||||
|
this.gTextColor = "black";
|
||||||
|
this.gHeaderColor = "black";
|
||||||
|
this.gReturnItem = p_item;
|
||||||
|
}
|
||||||
|
|
||||||
|
Calendar.get_month = Calendar_get_month;
|
||||||
|
Calendar.get_daysofmonth = Calendar_get_daysofmonth;
|
||||||
|
Calendar.calc_month_year = Calendar_calc_month_year;
|
||||||
|
|
||||||
|
function Calendar_get_month(monthNo) {
|
||||||
|
return Calendar.Months[monthNo];
|
||||||
|
}
|
||||||
|
|
||||||
|
function Calendar_get_daysofmonth(monthNo, p_year) {
|
||||||
|
/*
|
||||||
|
Check for leap year ..
|
||||||
|
1.Years evenly divisible by four are normally leap years, except for...
|
||||||
|
2.Years also evenly divisible by 100 are not leap years, except for...
|
||||||
|
3.Years also evenly divisible by 400 are leap years.
|
||||||
|
*/
|
||||||
|
if ((p_year % 4) == 0) {
|
||||||
|
if ((p_year % 100) == 0 && (p_year % 400) != 0)
|
||||||
|
return Calendar.DOMonth[monthNo];
|
||||||
|
|
||||||
|
return Calendar.lDOMonth[monthNo];
|
||||||
|
} else
|
||||||
|
return Calendar.DOMonth[monthNo];
|
||||||
|
}
|
||||||
|
|
||||||
|
function Calendar_calc_month_year(p_Month, p_Year, incr) {
|
||||||
|
/*
|
||||||
|
Will return an 1-D array with 1st element being the calculated month
|
||||||
|
and second being the calculated year
|
||||||
|
after applying the month increment/decrement as specified by 'incr' parameter.
|
||||||
|
'incr' will normally have 1/-1 to navigate thru the months.
|
||||||
|
*/
|
||||||
|
var ret_arr = new Array();
|
||||||
|
|
||||||
|
if (incr == -1) {
|
||||||
|
// B A C K W A R D
|
||||||
|
if (p_Month == 0) {
|
||||||
|
ret_arr[0] = 11;
|
||||||
|
ret_arr[1] = parseInt(p_Year) - 1;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ret_arr[0] = parseInt(p_Month) - 1;
|
||||||
|
ret_arr[1] = parseInt(p_Year);
|
||||||
|
}
|
||||||
|
} else if (incr == 1) {
|
||||||
|
// F O R W A R D
|
||||||
|
if (p_Month == 11) {
|
||||||
|
ret_arr[0] = 0;
|
||||||
|
ret_arr[1] = parseInt(p_Year) + 1;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ret_arr[0] = parseInt(p_Month) + 1;
|
||||||
|
ret_arr[1] = parseInt(p_Year);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret_arr;
|
||||||
|
}
|
||||||
|
|
||||||
|
function Calendar_calc_month_year(p_Month, p_Year, incr) {
|
||||||
|
/*
|
||||||
|
Will return an 1-D array with 1st element being the calculated month
|
||||||
|
and second being the calculated year
|
||||||
|
after applying the month increment/decrement as specified by 'incr' parameter.
|
||||||
|
'incr' will normally have 1/-1 to navigate thru the months.
|
||||||
|
*/
|
||||||
|
var ret_arr = new Array();
|
||||||
|
|
||||||
|
if (incr == -1) {
|
||||||
|
// B A C K W A R D
|
||||||
|
if (p_Month == 0) {
|
||||||
|
ret_arr[0] = 11;
|
||||||
|
ret_arr[1] = parseInt(p_Year) - 1;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ret_arr[0] = parseInt(p_Month) - 1;
|
||||||
|
ret_arr[1] = parseInt(p_Year);
|
||||||
|
}
|
||||||
|
} else if (incr == 1) {
|
||||||
|
// F O R W A R D
|
||||||
|
if (p_Month == 11) {
|
||||||
|
ret_arr[0] = 0;
|
||||||
|
ret_arr[1] = parseInt(p_Year) + 1;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ret_arr[0] = parseInt(p_Month) + 1;
|
||||||
|
ret_arr[1] = parseInt(p_Year);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret_arr;
|
||||||
|
}
|
||||||
|
|
||||||
|
// This is for compatibility with Navigator 3, we have to create and discard one object before the prototype object exists.
|
||||||
|
new Calendar();
|
||||||
|
|
||||||
|
Calendar.prototype.getMonthlyCalendarCode = function() {
|
||||||
|
var vCode = "";
|
||||||
|
var vHeader_Code = "";
|
||||||
|
var vData_Code = "";
|
||||||
|
|
||||||
|
// Begin Table Drawing code here..
|
||||||
|
vCode += ("<div align=center><TABLE BORDER=1 BGCOLOR=\"" + this.gBGColor + "\" style='font-size:" + fontsize + "pt;'>");
|
||||||
|
|
||||||
|
vHeader_Code = this.cal_header();
|
||||||
|
vData_Code = this.cal_data();
|
||||||
|
vCode += (vHeader_Code + vData_Code);
|
||||||
|
|
||||||
|
vCode += "</TABLE></div>";
|
||||||
|
|
||||||
|
return vCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
Calendar.prototype.show = function() {
|
||||||
|
var vCode = "";
|
||||||
|
|
||||||
|
// build content into global var ggWinContent
|
||||||
|
ggWinContent += ("<FONT FACE='" + fontface + "' ><B>");
|
||||||
|
ggWinContent += (this.gMonthName + " " + this.gYear);
|
||||||
|
ggWinContent += "</B><BR>";
|
||||||
|
|
||||||
|
// Show navigation buttons
|
||||||
|
var prevMMYYYY = Calendar.calc_month_year(this.gMonth, this.gYear, -1);
|
||||||
|
var prevMM = prevMMYYYY[0];
|
||||||
|
var prevYYYY = prevMMYYYY[1];
|
||||||
|
|
||||||
|
var nextMMYYYY = Calendar.calc_month_year(this.gMonth, this.gYear, 1);
|
||||||
|
var nextMM = nextMMYYYY[0];
|
||||||
|
var nextYYYY = nextMMYYYY[1];
|
||||||
|
|
||||||
|
ggWinContent += ("<TABLE WIDTH='100%' BORDER=1 CELLSPACING=0 CELLPADDING=0 BGCOLOR='#e0e0e0' style='font-size:" + fontsize + "pt;'><TR><TD ALIGN=center>");
|
||||||
|
ggWinContent += ("[<A HREF=\"javascript:void(0);\" " +
|
||||||
|
"onMouseOver=\"window.status='Go back one year'; return true;\" " +
|
||||||
|
"onMouseOut=\"window.status=''; return true;\" " +
|
||||||
|
"onClick=\"Build(" +
|
||||||
|
"'" + this.gReturnItem + "', '" + this.gMonth + "', '" + (parseInt(this.gYear)-1) + "', '" + this.gFormat + "'" +
|
||||||
|
");" +
|
||||||
|
"\"><<Year<\/A>]</TD><TD ALIGN=center>");
|
||||||
|
ggWinContent += ("[<A HREF=\"javascript:void(0);\" " +
|
||||||
|
"onMouseOver=\"window.status='Go back one month'; return true;\" " +
|
||||||
|
"onMouseOut=\"window.status=''; return true;\" " +
|
||||||
|
"onClick=\"Build(" +
|
||||||
|
"'" + this.gReturnItem + "', '" + prevMM + "', '" + prevYYYY + "', '" + this.gFormat + "'" +
|
||||||
|
");" +
|
||||||
|
"\"><Mon<\/A>]</TD><TD ALIGN=center>");
|
||||||
|
ggWinContent += " </TD><TD ALIGN=center>";
|
||||||
|
ggWinContent += ("[<A HREF=\"javascript:void(0);\" " +
|
||||||
|
"onMouseOver=\"window.status='Go forward one month'; return true;\" " +
|
||||||
|
"onMouseOut=\"window.status=''; return true;\" " +
|
||||||
|
"onClick=\"Build(" +
|
||||||
|
"'" + this.gReturnItem + "', '" + nextMM + "', '" + nextYYYY + "', '" + this.gFormat + "'" +
|
||||||
|
");" +
|
||||||
|
"\">Mon><\/A>]</TD><TD ALIGN=center>");
|
||||||
|
ggWinContent += ("[<A HREF=\"javascript:void(0);\" " +
|
||||||
|
"onMouseOver=\"window.status='Go forward one year'; return true;\" " +
|
||||||
|
"onMouseOut=\"window.status=''; return true;\" " +
|
||||||
|
"onClick=\"Build(" +
|
||||||
|
"'" + this.gReturnItem + "', '" + this.gMonth + "', '" + (parseInt(this.gYear)+1) + "', '" + this.gFormat + "'" +
|
||||||
|
");" +
|
||||||
|
"\">Year>><\/A>]</TD></TR></TABLE><BR>");
|
||||||
|
|
||||||
|
// Get the complete calendar code for the month, and add it to the
|
||||||
|
// content var
|
||||||
|
vCode = this.getMonthlyCalendarCode();
|
||||||
|
ggWinContent += vCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
Calendar.prototype.showY = function() {
|
||||||
|
var vCode = "";
|
||||||
|
var i;
|
||||||
|
|
||||||
|
ggWinContent += "<FONT FACE='" + fontface + "' ><B>"
|
||||||
|
ggWinContent += ("Year : " + this.gYear);
|
||||||
|
ggWinContent += "</B><BR>";
|
||||||
|
|
||||||
|
// Show navigation buttons
|
||||||
|
var prevYYYY = parseInt(this.gYear) - 1;
|
||||||
|
var nextYYYY = parseInt(this.gYear) + 1;
|
||||||
|
|
||||||
|
ggWinContent += ("<TABLE WIDTH='100%' BORDER=1 CELLSPACING=0 CELLPADDING=0 BGCOLOR='#e0e0e0' style='font-size:" + fontsize + "pt;'><TR><TD ALIGN=center>");
|
||||||
|
ggWinContent += ("[<A HREF=\"javascript:void(0);\" " +
|
||||||
|
"onMouseOver=\"window.status='Go back one year'; return true;\" " +
|
||||||
|
"onMouseOut=\"window.status=''; return true;\" " +
|
||||||
|
"onClick=\"Build(" +
|
||||||
|
"'" + this.gReturnItem + "', null, '" + prevYYYY + "', '" + this.gFormat + "'" +
|
||||||
|
");" +
|
||||||
|
"\"><<Year<\/A>]</TD><TD ALIGN=center>");
|
||||||
|
ggWinContent += " </TD><TD ALIGN=center>";
|
||||||
|
ggWinContent += ("[<A HREF=\"javascript:void(0);\" " +
|
||||||
|
"onMouseOver=\"window.status='Go forward one year'; return true;\" " +
|
||||||
|
"onMouseOut=\"window.status=''; return true;\" " +
|
||||||
|
"onClick=\"Build(" +
|
||||||
|
"'" + this.gReturnItem + "', null, '" + nextYYYY + "', '" + this.gFormat + "'" +
|
||||||
|
");" +
|
||||||
|
"\">Year>><\/A>]</TD></TR></TABLE><BR>");
|
||||||
|
|
||||||
|
// Get the complete calendar code for each month.
|
||||||
|
// start a table and first row in the table
|
||||||
|
ggWinContent += ("<TABLE WIDTH='100%' BORDER=0 CELLSPACING=0 CELLPADDING=5 style='font-size:" + fontsize + "pt;'><TR>");
|
||||||
|
var j;
|
||||||
|
for (i=0; i<12; i++) {
|
||||||
|
// start the table cell
|
||||||
|
ggWinContent += "<TD ALIGN='center' VALIGN='top'>";
|
||||||
|
this.gMonth = i;
|
||||||
|
this.gMonthName = Calendar.get_month(this.gMonth);
|
||||||
|
vCode = this.getMonthlyCalendarCode();
|
||||||
|
ggWinContent += (this.gMonthName + "/" + this.gYear + "<BR>");
|
||||||
|
ggWinContent += vCode;
|
||||||
|
ggWinContent += "</TD>";
|
||||||
|
if (i == 3 || i == 7) {
|
||||||
|
ggWinContent += "</TR><TR>";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
ggWinContent += "</TR></TABLE></font><BR>";
|
||||||
|
}
|
||||||
|
|
||||||
|
Calendar.prototype.cal_header = function() {
|
||||||
|
var vCode = "";
|
||||||
|
|
||||||
|
vCode = vCode + "<TR>";
|
||||||
|
vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Sun</B></FONT></TD>";
|
||||||
|
vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Mon</B></FONT></TD>";
|
||||||
|
vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Tue</B></FONT></TD>";
|
||||||
|
vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Wed</B></FONT></TD>";
|
||||||
|
vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Thu</B></FONT></TD>";
|
||||||
|
vCode = vCode + "<TD WIDTH='14%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Fri</B></FONT></TD>";
|
||||||
|
vCode = vCode + "<TD WIDTH='16%'><FONT FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Sat</B></FONT></TD>";
|
||||||
|
vCode = vCode + "</TR>";
|
||||||
|
|
||||||
|
return vCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
Calendar.prototype.cal_data = function() {
|
||||||
|
var vDate = new Date();
|
||||||
|
vDate.setDate(1);
|
||||||
|
vDate.setMonth(this.gMonth);
|
||||||
|
vDate.setFullYear(this.gYear);
|
||||||
|
|
||||||
|
var vFirstDay=vDate.getDay();
|
||||||
|
var vDay=1;
|
||||||
|
var vLastDay=Calendar.get_daysofmonth(this.gMonth, this.gYear);
|
||||||
|
var vOnLastDay=0;
|
||||||
|
var vCode = "";
|
||||||
|
|
||||||
|
/*
|
||||||
|
Get day for the 1st of the requested month/year..
|
||||||
|
Place as many blank cells before the 1st day of the month as necessary.
|
||||||
|
*/
|
||||||
|
vCode = vCode + "<TR>";
|
||||||
|
for (i=0; i<vFirstDay; i++) {
|
||||||
|
vCode = vCode + "<TD WIDTH='14%'" + this.write_weekend_string(i) + "><FONT FACE='" + fontface + "'> </FONT></TD>";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Write rest of the 1st week
|
||||||
|
for (j=vFirstDay; j<7; j++) {
|
||||||
|
vCode = vCode + "<TD WIDTH='14%'" + this.write_weekend_string(j) + "><FONT FACE='" + fontface + "'>" +
|
||||||
|
"<A HREF='javascript:void(0);' " +
|
||||||
|
"onMouseOver=\"window.status='set date to " + this.format_data(vDay) + "'; return true;\" " +
|
||||||
|
"onMouseOut=\"window.status=' '; return true;\" " +
|
||||||
|
"onClick=\"document." + this.gReturnItem + ".value='" +
|
||||||
|
this.format_data(vDay) +
|
||||||
|
"';ggPosX=-1;ggPosY=-1;nd();nd();\">" +
|
||||||
|
this.format_day(vDay) +
|
||||||
|
"</A>" +
|
||||||
|
"</FONT></TD>";
|
||||||
|
vDay=vDay + 1;
|
||||||
|
}
|
||||||
|
vCode = vCode + "</TR>";
|
||||||
|
|
||||||
|
// Write the rest of the weeks
|
||||||
|
for (k=2; k<7; k++) {
|
||||||
|
vCode = vCode + "<TR>";
|
||||||
|
|
||||||
|
for (j=0; j<7; j++) {
|
||||||
|
vCode = vCode + "<TD WIDTH='14%'" + this.write_weekend_string(j) + "><FONT FACE='" + fontface + "'>" +
|
||||||
|
"<A HREF='javascript:void(0);' " +
|
||||||
|
"onMouseOver=\"window.status='set date to " + this.format_data(vDay) + "'; return true;\" " +
|
||||||
|
"onMouseOut=\"window.status=' '; return true;\" " +
|
||||||
|
"onClick=\"document." + this.gReturnItem + ".value='" +
|
||||||
|
this.format_data(vDay) +
|
||||||
|
"';window.scroll(0,ggPosY);ggPosX=-1;ggPosY=-1;nd();nd();\">" +
|
||||||
|
this.format_day(vDay) +
|
||||||
|
"</A>" +
|
||||||
|
"</FONT></TD>";
|
||||||
|
vDay=vDay + 1;
|
||||||
|
|
||||||
|
if (vDay > vLastDay) {
|
||||||
|
vOnLastDay = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (j == 6)
|
||||||
|
vCode = vCode + "</TR>";
|
||||||
|
if (vOnLastDay == 1)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fill up the rest of last week with proper blanks, so that we get proper square blocks
|
||||||
|
for (m=1; m<(7-j); m++) {
|
||||||
|
if (this.gYearly)
|
||||||
|
vCode = vCode + "<TD WIDTH='14%'" + this.write_weekend_string(j+m) +
|
||||||
|
"><FONT FACE='" + fontface + "' COLOR='gray'> </FONT></TD>";
|
||||||
|
else
|
||||||
|
vCode = vCode + "<TD WIDTH='14%'" + this.write_weekend_string(j+m) +
|
||||||
|
"><FONT FACE='" + fontface + "' COLOR='gray'>" + m + "</FONT></TD>";
|
||||||
|
}
|
||||||
|
|
||||||
|
return vCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
Calendar.prototype.format_day = function(vday) {
|
||||||
|
var vNowDay = gNow.getDate();
|
||||||
|
var vNowMonth = gNow.getMonth();
|
||||||
|
var vNowYear = gNow.getFullYear();
|
||||||
|
|
||||||
|
if (vday == vNowDay && this.gMonth == vNowMonth && this.gYear == vNowYear)
|
||||||
|
return ("<FONT COLOR=\"RED\"><B>" + vday + "</B></FONT>");
|
||||||
|
else
|
||||||
|
return (vday);
|
||||||
|
}
|
||||||
|
|
||||||
|
Calendar.prototype.write_weekend_string = function(vday) {
|
||||||
|
var i;
|
||||||
|
|
||||||
|
// Return special formatting for the weekend day.
|
||||||
|
for (i=0; i<weekend.length; i++) {
|
||||||
|
if (vday == weekend[i])
|
||||||
|
return (" BGCOLOR=\"" + weekendColor + "\"");
|
||||||
|
}
|
||||||
|
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
Calendar.prototype.format_data = function(p_day) {
|
||||||
|
var vData;
|
||||||
|
var vMonth = 1 + this.gMonth;
|
||||||
|
vMonth = (vMonth.toString().length < 2) ? "0" + vMonth : vMonth;
|
||||||
|
var vMon = Calendar.get_month(this.gMonth).substr(0,3).toUpperCase();
|
||||||
|
var vFMon = Calendar.get_month(this.gMonth).toUpperCase();
|
||||||
|
var vY4 = new String(this.gYear);
|
||||||
|
var vY2 = new String(this.gYear.substr(2,2));
|
||||||
|
var vDD = (p_day.toString().length < 2) ? "0" + p_day : p_day;
|
||||||
|
|
||||||
|
switch (this.gFormat) {
|
||||||
|
case "MM\/DD\/YYYY" :
|
||||||
|
vData = vMonth + "\/" + vDD + "\/" + vY4;
|
||||||
|
break;
|
||||||
|
case "MM\/DD\/YY" :
|
||||||
|
vData = vMonth + "\/" + vDD + "\/" + vY2;
|
||||||
|
break;
|
||||||
|
case "MM-DD-YYYY" :
|
||||||
|
vData = vMonth + "-" + vDD + "-" + vY4;
|
||||||
|
break;
|
||||||
|
case "YYYY-MM-DD" :
|
||||||
|
vData = vY4 + "-" + vMonth + "-" + vDD;
|
||||||
|
break;
|
||||||
|
case "MM-DD-YY" :
|
||||||
|
vData = vMonth + "-" + vDD + "-" + vY2;
|
||||||
|
break;
|
||||||
|
case "DD\/MON\/YYYY" :
|
||||||
|
vData = vDD + "\/" + vMon + "\/" + vY4;
|
||||||
|
break;
|
||||||
|
case "DD\/MON\/YY" :
|
||||||
|
vData = vDD + "\/" + vMon + "\/" + vY2;
|
||||||
|
break;
|
||||||
|
case "DD-MON-YYYY" :
|
||||||
|
vData = vDD + "-" + vMon + "-" + vY4;
|
||||||
|
break;
|
||||||
|
case "DD-MON-YY" :
|
||||||
|
vData = vDD + "-" + vMon + "-" + vY2;
|
||||||
|
break;
|
||||||
|
case "DD\/MONTH\/YYYY" :
|
||||||
|
vData = vDD + "\/" + vFMon + "\/" + vY4;
|
||||||
|
break;
|
||||||
|
case "DD\/MONTH\/YY" :
|
||||||
|
vData = vDD + "\/" + vFMon + "\/" + vY2;
|
||||||
|
break;
|
||||||
|
case "DD-MONTH-YYYY" :
|
||||||
|
vData = vDD + "-" + vFMon + "-" + vY4;
|
||||||
|
break;
|
||||||
|
case "DD-MONTH-YY" :
|
||||||
|
vData = vDD + "-" + vFMon + "-" + vY2;
|
||||||
|
break;
|
||||||
|
case "DD\/MM\/YYYY" :
|
||||||
|
vData = vDD + "\/" + vMonth + "\/" + vY4;
|
||||||
|
break;
|
||||||
|
case "DD\/MM\/YY" :
|
||||||
|
vData = vDD + "\/" + vMonth + "\/" + vY2;
|
||||||
|
break;
|
||||||
|
case "DD-MM-YYYY" :
|
||||||
|
vData = vDD + "-" + vMonth + "-" + vY4;
|
||||||
|
break;
|
||||||
|
case "DD-MM-YY" :
|
||||||
|
vData = vDD + "-" + vMonth + "-" + vY2;
|
||||||
|
break;
|
||||||
|
default :
|
||||||
|
vData = vMonth + "\/" + vDD + "\/" + vY4;
|
||||||
|
}
|
||||||
|
|
||||||
|
return vData;
|
||||||
|
}
|
||||||
|
|
||||||
|
function Build(p_item, p_month, p_year, p_format) {
|
||||||
|
gCal = new Calendar(p_item, p_month, p_year, p_format);
|
||||||
|
|
||||||
|
// Customize your Calendar here..
|
||||||
|
gCal.gBGColor="white";
|
||||||
|
gCal.gLinkColor="black";
|
||||||
|
gCal.gTextColor="black";
|
||||||
|
gCal.gHeaderColor="darkgreen";
|
||||||
|
|
||||||
|
// initialize the content string
|
||||||
|
ggWinContent = "";
|
||||||
|
|
||||||
|
// Choose appropriate show function
|
||||||
|
if (gCal.gYearly) {
|
||||||
|
// and, since the yearly calendar is so large, override the positioning and fontsize
|
||||||
|
// warning: in IE6, it appears that "select" fields on the form will still show
|
||||||
|
// through the "over" div; Note: you can set these variables as part of the onClick
|
||||||
|
// javascript code before you call the show_yearly_calendar function
|
||||||
|
if (ggPosX == -1) ggPosX = 10;
|
||||||
|
if (ggPosY == -1) ggPosY = 10;
|
||||||
|
if (fontsize == 8) fontsize = 6;
|
||||||
|
// generate the calendar
|
||||||
|
gCal.showY();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
gCal.show();
|
||||||
|
}
|
||||||
|
|
||||||
|
// if this is the first calendar popup, use autopositioning with an offset
|
||||||
|
if (ggPosX == -1 && ggPosY == -1) {
|
||||||
|
overlib(ggWinContent, AUTOSTATUSCAP, STICKY, CLOSECLICK, CSSSTYLE,
|
||||||
|
TEXTSIZEUNIT, "pt", TEXTSIZE, 8, CAPTIONSIZEUNIT, "pt", CAPTIONSIZE, 8, CLOSESIZEUNIT, "pt", CLOSESIZE, 8,
|
||||||
|
CAPTION, "Select a date", OFFSETX, 20, OFFSETY, -20);
|
||||||
|
// save where the 'over' div ended up; we want to stay in the same place if the user
|
||||||
|
// clicks on one of the year or month navigation links
|
||||||
|
if ( (ns4) || (ie4) ) {
|
||||||
|
ggPosX = parseInt(over.left);
|
||||||
|
ggPosY = parseInt(over.top);
|
||||||
|
} else if (ns6) {
|
||||||
|
ggPosX = parseInt(over.style.left);
|
||||||
|
ggPosY = parseInt(over.style.top);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
// we have a saved X & Y position, so use those with the FIXX and FIXY options
|
||||||
|
overlib(ggWinContent, AUTOSTATUSCAP, STICKY, CLOSECLICK, CSSSTYLE,
|
||||||
|
TEXTSIZEUNIT, "pt", TEXTSIZE, 8, CAPTIONSIZEUNIT, "pt", CAPTIONSIZE, 8, CLOSESIZEUNIT, "pt", CLOSESIZE, 8,
|
||||||
|
CAPTION, "Select a date", FIXX, ggPosX, FIXY, ggPosY);
|
||||||
|
}
|
||||||
|
window.scroll(ggPosX, ggPosY);
|
||||||
|
}
|
||||||
|
|
||||||
|
function show_calendar() {
|
||||||
|
/*
|
||||||
|
p_month : 0-11 for Jan-Dec; 12 for All Months.
|
||||||
|
p_year : 4-digit year
|
||||||
|
p_format: Date format (mm/dd/yyyy, dd/mm/yy, ...)
|
||||||
|
p_item : Return Item.
|
||||||
|
*/
|
||||||
|
|
||||||
|
p_item = arguments[0];
|
||||||
|
if (arguments[1] == null)
|
||||||
|
p_month = new String(gNow.getMonth());
|
||||||
|
else
|
||||||
|
p_month = arguments[1];
|
||||||
|
if (arguments[2] == "" || arguments[2] == null)
|
||||||
|
p_year = new String(gNow.getFullYear().toString());
|
||||||
|
else
|
||||||
|
p_year = arguments[2];
|
||||||
|
if (arguments[3] == null)
|
||||||
|
p_format = "YYYY-MM-DD";
|
||||||
|
else
|
||||||
|
p_format = arguments[3];
|
||||||
|
|
||||||
|
Build(p_item, p_month, p_year, p_format);
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Yearly Calendar Code Starts here
|
||||||
|
*/
|
||||||
|
function show_yearly_calendar() {
|
||||||
|
// Load the defaults..
|
||||||
|
//if (p_year == null || p_year == "")
|
||||||
|
// p_year = new String(gNow.getFullYear().toString());
|
||||||
|
//if (p_format == null || p_format == "")
|
||||||
|
// p_format = "YYYY-MM-DD";
|
||||||
|
|
||||||
|
p_item = arguments[0];
|
||||||
|
if (arguments[1] == "" || arguments[1] == null)
|
||||||
|
p_year = new String(gNow.getFullYear().toString());
|
||||||
|
else
|
||||||
|
p_year = arguments[1];
|
||||||
|
if (arguments[2] == null)
|
||||||
|
p_format = "YYYY-MM-DD";
|
||||||
|
else
|
||||||
|
p_format = arguments[2];
|
||||||
|
|
||||||
|
Build(p_item, null, p_year, p_format);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script language="JavaScript" src="overlib_mini.js"></script>
|
||||||
|
</HEAD>
|
||||||
|
|
||||||
|
<!-- STEP TWO: Copy this code into the BODY of your HTML document -->
|
||||||
|
|
||||||
|
<BODY>
|
||||||
|
|
||||||
|
<!-- This script and many more are available free online at -->
|
||||||
|
<!-- The JavaScript Source!! http://javascript.internet.com -->
|
||||||
|
<!-- Original: James O'Connor (joconnor@nordenterprises.com) -->
|
||||||
|
<!-- Web Site: http://nordenterprises.com -->
|
||||||
|
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
|
||||||
|
<p>Pop-up calendar sample page:</p>
|
||||||
|
<form name="sample" method="post" action="popupcalsample.html">
|
||||||
|
<p>Beginning date: <input type="text" name="T1" size="20">
|
||||||
|
<!-- ggPosX and ggPosY not set, so popup will autolocate to the right of the graphic -->
|
||||||
|
<a href="javascript:show_calendar('sample.T1');" onMouseOver="window.status='Date Picker'; overlib('Click here to choose a date from a one month pop-up calendar.'); return true;" onMouseOut="window.status=''; nd(); return true;"><img src="http://nordenterprises.com/h-o-a-home/images/show-calendar.gif" width=24 height=22 border=0></a>
|
||||||
|
</p>
|
||||||
|
<p>Ending date: <input type="text" name="T2" size="20">
|
||||||
|
<!-- ggPosX and ggPosY are set, so popup goes where you tell it -->
|
||||||
|
<a href="javascript:ggPosX=5;ggPosY=200;show_yearly_calendar('sample.T2');" onMouseOver="window.status='Date Picker'; overlib('Click here to choose a date from a full year pop-up calendar.'); return true;" onMouseOut="window.status=''; nd(); return true;"><img src="http://nordenterprises.com/h-o-a-home/images/show-calendar.gif" width=24 height=22 border=0></a>
|
||||||
|
</p>
|
||||||
|
<p><input type="submit" value="Submit" name="B1"><input type="reset"
|
||||||
|
value="Reset" name="B2"></p>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<a href="http://nordenterprises.com/scripts/overlib_mini.js"> Download JS </a>
|
||||||
|
|
||||||
|
<p><center>
|
||||||
|
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
|
||||||
|
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
|
||||||
|
</center><p>
|
||||||
|
|
||||||
|
<!-- Script Size: 22.17 KB -->
|
||||||
75
html/central.php
Normal file
75
html/central.php
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
<?
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
include ("check_priv.php");
|
||||||
|
include_once("preference.php");
|
||||||
|
|
||||||
|
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,CENTRALIZE);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
include_once("central_inc.php");
|
||||||
|
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
echo '<DIV CLASS="ccontent">';
|
||||||
|
if ( isset ($_POST["central"] )) {
|
||||||
|
|
||||||
|
//demande centralise
|
||||||
|
if ( $_POST["periode"] != "" ) {
|
||||||
|
$ret=Centralise($cn,$_POST["periode"]);
|
||||||
|
if ($ret==NOERROR) {
|
||||||
|
echo '<H2 class="info">La période '.$_POST["periode"].' est centralisée</H2>';
|
||||||
|
} else {
|
||||||
|
echo '<H2 class="error">La période '.$_POST["periode"].' n\' a pu être centralisée</H2>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}// if ( isset ($_POST["central"] ))
|
||||||
|
|
||||||
|
$ret=FormPeriode($cn,0,NOTCENTRALIZED);
|
||||||
|
if ( $ret != null) {
|
||||||
|
echo '<FORM METHOD="POST" action="central.php">';
|
||||||
|
echo $ret;
|
||||||
|
echo '<INPUT TYPE="SUBMIT" name="central" VALUE="Centralise">';
|
||||||
|
echo '</FORM>';
|
||||||
|
} else {
|
||||||
|
echo '<H2 class="info"> Aucune période à centraliser</H2>';
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "</DIV>";
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
52
html/compta.php
Normal file
52
html/compta.php
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
include ("ac_common.php");
|
||||||
|
/* $Revision$ */
|
||||||
|
html_page_start();
|
||||||
|
if ( isset ( $dos ) ) {
|
||||||
|
$g_dossier=$dos;
|
||||||
|
session_register("g_dossier");
|
||||||
|
echo_debug("admin_dossier = $g_dossier ");
|
||||||
|
} else {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
phpinfo();
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include ("postgres.php");
|
||||||
|
/* CheckUser */
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
|
||||||
|
$r=GetPriv($g_dossier,$user);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
SyncRight($g_dossier,$user);
|
||||||
|
include ("top_menu_compta.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
|
||||||
|
|
||||||
|
html_page_stop();
|
||||||
|
|
||||||
|
?>
|
||||||
60
html/compute.js
Normal file
60
html/compute.js
Normal file
|
|
@ -0,0 +1,60 @@
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
function CheckTotal() {
|
||||||
|
var ie4=false;
|
||||||
|
if ( document.all ) {
|
||||||
|
ie4=true;
|
||||||
|
}// Ajouter getElementById par document.all[str]
|
||||||
|
var deb=0;
|
||||||
|
for (var i=0;1;i++) {
|
||||||
|
a=document.getElementById("mont_deb"+i);
|
||||||
|
if ( a == null ) {
|
||||||
|
document.forms[0].sum_deb.value=deb;
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
if ( isNaN(a.value) == true) {
|
||||||
|
a.value=0;
|
||||||
|
alert ("Not a Number !!! ");
|
||||||
|
}
|
||||||
|
deb+=eval(a.value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var cred=0;
|
||||||
|
for (var i=0;1;i++) {
|
||||||
|
a=document.getElementById("mont_cred"+i);
|
||||||
|
if ( a == null ) {
|
||||||
|
document.forms[0].sum_cred.value=cred;
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
if ( isNaN(a.value) == true) {
|
||||||
|
a.value=0;
|
||||||
|
alert ("Not a Number !!! ");
|
||||||
|
}
|
||||||
|
cred+=eval(a.value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ( deb != cred ) {
|
||||||
|
document.getElementById("diff").style.color="red";
|
||||||
|
document.getElementById("diff").style.fontWeight="bold";
|
||||||
|
document.getElementById("diff").innerHTML="Différence";
|
||||||
|
|
||||||
|
} else {
|
||||||
|
document.getElementById("diff").innerHTML="";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
168
html/dossier_prefs.php
Normal file
168
html/dossier_prefs.php
Normal file
|
|
@ -0,0 +1,168 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
/* $Revision$ */
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
phpinfo();
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
include("preference.php");
|
||||||
|
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
include_once ("check_priv.php");
|
||||||
|
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,PARM);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
exit -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ShowMenuComptaLeft($g_dossier,MENU_PARAM);
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$p_action="";
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
if ( isset($_GET["p_action"]) ) {
|
||||||
|
$p_action=$_GET["p_action"];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
echo '<DIV CLASS="ccontent">';
|
||||||
|
// Devise
|
||||||
|
|
||||||
|
$action="";
|
||||||
|
if ( isset ($_POST['action']) ) {
|
||||||
|
$action=$_POST['action'];
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( $p_action == "change" ) {
|
||||||
|
echo '<TR> <FORM ACTION="dossier_prefs.php" METHOD="POST">';
|
||||||
|
echo '<INPUT TYPE="HIDDEN" VALUE="'.$p_mid.'" NAME="p_id">';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_devise" VALUE="'.$p_code.'"></TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_rate" VALUE="'.$p_rate.'"></TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="SUBMIT" NAME="action" Value="Change"</TD>';
|
||||||
|
echo '</FORM></TR>';
|
||||||
|
}
|
||||||
|
if ( $p_action=="change_per") {
|
||||||
|
foreach($HTTP_GET_VARS as $key=>$element)
|
||||||
|
${"$key"}=$element;
|
||||||
|
echo "<TABLE>";
|
||||||
|
echo '<TR> <FORM ACTION="dossier_prefs.php" METHOD="POST">';
|
||||||
|
echo ' <INPUT TYPE="HIDDEN" NAME="p_per" VALUE="'.$p_per.'">';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_date_start" VALUE="'.$p_date_start.'"></TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_date_end" VALUE="'.$p_date_end.'"></TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_exercice" VALUE="'.$p_exercice.'"></TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="SUBMIT" NAME="chg_per" Value="Change"</TD>';
|
||||||
|
echo '</FORM></TR>';
|
||||||
|
echo "</TABLE>";
|
||||||
|
|
||||||
|
}
|
||||||
|
if ( isset ($_POST["chg_per"] ) ) {
|
||||||
|
foreach($HTTP_POST_VARS as $key=>$element)
|
||||||
|
${"$key"}=$element;
|
||||||
|
if (isDate($p_date_start) == null ||
|
||||||
|
isDate($p_date_end) == null ||
|
||||||
|
strlen (trim($p_exercice)) == 0 ||
|
||||||
|
(string) $p_exercice != (string)(int) $p_exercice)
|
||||||
|
{
|
||||||
|
echo "<H2 class=\"error\"> Valeurs invalides</H2>";
|
||||||
|
ShowPeriode($cn);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$Res=ExecSql($cn," update parm_periode ".
|
||||||
|
"set p_start=to_date('". $p_date_start."','DD.MM.YYYY'),".
|
||||||
|
" p_end=to_date('". $p_date_end."','DD.MM.YYYY'),".
|
||||||
|
" p_exercice='".$p_exercice."'".
|
||||||
|
" where p_id=".$p_per);
|
||||||
|
|
||||||
|
ShowPeriode($cn);
|
||||||
|
|
||||||
|
}
|
||||||
|
if ( isset ($_POST["add_per"] )) {
|
||||||
|
foreach($HTTP_POST_VARS as $key=>$element)
|
||||||
|
${"$key"}=$element;
|
||||||
|
if (isDate($p_date_start) == null ||
|
||||||
|
isDate($p_date_end) == null ||
|
||||||
|
strlen (trim($p_exercice)) == 0 ||
|
||||||
|
(string) $p_exercice != (string)(int) $p_exercice)
|
||||||
|
{
|
||||||
|
echo "<H2 class=\"error\"> Valeurs invalides</H2>";
|
||||||
|
ShowPeriode($cn);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$Res=ExecSql($cn,sprintf(" insert into parm_periode(p_start,p_end,p_closed,p_exercice)".
|
||||||
|
"values (to_date('%s','DD.MM.YYYY'),to_date('%s','DD.MM.YYYY')".
|
||||||
|
",'f','%s')",
|
||||||
|
$p_date_start,
|
||||||
|
$p_date_end,
|
||||||
|
$p_exercice));
|
||||||
|
|
||||||
|
ShowPeriode($cn);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
echo_debug ("Action $action");
|
||||||
|
if ( $action == "Change") {
|
||||||
|
$Res=ExecSql($cn,"update parm_money set pm_code='$p_devise',pm_rate=$p_rate where pm_id=$p_id");
|
||||||
|
ShowDevise($cn);
|
||||||
|
|
||||||
|
}
|
||||||
|
if ( $action == "Ajout") {
|
||||||
|
$Res=ExecSql($cn,"insert into parm_money ( pm_code,pm_rate) values ('$p_devise',$p_rate) ");
|
||||||
|
ShowDevise($cn);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if ( $p_action=="devise") {
|
||||||
|
ShowDevise($cn);
|
||||||
|
}
|
||||||
|
if ( $p_action=="closed") {
|
||||||
|
$Res=ExecSql($cn,"update parm_periode set p_closed=true where p_id=$p_per");
|
||||||
|
ShowPeriode($cn);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( $p_action== "delete_per" ) {
|
||||||
|
$p_per=$_GET["p_per"];
|
||||||
|
$Res=ExecSql($cn,"delete from parm_periode where p_id=$p_per");
|
||||||
|
ShowPeriode($cn);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( $p_action == "periode" ) {
|
||||||
|
ShowPeriode($cn);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
echo "</DIV>";
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
469
html/enc_jrn.php
Normal file
469
html/enc_jrn.php
Normal file
|
|
@ -0,0 +1,469 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
/* $Revision$ */
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
include_once("jrn.php");
|
||||||
|
include_once("preference.php");
|
||||||
|
include_once("poste.php");
|
||||||
|
html_page_start(0,"onLoad=\"CheckTotal();\"");
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
include_once ("check_priv.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
if ( isset( $p_jrn )) {
|
||||||
|
session_register("g_jrn");
|
||||||
|
$g_jrn=$p_jrn;
|
||||||
|
}
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
|
||||||
|
echo '<SCRIPT LANGUAGE="javascript" SRC="compute.js"></SCRIPT>';
|
||||||
|
echo '<SCRIPT LANGUAGE="javascript" SRC="win_search_jrn.js"></SCRIPT>';
|
||||||
|
echo '<SCRIPT LANGUAGE="javascript" SRC="win_detail_jrn.js"></SCRIPT>';
|
||||||
|
/* Get MaxLine */
|
||||||
|
include_once("poste.php");
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,ENCJRN);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
}
|
||||||
|
$right=CheckJrn($g_dossier,$user,$g_jrn);
|
||||||
|
if ($right == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
exit -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
ShowMenuJrnUser($g_dossier,$user);
|
||||||
|
|
||||||
|
if ( isset ( $_GET["action"] )) {
|
||||||
|
if ( $_GET["action"] == "view" ) {
|
||||||
|
ShowMenuRecherche($g_dossier,$g_jrn);
|
||||||
|
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
ViewJrn($g_dossier,$user,$g_jrn);
|
||||||
|
echo '</DIV>';
|
||||||
|
}
|
||||||
|
if ( $_GET["action"] == "record" ) {
|
||||||
|
if ( CheckJrn($g_dossier,$user,$g_jrn) < 2 ) {
|
||||||
|
NoAccess();
|
||||||
|
exit -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
echo_debug("record");
|
||||||
|
$max_deb=$_GET["max_deb"];
|
||||||
|
$max_cred=$_GET["max_cred"];
|
||||||
|
RecordJrn($g_dossier,$user,$g_jrn,$max_deb,$max_cred);
|
||||||
|
}
|
||||||
|
if ($_GET["action"]=="update" ) {
|
||||||
|
if ( CheckJrn($g_dossier,$user,$g_jrn) < 2 ) {
|
||||||
|
NoAccess();
|
||||||
|
exit -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
$p_id=$_GET["line"];
|
||||||
|
list($l_array,$max_deb,$max_cred)=GetData($cn,$p_id);
|
||||||
|
foreach ($l_array as $key => $element) {
|
||||||
|
echo_debug("update $key $element");
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateJrn($g_dossier,$g_jrn,$max_deb,$max_cred,$l_array);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?
|
||||||
|
if ( isset ($_POST['add_line_deb']) ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
foreach ( $HTTP_POST_VARS as $key=>$element) {
|
||||||
|
${"p_$key"}=$element;
|
||||||
|
}
|
||||||
|
$p_MaxDeb+=2;
|
||||||
|
echo "</DIV>";
|
||||||
|
CorrectRecord($g_dossier,$user,$g_jrn,$p_MaxDeb,$p_MaxCred,$HTTP_POST_VARS);
|
||||||
|
echo_debug("CorrectRecord($g_dossier,$user,$g_jrn,$p_MaxDeb,$p_MaxCred,$HTTP_POST_VARS);");
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( isset ($_POST['add_line_cred']) ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
foreach ( $HTTP_POST_VARS as $key=>$element) {
|
||||||
|
${"p_$key"}=$element;
|
||||||
|
}
|
||||||
|
$p_MaxCred+=2;
|
||||||
|
echo "</DIV>";
|
||||||
|
CorrectRecord($g_dossier,$user,$g_jrn,$p_MaxDeb,$p_MaxCred,$HTTP_POST_VARS);
|
||||||
|
echo_debug("CorrectRecord($g_dossier,$user,$g_jrn,$p_MaxDeb,$p_MaxCred+10,$HTTP_POST_VARS);");
|
||||||
|
}
|
||||||
|
if ( isset ($_POST['viewsearch']) ) {
|
||||||
|
reset($HTTP_POST_VARS);
|
||||||
|
ShowMenuRecherche($g_dossier,$g_jrn,$HTTP_POST_VARS);
|
||||||
|
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
ViewJrn($g_dossier,$user,$g_jrn,$HTTP_POST_VARS);
|
||||||
|
echo '</DIV>';
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( isset($_POST['add_record']) ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
foreach ( $HTTP_POST_VARS as $name=>$element ) {
|
||||||
|
echo_debug("element $name -> $element ");
|
||||||
|
// Sauve les données dans des variables
|
||||||
|
${"p_$name"}=$element;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$result=VerifData($cn,$HTTP_POST_VARS,$user);
|
||||||
|
|
||||||
|
switch( $result) {
|
||||||
|
case NOERROR:
|
||||||
|
break;
|
||||||
|
case BADPARM:
|
||||||
|
break;
|
||||||
|
case BADDATE:
|
||||||
|
echo "<SCRIPT> alert('Invalid Date'); </SCRIPT>";
|
||||||
|
break;
|
||||||
|
case NOTPERIODE:
|
||||||
|
echo "<SCRIPT> alert('Date n\'est pas dans la période par défaut, changez vos préférences'); </SCRIPT>";
|
||||||
|
break;
|
||||||
|
case PERIODCLOSED:
|
||||||
|
echo "<SCRIPT> alert('La date est dans une période cloturé'); </SCRIPT>";
|
||||||
|
break;
|
||||||
|
case INVALID_ECH:
|
||||||
|
echo "<SCRIPT> alert('Invalid Echeance Date'); </SCRIPT>";
|
||||||
|
break;
|
||||||
|
case RAPPT_ALREADY_USED:
|
||||||
|
echo '<SCRIPT>alert("Ne peut enregister le rapprochement l\'opération '.$p_rapt. " est déjà utilisée\")</SCRIPT>";
|
||||||
|
break;
|
||||||
|
case RAPPT_NOT_EXIST:
|
||||||
|
echo '<SCRIPT>alert("Ne peut enregister le rapprochement l\'opération '.$p_rapt. " n\'existe pas \")</SCRIPT>";
|
||||||
|
break;
|
||||||
|
case DIFF_AMOUNT:
|
||||||
|
echo "<SCRIPT>alert(\"Le Montant au débit n'est pas égal au montant au crédit\"); </SCRIPT>";
|
||||||
|
break;
|
||||||
|
case RAPPT_NOMATCH_AMOUNT:
|
||||||
|
echo '<SCRIPT>alert("Ne peut enregister le rapprochement l\'opération '.$p_rapt. " les montants ne correspondent pas \")</SCRIPT>";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if ($result != NOERROR) {
|
||||||
|
echo "</DIV>";
|
||||||
|
CorrectRecord($g_dossier,$user,$g_jrn,$p_MaxDeb,$p_MaxCred,$HTTP_POST_VARS);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$Res=StartSql($cn);
|
||||||
|
$userPref=GetUserPeriode($cn,$user);
|
||||||
|
$seq=GetNextId($cn,'j_grpt')+1;
|
||||||
|
$s_op=GetNextId($cn,'j_id')+1;
|
||||||
|
$tot_cred=0;
|
||||||
|
$tot_deb=0;
|
||||||
|
//debit
|
||||||
|
for ( $i = 0; $i < $p_MaxDeb; $i++) {
|
||||||
|
$montant=${"p_mont_deb$i"};
|
||||||
|
$l_class=${"p_class_deb$i"};
|
||||||
|
if ( strlen(trim($montant)) != 0 && $montant != 0) {
|
||||||
|
$p_text=(FormatString(${"p_text_deb$i"})==null)?FormatString(GetPosteLibelle($g_dossier,$l_class)):FormatString(${"p_text_deb$i"});
|
||||||
|
$Sql="insert into jrnx(j_id,j_date,j_montant,j_text,j_poste,j_grpt,
|
||||||
|
j_jrn_def,j_debit,j_tech_user,j_tech_per)
|
||||||
|
values ( $s_op,to_date('$p_op_date','DD.MM.YYYY'), ".$montant.",'$p_text',
|
||||||
|
$l_class,$seq,
|
||||||
|
$g_jrn,true,'$user',$userPref)";
|
||||||
|
echo_debug("sql $Sql");
|
||||||
|
$s_op++;
|
||||||
|
$tot_deb+=$montant;
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
if ( $Res == false ) { Rollback($cn); EndSql($cn); return;}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for ( $i = 0; $i < $p_MaxCred; $i++) {
|
||||||
|
$montant=${"p_mont_cred$i"};
|
||||||
|
$l_class=${"p_class_cred$i"};
|
||||||
|
if ( strlen(trim($montant)) != 0 && $montant != 0) {
|
||||||
|
$p_text=(FormatString(${"p_text_cred$i"})==null)?FormatString(GetPosteLibelle($g_dossier,$l_class)):FormatString(${"p_text_cred$i"});
|
||||||
|
|
||||||
|
$Sql="insert into jrnx(j_id,j_date,j_montant,j_text,j_poste,j_grpt,
|
||||||
|
j_jrn_def,j_debit,j_tech_user,j_tech_per)
|
||||||
|
values ( $s_op,to_date('$p_op_date','DD.MM.YYYY'), $montant,'$p_text',
|
||||||
|
$l_class,$seq,
|
||||||
|
$g_jrn,false,'$user',$userPref)";
|
||||||
|
echo_debug("sql $Sql");
|
||||||
|
$s_op++;
|
||||||
|
$tot_cred+=$montant;
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
if ( $Res == false ) { Rollback($cn); EndSql($cn); break;}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// si rappt
|
||||||
|
if ( trim($p_rapt) != '' ) {
|
||||||
|
$jrn_id=GetNextJrnId($cn,'jr_id')+1;
|
||||||
|
$l_date=isDate($p_ech);
|
||||||
|
if ( $l_date == null) {
|
||||||
|
$p_ech='null';
|
||||||
|
} else {
|
||||||
|
$p_ech="to_date('".$p_ech."','DD.MM.YYYY')";
|
||||||
|
}
|
||||||
|
$comment=FormatString($p_comment);
|
||||||
|
$Sql=sprintf("insert into jrn(jr_id,jr_def_id,jr_comment,jr_date,jr_grpt_id,
|
||||||
|
jr_rapt,jr_montant,jr_tech_per) values(%s,%s,'%s',%s,%d,'%s',%f,%d)",
|
||||||
|
$jrn_id,
|
||||||
|
$g_jrn,
|
||||||
|
$comment,
|
||||||
|
$p_ech,
|
||||||
|
$seq,
|
||||||
|
$p_rapt, $tot_deb,
|
||||||
|
$userPref);
|
||||||
|
echo_debug($Sql);
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
// $l_dest=GetRaptDest($cn,$p_rapt);
|
||||||
|
if ($Res)
|
||||||
|
$internal=SetInternalCode($cn,$jrn_id,$g_jrn,$g_dossier);
|
||||||
|
|
||||||
|
$sql=sprintf("update jrn set jr_rapt='%s' where jr_internal='%s'",$internal,$p_rapt);
|
||||||
|
echo_debug("add $sql");
|
||||||
|
$Res=ExecSql($cn,$sql);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
$jrn_id=GetNextJrnId($cn,'jr_id')+1;
|
||||||
|
if ( ! isset ($p_ech) ) $p_ech="";
|
||||||
|
$l_date=isDate($p_ech);
|
||||||
|
if ( $l_date == null) {
|
||||||
|
$p_ech='null';
|
||||||
|
} else {
|
||||||
|
$p_ech="to_char('".$l_date."','DD.MM.YYYY')";
|
||||||
|
}
|
||||||
|
$comment=FormatString($p_comment);
|
||||||
|
|
||||||
|
$Sql=sprintf("insert into jrn(jr_id,jr_def_id,jr_comment,jr_date,jr_grpt_id,
|
||||||
|
jr_montant,jr_tech_per) values(%s,%s,'%s',%s,%d,%f,%d)",
|
||||||
|
$jrn_id,
|
||||||
|
$g_jrn,
|
||||||
|
$comment,
|
||||||
|
$p_ech,
|
||||||
|
$seq,$tot_deb,$userPref);
|
||||||
|
echo_debug("Sql $Sql");
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
if ($Res)
|
||||||
|
SetInternalCode($cn,$jrn_id,$g_jrn,$g_dossier);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( $Res) {
|
||||||
|
Commit($cn);
|
||||||
|
EndSql($cn);
|
||||||
|
|
||||||
|
// AlterSequence($cn,"s_grpt",$seq+1);
|
||||||
|
//AlterSequence($cn,"s_jrn_op",$s_op);
|
||||||
|
ViewRecord($g_dossier,$g_jrn,$seq,$p_MaxDeb,$p_MaxCred,$HTTP_POST_VARS);
|
||||||
|
echo_debug("ViewRecord($g_dossier,$g_jrn,$seq,$p_MaxDeb,$p_MaxCred,$HTTP_POST_VARS);");
|
||||||
|
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
Rollback($cn);
|
||||||
|
EndSql($cn);
|
||||||
|
}
|
||||||
|
} // _POST['add_record']
|
||||||
|
|
||||||
|
if ( isset($_POST['update_record']) ) {
|
||||||
|
ShowMenuRecherche($g_dossier,$g_jrn);
|
||||||
|
|
||||||
|
// Montre ce qu'on a encodé et demande vérif
|
||||||
|
echo_debug ("######## UPDATE ##############");
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
foreach ( $HTTP_POST_VARS as $name=>$element ) {
|
||||||
|
echo_debug("element $name -> $element ");
|
||||||
|
// Sauve les données dans des variables
|
||||||
|
${"p_$name"}=$element;
|
||||||
|
}
|
||||||
|
reset($HTTP_POST_VARS);
|
||||||
|
$result=VerifData($cn,$HTTP_POST_VARS,$user);
|
||||||
|
|
||||||
|
switch( $result) {
|
||||||
|
case NOERROR:
|
||||||
|
break;
|
||||||
|
case BADPARM:
|
||||||
|
break;
|
||||||
|
case BADDATE:
|
||||||
|
echo "<SCRIPT> alert('Invalid Date'); </SCRIPT>";
|
||||||
|
break;
|
||||||
|
case NOTPERIODE:
|
||||||
|
echo "<SCRIPT> alert('Date n\'est pas dans la période par défaut, changez vos préférences'); </SCRIPT>";
|
||||||
|
break;
|
||||||
|
case PERIODCLOSED:
|
||||||
|
echo "<SCRIPT> alert('La date est dans une période cloturé'); </SCRIPT>";
|
||||||
|
break;
|
||||||
|
case INVALID_ECH:
|
||||||
|
echo "<SCRIPT> alert('Invalid Echeance Date'); </SCRIPT>";
|
||||||
|
break;
|
||||||
|
case RAPPT_ALREADY_USED:
|
||||||
|
echo '<SCRIPT>alert("Ne peut enregister le rapprochement l\'opération '.$p_rapt. " est déjà utilisée\")</SCRIPT>";
|
||||||
|
break;
|
||||||
|
case RAPPT_NOT_EXIST:
|
||||||
|
echo '<SCRIPT>alert("Ne peut enregister le rapprochement l\'opération '.$p_rapt. " n\'existe pas \")</SCRIPT>";
|
||||||
|
break;
|
||||||
|
case DIFF_AMOUNT:
|
||||||
|
echo "<SCRIPT>alert(\"Le Montant au débit n'est pas égal au montant au crédit\"); </SCRIPT>";
|
||||||
|
break;
|
||||||
|
case RAPPT_NOMATCH_AMOUNT:
|
||||||
|
echo '<SCRIPT>alert("Ne peut enregister le rapprochement l\'opération '.$p_rapt. " les montants ne correspondent pas \")</SCRIPT>";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
foreach ( $HTTP_POST_VARS as $name=>$element ) {
|
||||||
|
echo_debug("element $name -> $element ");
|
||||||
|
// Sauve les données dans des variables
|
||||||
|
${"p_$name"}=$element;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($result != NOERROR) {
|
||||||
|
echo "</DIV>";
|
||||||
|
UpdateJrn($g_dossier,$g_jrn,$p_MaxDeb,$p_MaxCred,$HTTP_POST_VARS);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$Res=StartSql($cn);
|
||||||
|
|
||||||
|
foreach ( $HTTP_POST_VARS as $name=>$element ) {
|
||||||
|
// Sauve les données dans des variables
|
||||||
|
${"p_$name"}=$element;
|
||||||
|
echo_debug("p_name p_$name = $element");
|
||||||
|
}
|
||||||
|
$userPref=GetUserPeriode($cn,$user);
|
||||||
|
|
||||||
|
for ( $i = 0; $i < $p_MaxDeb; $i++) {
|
||||||
|
$j_id=${"p_op_deb$i"};
|
||||||
|
$montant=${"p_mont_deb$i"};
|
||||||
|
$l_class=${"p_class_deb$i"};
|
||||||
|
if ( strlen(trim($montant)) == 0) $montant=0;
|
||||||
|
$p_text=(FormatString(${"p_text_deb$i"})==null)?GetPosteLibelle($g_dossier,$l_class):FormatString(${"p_text_deb$i"});
|
||||||
|
|
||||||
|
$Sql=sprintf("update jrnx set j_montant=%f, j_poste=%d,j_tech_user='%s',j_date=to_date('%s','DD.MM.YYYY'),j_text='%s' where j_id=%d",
|
||||||
|
$montant,$l_class,$user,$p_op_date,$p_text,$j_id);
|
||||||
|
echo_debug("sql $Sql");
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
if ( $Res == false ) { Rollback($cn); EndSql($cn); return;}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
for ( $i = 0; $i < $p_MaxCred; $i++) {
|
||||||
|
$j_id=${"p_op_cred$i"};
|
||||||
|
$montant=${"p_mont_cred$i"};
|
||||||
|
$l_class=${"p_class_cred$i"};
|
||||||
|
if ( strlen(trim($montant)) == 0 ) $montant=0;
|
||||||
|
$p_text=(FormatString(${"p_text_cred$i"})==null)?GetPosteLibelle($g_dossier,$l_class):FormatString(${"p_text_cred$i"});
|
||||||
|
|
||||||
|
$Sql=sprintf("update jrnx set j_montant=%f,j_poste=%d,j_tech_user='%s', j_date=to_date('%s','DD.MM.YYYY'),j_text='%s' where j_id=%d",
|
||||||
|
$montant,$l_class,$user,$p_op_date,$p_text,$j_id);
|
||||||
|
echo_debug("sql $Sql");
|
||||||
|
// $s_op++;
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
if ( $Res == false ) { Rollback($cn); EndSql($cn); return;}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$l_src=-1;
|
||||||
|
$l_dest=-1;
|
||||||
|
if ( strlen(trim($p_rapt)) != 0 ) {
|
||||||
|
$l_src=GetRapt($cn,$p_rapt);
|
||||||
|
$l_dest=GetRaptDest($cn,$p_rapt);
|
||||||
|
echo_debug("l_src = $l_src l_dest = $l_dest");
|
||||||
|
// if the operation match already => set rappt to null
|
||||||
|
if ( $l_src != -1 ) {
|
||||||
|
$Sql=sprintf("update jrn set jr_rapt=null where jr_internal='%s'",$l_src);
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
}
|
||||||
|
if ( !isset ($p_ech) ) $p_ech="";
|
||||||
|
$l_date=isDate($p_ech);
|
||||||
|
if ( $l_date == null ) {
|
||||||
|
$l_date="null";
|
||||||
|
}else {
|
||||||
|
$l_date="to_date('".$_POST["ech"]."','DD.MM.YYYY')";
|
||||||
|
}
|
||||||
|
if ( FormatString( $p_rapt ) != null ) {
|
||||||
|
$comment=FormatString($_POST["comment"]);
|
||||||
|
|
||||||
|
$Sql=sprintf("update jrn set jr_comment='%s',jr_date=%s,jr_rapt='%s',".
|
||||||
|
"jr_montant=%f where
|
||||||
|
jr_id=%d",
|
||||||
|
$comment,
|
||||||
|
$l_date,
|
||||||
|
$p_rapt,
|
||||||
|
$p_sum_deb,
|
||||||
|
$p_jr_id);
|
||||||
|
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
$current_internal=GetInternal($cn,$p_jr_id);
|
||||||
|
$Sql=sprintf("update jrn set jr_rapt='%s' where jr_internal='%s'",
|
||||||
|
$current_internal,
|
||||||
|
$p_rapt);
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
|
||||||
|
|
||||||
|
} else {
|
||||||
|
$comment=FormatString($_POST["comment"]);
|
||||||
|
$Sql=sprintf("update jrn set jr_comment='%s',
|
||||||
|
jr_date=%s,jr_rapt=null,jr_montant=%f where jr_id=%d",
|
||||||
|
$comment,
|
||||||
|
$l_date,$tot_deb,
|
||||||
|
$p_jr_id);
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
} // if strlen(p_rappt
|
||||||
|
if ($Res) {
|
||||||
|
Commit($cn);
|
||||||
|
EndSql($cn);
|
||||||
|
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
Rollback($cn);
|
||||||
|
EndSql($cn);
|
||||||
|
}
|
||||||
|
ViewJrn($g_dossier,$user,$g_jrn);
|
||||||
|
|
||||||
|
} // if update_record
|
||||||
|
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
?>
|
||||||
|
</DIV>
|
||||||
|
<?
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
58
html/facturation.php
Normal file
58
html/facturation.php
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
include ("ac_common.php");
|
||||||
|
include ("check_priv.php");
|
||||||
|
/* $Revision$ */
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* CheckUser */
|
||||||
|
CheckUser();
|
||||||
|
include ("top_menu_compta.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,FACT);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
include_once("facture_inc.php");
|
||||||
|
|
||||||
|
$l_dossier=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_dossier);
|
||||||
|
ShowMenuComptaLeft($g_dossier,MENU_FACT);
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
if ( $_GET["action"] ) {
|
||||||
|
if ($_GET["fact"] == "all" ) {
|
||||||
|
ViewFactAll($cn);
|
||||||
|
}
|
||||||
|
if ($_GET["fact"]=="impaye") {
|
||||||
|
ViewFactImpaye($cn);
|
||||||
|
}
|
||||||
|
}//get action
|
||||||
|
|
||||||
|
html_page_stop();
|
||||||
|
|
||||||
|
?>
|
||||||
135
html/fiche.php
Normal file
135
html/fiche.php
Normal file
|
|
@ -0,0 +1,135 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
/* $Revision$ */
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
echo '<SCRIPT LANGUAGE="javascript" SRC="win_search_poste.js"></SCRIPT>';
|
||||||
|
CheckUser();
|
||||||
|
include ("check_priv.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
|
||||||
|
|
||||||
|
if ( isset($_POST["PHPSESSID"] )) {
|
||||||
|
$sessid=$_POST["PHPSESSID"];
|
||||||
|
} else {
|
||||||
|
$sessid=$_GET["PHPSESSID"];
|
||||||
|
}
|
||||||
|
$search='<INPUT TYPE="BUTTON" VALUE="Cherche" OnClick="SearchPoste(\''.$sessid."')\">";
|
||||||
|
|
||||||
|
|
||||||
|
include_once("fiche_inc.php");
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
|
||||||
|
if ( isset($_POST['add_modele']) ) {
|
||||||
|
AddModele($cn,$HTTP_POST_VARS);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,FICHE);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ShowMenuComptaLeft($g_dossier,MENU_FICHE);
|
||||||
|
if ( isset ( $_GET["action"]) ) {
|
||||||
|
$action=$_GET["action"];
|
||||||
|
if ( isset ($_GET["fiche"]) && $action=="vue" ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
ViewFiche($cn,$_GET["fiche"]);
|
||||||
|
echo '</DIV>';
|
||||||
|
}
|
||||||
|
if ($action== "detail" ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
ViewFicheDetail($cn,$_GET["fiche_id"]);
|
||||||
|
echo '</DIV>';
|
||||||
|
}
|
||||||
|
if ($action == "add_modele" ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
DefModele($search);
|
||||||
|
echo '</DIV>';
|
||||||
|
}
|
||||||
|
if ($action == "modifier" ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
UpdateModele($cn,$_GET["fiche"],$search);
|
||||||
|
}
|
||||||
|
if ($action== "delete" ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
Remove($cn,$_GET["fiche_id"]);
|
||||||
|
|
||||||
|
ViewFiche($cn,$_GET["f_fd_id"]);
|
||||||
|
echo "</DIV>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (isset( $_POST["update_modele"] )) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
SaveModele($cn,$HTTP_POST_VARS);
|
||||||
|
echo '</DIV>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( isset ($_POST["record_model"]) ){
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
if ( strlen(trim($_POST["nom_mod"])) == 0 ) {
|
||||||
|
EncodeModele($search);
|
||||||
|
}else {
|
||||||
|
DefModele($search,$HTTP_POST_VARS);
|
||||||
|
}
|
||||||
|
echo '</DIV>';
|
||||||
|
}
|
||||||
|
if ( isset ($_POST["add_ligne"] )) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
DefModele($search,$HTTP_POST_VARS,$_POST["inc"]+1);
|
||||||
|
echo '</DIV>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( isset ($_POST["fiche"]) && isset ($_POST["add"]) ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
EncodeFiche($cn,$_POST["fiche"]);
|
||||||
|
echo '</DIV>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( isset ($_POST["add_fiche"]) ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
AddFiche($cn,$_POST["fiche"],$HTTP_POST_VARS);
|
||||||
|
ViewFiche($cn,$_POST["fiche"]);
|
||||||
|
echo '</DIV>';
|
||||||
|
}
|
||||||
|
if ( isset ($_POST["update_fiche"])) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
$a=UpdateFiche($cn,$HTTP_POST_VARS);
|
||||||
|
ViewFiche($cn,$_POST["f_fd_id"]);
|
||||||
|
|
||||||
|
echo '</DIV>';
|
||||||
|
}
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
99
html/form.php
Normal file
99
html/form.php
Normal file
|
|
@ -0,0 +1,99 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
/* $Revision$ */
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
include_once("form_inc.php");
|
||||||
|
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
include ("check_priv.php");
|
||||||
|
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,FORM);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ShowMenuComptaForm($g_dossier);
|
||||||
|
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
if ( isset($_GET["PHPSESSID"] )) {
|
||||||
|
$sessid=$_GET["PHPSESSID"];
|
||||||
|
}
|
||||||
|
if ( isset($_POST["PHPSESSID"] )) {
|
||||||
|
$sessid=$_POST["PHPSESSID"];
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( isset ($_GET["action"]) ) {
|
||||||
|
$action=$_GET["action"];
|
||||||
|
if ($action == "add" )
|
||||||
|
{
|
||||||
|
echo '<DIV class="ccontent">';
|
||||||
|
EncodeForm(1,$sessid);
|
||||||
|
echo "</DIV>";
|
||||||
|
}
|
||||||
|
if ($action=="view" ) {
|
||||||
|
echo '<DIV class="ccontent">';
|
||||||
|
if ( ! $_GET["fr_id"] ) {
|
||||||
|
echo_error("fr_id n'est pas donné");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
ViewForm($cn,$sessid,$_GET["fr_id"]);
|
||||||
|
echo "</DIV>";
|
||||||
|
}
|
||||||
|
} // if $_GET
|
||||||
|
if ( isset ($_POST["add_line"]) ) {
|
||||||
|
echo '<DIV class="ccontent">';
|
||||||
|
$line=$_POST["line"];
|
||||||
|
EncodeForm($line+1,$sessid,$HTTP_POST_VARS);
|
||||||
|
echo "</DIV>";
|
||||||
|
}
|
||||||
|
if ( isset ($_POST["update"]) ) {
|
||||||
|
echo '<DIV class="ccontent">';
|
||||||
|
UpdateForm($cn,$HTTP_POST_VARS);
|
||||||
|
echo "</DIV>";
|
||||||
|
}
|
||||||
|
if ( isset ($_POST["record"] )) {
|
||||||
|
echo '<DIV class="ccontent">';
|
||||||
|
AddForm($cn,$HTTP_POST_VARS);
|
||||||
|
echo "</DIV>";
|
||||||
|
}
|
||||||
|
|
||||||
|
//echo '<DIV CLASS="ccontent">';
|
||||||
|
|
||||||
|
//echo "</DIV>";
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
91
html/impress.php
Normal file
91
html/impress.php
Normal file
|
|
@ -0,0 +1,91 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
include ("check_priv.php");
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
|
||||||
|
|
||||||
|
include_once("impress_inc.php");
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,IMP);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
}
|
||||||
|
if (isset ($_GET["p_id"]) && isset ($_GET["type"])) {
|
||||||
|
if ( $type="jrn") {
|
||||||
|
$right=CheckJrn($g_dossier,$user,$_GET['p_id']);
|
||||||
|
if ($right == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
exit -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
ShowMenuJrnUserImp($cn,$user,$g_dossier);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if ( isset ( $_GET["action"]) ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
ViewImp($HTTP_GET_VARS,$cn);
|
||||||
|
echo '</DIV>';
|
||||||
|
}//if ( isset ( $_GET["action"] ))
|
||||||
|
|
||||||
|
if ( isset ( $_POST["print"]) ) {
|
||||||
|
echo '<DIV class="redcontent">';
|
||||||
|
$result=Imp($HTTP_POST_VARS,$cn);
|
||||||
|
if ($result== NO_PERIOD_SELECTED) {
|
||||||
|
echo "<SCRIPT>alert(\"Aucune période choisie\"); </SCRIPT>";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if ( $result== NO_POST_SELECTED) {
|
||||||
|
echo "<SCRIPT>alert(\"Aucun poste choisi\"); </SCRIPT>";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
// foreach($HTTP_POST_VARS as $e=>$element) {
|
||||||
|
// echo_debug("$e $element");
|
||||||
|
// }
|
||||||
|
if ( $_POST["action"]=="viewhtml") {
|
||||||
|
echo "<TABLE>";
|
||||||
|
echo $result;
|
||||||
|
echo "<TABLE>";
|
||||||
|
}
|
||||||
|
|
||||||
|
echo '</DIV>';
|
||||||
|
}//if ( isset ( $_GET["action"] ))
|
||||||
|
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
28
html/index.html
Normal file
28
html/index.html
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 3.2 FINAL//EN">
|
||||||
|
<HTML>
|
||||||
|
<TITLE> Gnu Accountancy</TITLE>
|
||||||
|
<BODY BGCOLOR="#6985FF">
|
||||||
|
<BR><BR><BR><BR><BR>
|
||||||
|
<center>
|
||||||
|
<H2>Bienvenue dans le premier système de comptabilité WebBased</H2>
|
||||||
|
<BR><BR>
|
||||||
|
<form action=login.php method=post>
|
||||||
|
<TABLE BGCOLOR="#6985FF"><TR><TD>
|
||||||
|
<TABLE Bgcolor="#4851FF" BORDER=0 CELLSPACING=0>
|
||||||
|
<TR>
|
||||||
|
<TD> LOGIN </TD>
|
||||||
|
<TD><input type=text name=p_user></TD>
|
||||||
|
</TR>
|
||||||
|
<TR>
|
||||||
|
<TD> PASSWORD</TD>
|
||||||
|
<TD><INPUT TYPE=PASSWORD NAME=p_pass></TD>
|
||||||
|
</TR>
|
||||||
|
<TR>
|
||||||
|
<TD COLSPAN=2 ALIGN=CENTER><INPUT TYPE=SUBMIT value="Log in"></TD>
|
||||||
|
</TR>
|
||||||
|
</table>
|
||||||
|
</TD></TR></TABLE>
|
||||||
|
</form>
|
||||||
|
</Center>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
164
html/jrn_add.php
Normal file
164
html/jrn_add.php
Normal file
|
|
@ -0,0 +1,164 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
/* $Revision$ */
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
include_once("jrn.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
include_once("check_priv.php");
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,SECU);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
exit -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
echo '<SCRIPT LANGUAGE="javascript" SRC="win_search_poste.js"></SCRIPT>';
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
|
||||||
|
If ( isset ($_POST["JRN_ADD"]) ) {
|
||||||
|
if ( !isset($_POST["p_jrn_name"]) || ! isset($_POST["p_jrn_type"] )) {
|
||||||
|
echo '<H2 CLASS="error"> Un paramètre manque</H2>';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if ( $_POST['p_ech'] == 'no' ) {
|
||||||
|
$p_ech='false';
|
||||||
|
$p_ech_lib='null';
|
||||||
|
} else {
|
||||||
|
$p_ech='true';
|
||||||
|
$p_ech_lib="'".$_POST['p_ech_lib']."'";
|
||||||
|
}
|
||||||
|
if (strlen(trim($_POST['p_jrn_deb_max_line'])) == 0 ||
|
||||||
|
(string) (int)$_POST['p_jrn_deb_max_line'] != (string)$_POST['p_jrn_deb_max_line'] )
|
||||||
|
$l_deb_max_line=1;
|
||||||
|
else
|
||||||
|
$l_deb_max_line=$_POST['p_jrn_deb_max_line'];
|
||||||
|
|
||||||
|
if ( strlen(trim($_POST['p_jrn_cred_max_line'])) == 0 ||
|
||||||
|
(string) (int)$_POST['p_jrn_cred_max_line'] != (string)$_POST['p_jrn_cred_max_line'] )
|
||||||
|
$l_cred_max_line=1;
|
||||||
|
else
|
||||||
|
$l_cred_max_line=$_POST['p_jrn_cred_max_line'];
|
||||||
|
$p_jrn_name=$_POST["p_jrn_name"];
|
||||||
|
echo_debug("nom journal $p_jrn_name");
|
||||||
|
$p_jrn_class_deb=FormatString($_POST["p_jrn_class_deb"]);
|
||||||
|
if (strlen(trim($p_jrn_name))==0) return;
|
||||||
|
$p_jrn_name=FormatString($p_jrn_name);
|
||||||
|
$p_jrn_class_cred=FormatString($_POST["p_jrn_class_cred"]);
|
||||||
|
// compute the jrn_def.jrn_def_code
|
||||||
|
$p_code=sprintf("%s-%02d",trim($_POST['p_jrn_type']),NextJrn($cn,$_POST['p_jrn_type']));
|
||||||
|
$Sql=sprintf("insert into jrn_def(jrn_def_name,jrn_def_class_deb,jrn_def_class_cred,jrn_deb_max_line,jrn_cred_max_line,
|
||||||
|
jrn_def_type,jrn_def_code) values ('%s','%s','%s',%s,%s,'%s','%s')",
|
||||||
|
$p_jrn_name,$p_jrn_class_deb,$p_jrn_class_cred,
|
||||||
|
$l_deb_max_line,$l_cred_max_line,$_POST['p_jrn_type'],$p_code
|
||||||
|
);
|
||||||
|
echo_debug($Sql);
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ShowMenuJrn($g_dossier);
|
||||||
|
if ( isset ($_GET["PHPSESSID"]) ) {
|
||||||
|
$sessid=$_GET["PHPSESSID"];
|
||||||
|
}else {
|
||||||
|
$sessid=$_POST["PHPSESSID"];
|
||||||
|
}
|
||||||
|
$search='<INPUT TYPE="BUTTON" VALUE="Cherche" OnClick="SearchPoste(\''.$sessid."')\">";
|
||||||
|
|
||||||
|
echo '<DIV CLASS="ccontent">';
|
||||||
|
echo '<FORM ACTION="jrn_add.php" METHOD="POST">';
|
||||||
|
echo '<INPUT TYPE="HIDDEN" NAME="JRN_ADD">';
|
||||||
|
echo '<TABLE>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Nom journal </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_jrn_name"></TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Postes utilisables journal (débit) </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_jrn_class_deb">'.$search.'</TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Nombre de lignes par défaut (débit) </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_jrn_deb_max_line" ></TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Postes utilisables journal (crédit) </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_jrn_class_cred">'.$search.'</TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Nombre de lignes par défaut (crédit) </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_jrn_cred_max_line"></TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Date d\'échéance </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="radio" NAME="p_ech" VALUE="yes" >Oui';
|
||||||
|
echo '<INPUT TYPE="radio" NAME="p_ech" VALUE="no" CHECKED>Non</TD>';
|
||||||
|
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Libellé echéance </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_ech_lib" ></TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Type de journal </TD>';
|
||||||
|
echo '<TD> ';
|
||||||
|
$Res=ExecSql($cn,"select jrn_type_id,jrn_desc from jrn_type");
|
||||||
|
$Max=pg_NumRows($Res);
|
||||||
|
echo '<SELECT NAME="p_jrn_type">';
|
||||||
|
for ($i=0;$i<$Max;$i++) {
|
||||||
|
$Line=pg_fetch_array($Res,$i);
|
||||||
|
printf ('<OPTION VALUE="%s">%s',$Line['jrn_type_id'],$Line['jrn_desc']);
|
||||||
|
}
|
||||||
|
echo '</SELECT>';
|
||||||
|
echo '</TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
?>
|
||||||
|
<TR><TD><INPUT TYPE="SUBMIT" VALUE="Sauve"></TD><TD><INPUT TYPE="RESET" VALUE="Reset"></TD></TR>
|
||||||
|
<?
|
||||||
|
echo '</TABLE>';
|
||||||
|
echo '</FORM>';
|
||||||
|
echo "</DIV>";
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
187
html/jrn_detail.php
Normal file
187
html/jrn_detail.php
Normal file
|
|
@ -0,0 +1,187 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
include_once("check_priv.php");
|
||||||
|
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
include_once("check_priv.php");
|
||||||
|
|
||||||
|
$r=CheckAction($g_dossier,$user,SECU);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
exit -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
echo '<SCRIPT LANGUAGE="javascript" SRC="win_search_poste.js"></SCRIPT>';
|
||||||
|
if ( isset( $_GET['p_jrn'] )) {
|
||||||
|
session_register("g_jrn");
|
||||||
|
$g_jrn=$p_jrn;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
|
||||||
|
If ( isset ($_POST["JRN_UPD"] )) {
|
||||||
|
if ( !isset($_POST["p_jrn_name"]) ) {
|
||||||
|
echo '<H2 CLASS="error"> Un paramètre manque</H2>';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if ( $_POST['p_ech'] == 'no' ) {
|
||||||
|
$p_ech='false';
|
||||||
|
$p_ech_lib='null';
|
||||||
|
} else {
|
||||||
|
$p_ech='true';
|
||||||
|
$p_ech_lib="'".$_POST['p_ech_lib']."'";
|
||||||
|
}
|
||||||
|
if (strlen(trim($_POST['p_jrn_deb_max_line'])) == 0 ||
|
||||||
|
(string) (int)$_POST['p_jrn_deb_max_line'] != (string)$_POST['p_jrn_deb_max_line'] )
|
||||||
|
$l_deb_max_line=1;
|
||||||
|
else
|
||||||
|
$l_deb_max_line=$_POST['p_jrn_deb_max_line'];
|
||||||
|
|
||||||
|
if ( strlen(trim($_POST['p_jrn_cred_max_line'])) == 0 ||
|
||||||
|
(string) (int)$_POST['p_jrn_cred_max_line'] != (string)$_POST['p_jrn_cred_max_line'] )
|
||||||
|
$l_cred_max_line=1;
|
||||||
|
else
|
||||||
|
$l_cred_max_line=$_POST['p_jrn_cred_max_line'];
|
||||||
|
$p_jrn_name=$_POST['p_jrn_name'];
|
||||||
|
if (strlen(trim($p_jrn_name))==0) return;
|
||||||
|
$p_jrn_name=FormatString($p_jrn_name);
|
||||||
|
$Sql=sprintf("update jrn_def set jrn_def_name='%s',jrn_def_class_deb='%s',jrn_def_class_cred='%s',
|
||||||
|
jrn_deb_max_line=%s,jrn_cred_max_line=%s,jrn_def_ech=%s,jrn_def_ech_lib=%s
|
||||||
|
where jrn_def_id=%s",
|
||||||
|
$p_jrn_name,$_POST['p_jrn_class_deb'],$_POST['p_jrn_class_cred'],
|
||||||
|
$l_deb_max_line,$l_cred_max_line,
|
||||||
|
$p_ech,$p_ech_lib,
|
||||||
|
$g_jrn
|
||||||
|
);
|
||||||
|
echo_debug($Sql);
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ShowMenuJrn($g_dossier);
|
||||||
|
// $right=CheckJrn($g_dossier,$user,$g_jrn);
|
||||||
|
// if ($right == 0 ){
|
||||||
|
// /* Cannot Access */
|
||||||
|
// NoAccess();
|
||||||
|
// exit -1;
|
||||||
|
// }
|
||||||
|
|
||||||
|
$Res=ExecSql($cn,"select jrn_def_name,jrn_def_class_deb,jrn_def_class_cred,".
|
||||||
|
"jrn_deb_max_line,jrn_cred_max_line,jrn_def_code".
|
||||||
|
",jrn_def_type,jrn_def_ech, jrn_def_ech_lib".
|
||||||
|
" from jrn_def where".
|
||||||
|
" jrn_def_id=".$g_jrn);
|
||||||
|
$l_line=pg_fetch_array($Res,0);
|
||||||
|
if ( isset ($_GET["PHPSESSID"] ) ) {
|
||||||
|
$sessid=$_GET["PHPSESSID"];
|
||||||
|
}
|
||||||
|
if ( isset ($_POST["PHPSESSID"] ) ) {
|
||||||
|
$sessid=$_POST["PHPSESSID"];
|
||||||
|
}
|
||||||
|
|
||||||
|
$search='<INPUT TYPE="BUTTON" VALUE="Cherche" OnClick="SearchPoste(\''.$sessid."')\">";
|
||||||
|
echo '<DIV CLASS="ccontent">';
|
||||||
|
echo '<FORM ACTION="jrn_detail.php" METHOD="POST">';
|
||||||
|
echo '<INPUT TYPE="HIDDEN" NAME="JRN_UPD">';
|
||||||
|
echo '<TABLE>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Nom journal </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_jrn_name" VALUE="'.$l_line['jrn_def_name'].'"></TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Postes utilisables journal (débit) </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_jrn_class_deb" VALUE="'.$l_line['jrn_def_class_deb'].'">'.$search.'</TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Nombre de lignes par défaut (débit) </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_jrn_deb_max_line" VALUE="'.$l_line['jrn_deb_max_line'].'"></TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Postes utilisables journal (crédit) </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_jrn_class_cred" VALUE="'.$l_line['jrn_def_class_cred'].'">'.$search.'</TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Nombre de lignes par défaut (crédit) </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_jrn_cred_max_line" VALUE="'.$l_line['jrn_cred_max_line'].'"></TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Date d\'échéance </TD>';
|
||||||
|
if ( $l_line['jrn_def_ech'] == 't' ) {
|
||||||
|
echo '<TD> <INPUT TYPE="radio" NAME="p_ech" VALUE="yes" checked> Oui';
|
||||||
|
echo '<INPUT TYPE="radio" NAME="p_ech" VALUE="no">Non </TD>';
|
||||||
|
}
|
||||||
|
if ( $l_line['jrn_def_ech'] == 'f' ) {
|
||||||
|
echo '<TD> <INPUT TYPE="radio" NAME="p_ech" VALUE="yes" >Oui';
|
||||||
|
echo '<INPUT TYPE="radio" NAME="p_ech" VALUE="no" CHECKED>Non</TD>';
|
||||||
|
}
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Libellé echéance </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" NAME="p_ech_lib" VALUE="'.$l_line['jrn_def_ech_lib'].'"></TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
|
||||||
|
echo '<TR>';
|
||||||
|
echo '<TD> Type de journal </TD>';
|
||||||
|
echo '<TD> ';
|
||||||
|
$Res=ExecSql($cn,"select jrn_type_id,jrn_desc from jrn_type where ".
|
||||||
|
"trim(jrn_type_id)=trim('".$l_line['jrn_def_type']."')");
|
||||||
|
$Max=pg_NumRows($Res);
|
||||||
|
for ($i=0;$i<$Max;$i++) {
|
||||||
|
$Line=pg_fetch_array($Res,$i);
|
||||||
|
echo_debug("jrn type !".$Line['jrn_type_id']."!,!".$l_line['jrn_def_type']."!");
|
||||||
|
printf (' %s',$Line['jrn_desc']);
|
||||||
|
}
|
||||||
|
echo '</TD>';
|
||||||
|
echo '</TR>';
|
||||||
|
echo "<TR><TD> Code </TD><TD>".$l_line['jrn_def_code']."</TD></TR>";
|
||||||
|
?>
|
||||||
|
<TR><TD><INPUT TYPE="SUBMIT" VALUE="Sauve"></TD><TD><INPUT TYPE="RESET" VALUE="Reset"></TD></TR>
|
||||||
|
<?
|
||||||
|
|
||||||
|
echo '</TABLE>';
|
||||||
|
echo '</FORM>';
|
||||||
|
echo "</DIV>";
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
73
html/jrn_op_detail.php
Normal file
73
html/jrn_op_detail.php
Normal file
|
|
@ -0,0 +1,73 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
include_once ("poste.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
phpinfo();
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
include_once("jrn.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
if ( isset( $p_jrn )) {
|
||||||
|
session_register("g_jrn");
|
||||||
|
$g_jrn=$p_jrn;
|
||||||
|
}
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
|
||||||
|
list ($l_array,$max_deb,$max_cred)=GetData($cn,$jrn_op);
|
||||||
|
foreach ($l_array as $key=>$element) {
|
||||||
|
${"e_$key"}=$element;
|
||||||
|
echo_debug("e_$key =$element");
|
||||||
|
}
|
||||||
|
|
||||||
|
echo '<div> Opération '.$l_array['jr_internal']."</div>";
|
||||||
|
|
||||||
|
echo 'Date : '.$e_op_date;
|
||||||
|
if ( isset ($e_ech) ) {
|
||||||
|
echo "<DIV> Echeance $e_ech </DIV>";
|
||||||
|
}
|
||||||
|
for ( $i = 0; $i < $max_deb;$i++) {
|
||||||
|
$lib=GetPosteLibelle($g_dossier,${"e_class_deb$i"});
|
||||||
|
echo '<div style="background-color:lightblue;">';
|
||||||
|
echo ${"e_class_deb$i"}." $lib "."<B>".${"e_mont_deb$i"}."</B>";
|
||||||
|
echo "</div>";
|
||||||
|
}
|
||||||
|
for ( $i = 0; $i < $max_cred;$i++) {
|
||||||
|
$lib=GetPosteLibelle($g_dossier,${"e_class_cred$i"});
|
||||||
|
echo '<div style="background-color:lightgreen;">';
|
||||||
|
echo ${"e_class_cred$i"}." $lib "."<B>".${"e_mont_cred$i"}."</B>";
|
||||||
|
echo '</div>';
|
||||||
|
}
|
||||||
|
echo "operation concernée $e_rapt";
|
||||||
|
echo '<div style="border-style:solid;border-width:1pt;">';
|
||||||
|
echo $e_comment;
|
||||||
|
echo '</DIV>';
|
||||||
|
?>
|
||||||
|
<input type="button" onClick="window.close()" value="Fermer">
|
||||||
|
<?
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
168
html/jrn_search.php
Normal file
168
html/jrn_search.php
Normal file
|
|
@ -0,0 +1,168 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
phpinfo();
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
echo '<SCRIPT LANGUAGE="javascript" SRC="win_search_jrn.js"></SCRIPT>';
|
||||||
|
|
||||||
|
if ( isset( $p_jrn )) {
|
||||||
|
session_register("g_jrn");
|
||||||
|
$g_jrn=$p_jrn;
|
||||||
|
}
|
||||||
|
$opt='<OPTION VALUE="<="> <=';
|
||||||
|
$opt.='<OPTION VALUE="<"> <';
|
||||||
|
$opt.='<OPTION VALUE="="> =';
|
||||||
|
$opt.='<OPTION VALUE=">"> >';
|
||||||
|
$opt.='<OPTION VALUE=">="> >=';
|
||||||
|
$c_comment="";
|
||||||
|
$c_montant="";
|
||||||
|
$c_date="";
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$condition="";
|
||||||
|
$part=" where ";
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
if ( isset ($_POST["search"]) ) {
|
||||||
|
$c1=0;
|
||||||
|
foreach( $HTTP_POST_VARS as $key=>$element){
|
||||||
|
${"$key"}=$element;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( strlen(trim($p_comment)) != 0 ) {
|
||||||
|
$c_comment=" $part pcm_lib like '%$p_comment%'";
|
||||||
|
$part=" and ";
|
||||||
|
}
|
||||||
|
if ( strlen(trim($p_montant)) != 0 &&
|
||||||
|
(string) $p_montant == (int)(string) $p_montant) {
|
||||||
|
$c_montant=sprintf(" $part j_montant %s %s",$p_montant_sel,$p_montant);
|
||||||
|
$part=" and ";
|
||||||
|
}
|
||||||
|
if ( strlen(trim($p_date)) != 0 ) {
|
||||||
|
$c_montant=sprintf(" $part j_date %s '%s'",$p_date_sel,$p_date);
|
||||||
|
$part=" and ";
|
||||||
|
}
|
||||||
|
$condition=$c_comment.$c_montant.$c_date;
|
||||||
|
echo_debug("condition = $condition");
|
||||||
|
}
|
||||||
|
$condition=$condition." $part uj_priv in ('W','R') and uj_login='".$user."'" ;
|
||||||
|
echo '<FORM ACTION="jrn_search.php" METHOD="POST">';
|
||||||
|
echo '<TABLE>';
|
||||||
|
echo '<TR>';
|
||||||
|
if ( ! isset ($p_date)) $p_date="";
|
||||||
|
if ( ! isset ($p_montant)) $p_montant="";
|
||||||
|
if ( ! isset ($p_comment)) $p_comment="";
|
||||||
|
|
||||||
|
echo '<TD> Date </TD>';
|
||||||
|
echo '<TD> <SELECT NAME="p_date_sel">'.$opt.' </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" name="p_date" VALUE="'.$p_date.'"></TD>';
|
||||||
|
|
||||||
|
echo '<TD> Montant </TD>';
|
||||||
|
echo '<TD> <SELECT NAME="p_montant_sel">'.$opt.' </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" name="p_montant" VALUE="'.$p_montant.'"></TD>';
|
||||||
|
|
||||||
|
echo '<TD> Commentaire </TD>';
|
||||||
|
echo '<TD> contient </TD>';
|
||||||
|
echo '<TD> <INPUT TYPE="text" name="p_comment" VALUE="'.$p_comment.'"></TD>';
|
||||||
|
echo "</TR>";
|
||||||
|
|
||||||
|
echo '</TABLE>';
|
||||||
|
echo '<INPUT TYPE="submit" name="search" value="cherche">';
|
||||||
|
echo '</FORM>';
|
||||||
|
|
||||||
|
$Res=ExecSql($cn,"select j_id,j_date,j_montant,j_poste,j_debit,j_tech_per,jr_id,jr_comment,j_grpt,pcm_lib,jr_internal from jrnx inner join
|
||||||
|
jrn on jr_grpt_id=j_grpt inner join tmp_pcmn on j_poste=pcm_val ".
|
||||||
|
" inner join user_sec_jrn on uj_jrn_id=j_jrn_def".
|
||||||
|
$condition." order by j_id");
|
||||||
|
|
||||||
|
$MaxLine=pg_NumRows($Res);
|
||||||
|
if ( $MaxLine==0) {
|
||||||
|
html_page_stop();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$col_vide="<TD></TD>";
|
||||||
|
echo '<TABLE ALIGN="center" BORDER="0" CELLSPACING="O">';
|
||||||
|
$l_id="";
|
||||||
|
if ( $MaxLine > 250 ) {
|
||||||
|
echo "Trop de lignes redéfinir la recherche";
|
||||||
|
html_page_stop();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
for ( $i=0; $i < $MaxLine; $i++) {
|
||||||
|
$l_line=pg_fetch_array($Res,$i);
|
||||||
|
if ( $l_id == $l_line['j_grpt'] ) {
|
||||||
|
echo $col_vide.$col_vide;
|
||||||
|
} else {
|
||||||
|
echo "<TR><TD>";
|
||||||
|
echo '<INPUT TYPE="CHECKBOX" onClick="GetIt(\''.$l_line['jr_internal']."')\" >";
|
||||||
|
echo "</TD>";
|
||||||
|
|
||||||
|
echo "<TD>";
|
||||||
|
echo $l_line['j_date'];
|
||||||
|
echo "</TD>";
|
||||||
|
|
||||||
|
echo "<TD>";
|
||||||
|
echo $l_line['jr_internal'];
|
||||||
|
echo "</TD>";
|
||||||
|
$l_id=$l_line['j_grpt'];
|
||||||
|
echo '<TD COLSPAN="4">'.$l_line['jr_comment'].'</TD></TR>';
|
||||||
|
}
|
||||||
|
if ( $l_line['j_debit'] == 't' ) {
|
||||||
|
echo '<TR style="background-color:lightblue;">';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
echo '<TR style="background-color:lightgreen;">';
|
||||||
|
}
|
||||||
|
echo $col_vide;
|
||||||
|
if ( $l_line['j_debit']=='f')
|
||||||
|
echo $col_vide;
|
||||||
|
|
||||||
|
echo '<TD>';
|
||||||
|
echo $l_line['j_poste'];
|
||||||
|
echo '</TD>';
|
||||||
|
|
||||||
|
if ( $l_line['j_debit']=='t')
|
||||||
|
echo $col_vide;
|
||||||
|
|
||||||
|
echo '<TD>';
|
||||||
|
echo $l_line['pcm_lib'];
|
||||||
|
echo '</TD>';
|
||||||
|
|
||||||
|
if ( $l_line['j_debit']=='f')
|
||||||
|
echo $col_vide;
|
||||||
|
|
||||||
|
echo '<TD>';
|
||||||
|
echo $l_line['j_montant'];
|
||||||
|
echo '</TD>';
|
||||||
|
|
||||||
|
echo "</TR>";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
echo '</TABLE>';
|
||||||
|
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
55
html/jrn_update.php
Normal file
55
html/jrn_update.php
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
phpinfo();
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
include_once ("check_priv.php");
|
||||||
|
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,GJRN);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
exit -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ShowMenuJrn($g_dossier);
|
||||||
|
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
echo '<DIV CLASS="ccontent">';
|
||||||
|
|
||||||
|
echo "</DIV>";
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
74
html/line_update.php
Normal file
74
html/line_update.php
Normal file
|
|
@ -0,0 +1,74 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
// $Revision$
|
||||||
|
include ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( !isset ($g_dossier)) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
phpinfo();
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include ("postgres.php");
|
||||||
|
include_once("check_priv.php");
|
||||||
|
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,SECU);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
exit -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
include ("top_menu_compta.php");
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
echo '<DIV CLASS="ccontent">';
|
||||||
|
|
||||||
|
?>
|
||||||
|
<FORM ACTION="pcmn_update.php" METHOD="POST">
|
||||||
|
<TABLE>
|
||||||
|
<TR>
|
||||||
|
<?
|
||||||
|
printf ('<TD>Numéro de classe </TD><TD><INPUT TYPE="TEXT" name="p_val" value="%s"></TD>',$l);
|
||||||
|
echo "</TR><TR>";
|
||||||
|
printf('<TD>Libellé </TD><TD><INPUT TYPE="TEXT" size="70" NAME="p_name" value="%s"></TD>',urldecode($n));
|
||||||
|
echo "</TR><TR>";
|
||||||
|
printf ('<TD>Classe Parent</TD><TD><INPUT TYPE="TEXT" name="p_val_parent" value="%s"></TD>',$p);
|
||||||
|
?>
|
||||||
|
</TR>
|
||||||
|
<TR>
|
||||||
|
<TD><INPUT TYPE="Submit" VALUE="Save">
|
||||||
|
<INPUT TYPE="HIDDEN" name="update">
|
||||||
|
<? printf ('<INPUT TYPE="HIDDEN" name="p_old" value="%s">',$l); ?>
|
||||||
|
</TD></TR>
|
||||||
|
<TR> <TD class="mtitle"><A CLASS="mtitle" HREF="pcmn_update.php">Retour sans sauver</A></TD></TR>
|
||||||
|
</TABLE>
|
||||||
|
</FORM>
|
||||||
|
</DIV>
|
||||||
|
|
||||||
|
<?
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
138
html/login.php
Normal file
138
html/login.php
Normal file
|
|
@ -0,0 +1,138 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* $Revision$ */
|
||||||
|
|
||||||
|
include ("postgres.php");
|
||||||
|
include_once("debug.php");
|
||||||
|
|
||||||
|
if ( isset ($_POST["p_user"] ) ) {
|
||||||
|
echo_debug("user is set");
|
||||||
|
$user=$_POST["p_user"];
|
||||||
|
$pass=$_POST["p_pass"];
|
||||||
|
html_page_start();
|
||||||
|
session_register("g_login");
|
||||||
|
$g_login=$user;
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
if ( strlen($user) != 0 ) {
|
||||||
|
echo_debug("user is not null");
|
||||||
|
html_page_start();
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
html_page_start(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( isset ($db_page) ) {
|
||||||
|
echo_debug("db_page is set ".$db_page);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
echo_debug("db_page is NOT set");
|
||||||
|
$db_page=0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
echo_debug("USER=$user - ");
|
||||||
|
echo_debug($HTTP_SESSION_VARS["user"]);
|
||||||
|
echo_debug("PAGE = $db_page");
|
||||||
|
|
||||||
|
$cn=pg_connect("dbname=account_repository user='webcompta' ");
|
||||||
|
$IsValid=0;
|
||||||
|
// Verif if User and Pass match DB
|
||||||
|
// if no, then redirect to the login page
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
|
||||||
|
if ( $user != 'webcompta') {
|
||||||
|
$sql="select use_id from ac_users where use_login='$user'
|
||||||
|
and use_active=1 and use_admin=1";
|
||||||
|
|
||||||
|
$rs=pg_exec($cn,$sql);
|
||||||
|
$isAdmin=pg_NumRows($rs);
|
||||||
|
} else $isAdmin=1;
|
||||||
|
include("top_menu_compta.php");
|
||||||
|
ShowMenu();
|
||||||
|
if ( $isAdmin != 0 ) {
|
||||||
|
/* Administrator */
|
||||||
|
$l_MaxLine=0;
|
||||||
|
$r_database=ShowDossier('all',$db_page,$db_page+15,&$l_MaxLine);
|
||||||
|
$action="Encoder";
|
||||||
|
$priv="Administrateur";
|
||||||
|
} else {
|
||||||
|
/* User */
|
||||||
|
$l_MaxLine=0;
|
||||||
|
$r_database=ShowDossier('lim',$db_page,$db_page+15,&$l_MaxLine);
|
||||||
|
$priv="Utilisateur";
|
||||||
|
}
|
||||||
|
|
||||||
|
echo '<H1 class="title"> Dossier </H1>';
|
||||||
|
echo "<TABLE>";
|
||||||
|
|
||||||
|
if ( $r_database != null ) {
|
||||||
|
$row=0;
|
||||||
|
foreach ( $r_database as $l_db ) {
|
||||||
|
$row++;
|
||||||
|
if ( $l_db['priv_priv'] == "W") {
|
||||||
|
$action="Encoder";
|
||||||
|
} else {
|
||||||
|
$action="Lire";
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( $row %2 == 0 ) {
|
||||||
|
$tr='<TR class="odd">';
|
||||||
|
$td='<TD class="odd">';
|
||||||
|
} else {
|
||||||
|
$tr='<TR class="even">';
|
||||||
|
$td='<TD class="even">';
|
||||||
|
}
|
||||||
|
printf("%s $td <B> %s</B></TD> $td %s</TD> <td style=\"border-width:1pt;border-style:solid\";> %s</TD> <TD class=\"mtitle\"> <A class=\"mtitle\" HREF=\"compta.php?dos=%d\">%s</A></TD></TR>",
|
||||||
|
$tr,
|
||||||
|
$l_db['dos_name'],
|
||||||
|
$l_db['dos_description'],
|
||||||
|
$priv,
|
||||||
|
$l_db['dos_id'],
|
||||||
|
$action);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "</TABLE>";
|
||||||
|
$db_debut=15+$db_page;
|
||||||
|
if ($db_debut < $l_MaxLine) {
|
||||||
|
printf ("<A HREF=\"login.php?db_page=%d\">Suivant</A>",$db_debut);
|
||||||
|
}
|
||||||
|
if ( $db_page !=0 ) {
|
||||||
|
$db_debut=$db_page-15;
|
||||||
|
printf ("<A HREF=\"login.php?db_page=%d\">Précédent</A>",$db_debut);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
<?
|
||||||
|
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
29
html/logout.php
Normal file
29
html/logout.php
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
include ("ac_common.php");
|
||||||
|
include ("postgres.php");
|
||||||
|
|
||||||
|
html_page_start();
|
||||||
|
|
||||||
|
session_unset();
|
||||||
|
echo '<META HTTP-EQUIV="REFRESH" content="0;url=index.html">';
|
||||||
|
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
25
html/not_implemented.php
Normal file
25
html/not_implemented.php
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
echo '<H1 class="info"> Not Implemented</H1>';
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
209
html/pcmn_update.php
Normal file
209
html/pcmn_update.php
Normal file
|
|
@ -0,0 +1,209 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
phpinfo();
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
include_once ("check_priv.php");
|
||||||
|
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,MPCMN);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
exit -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Store the p_start parameter */
|
||||||
|
if ( isset ($g_start) ) {
|
||||||
|
echo_debug("g_start is defined [ $g_start ]");
|
||||||
|
}
|
||||||
|
if ( ! isset ( $g_start) ) {
|
||||||
|
$g_start="";
|
||||||
|
}
|
||||||
|
if ( isset ($p_start)) {
|
||||||
|
echo_debug("PCMN p_start : $p_start");
|
||||||
|
echo_debug("p_start[$p_start] and g_start don't exist");
|
||||||
|
session_register("g_start");
|
||||||
|
$g_start=$p_start;
|
||||||
|
}
|
||||||
|
|
||||||
|
ShowMenuPcmn($g_start);
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
echo '<DIV CLASS="ccontent">';
|
||||||
|
/* Analyse ce qui est demandé */
|
||||||
|
/* Effacement d'une ligne */
|
||||||
|
if (isset ($action)) {
|
||||||
|
if ( $action=="del" ) {
|
||||||
|
if ( isset ($l) ) {
|
||||||
|
/* Ligne a enfant*/
|
||||||
|
$R=ExecSql($cn,"select pcm_val from tmp_pcmn where pcm_val_parent=$l");
|
||||||
|
if ( pg_NumRows($R) != 0 ) {
|
||||||
|
echo "<SCRIPT> alert(\"Ne peut pas effacer le poste: d'autres postes en dépendent\");</SCRIPT>";
|
||||||
|
} else {
|
||||||
|
/* Vérifier que le poste n'est pas utilisé qq part dans les journaux */
|
||||||
|
$Res=ExecSql($cn,"select * from jrnx where j_poste=$l");
|
||||||
|
if ( pg_NumRows($R) != 0 ) {
|
||||||
|
echo "<SCRIPT> alert(\"Ne peut pas effacer le poste: il est utilisé dans les journaux\");</SCRIPT>";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$Del=ExecSql($cn,"delete from tmp_pcmn where pcm_val=$l");
|
||||||
|
} // if pg_NumRows
|
||||||
|
} // if pg_NumRows
|
||||||
|
} // isset ($l)
|
||||||
|
} //$action == del
|
||||||
|
} // isset action
|
||||||
|
/* Ajout d'une ligne */
|
||||||
|
if ( isset ( $_POST["Add"] ) ) {
|
||||||
|
if ( isset ( $p_val) && isset ( $p_lib ) ) {
|
||||||
|
$p_val=trim($p_val);
|
||||||
|
$p_lib=trim($p_lib);
|
||||||
|
$p_parent=$_POST["p_parent"];
|
||||||
|
if ( strlen ($p_val) != 0 && strlen ($p_lib) != 0 ) {
|
||||||
|
if (strlen ($p_val) == 1 ) {
|
||||||
|
$p_parent=0;
|
||||||
|
} else {
|
||||||
|
if ( strlen(trim($p_parent))==0 &&
|
||||||
|
(string) $p_parent != (string)(int) $p_parent) {
|
||||||
|
$p_parent=substr($p_val,0,strlen($p_val)-1);
|
||||||
|
}
|
||||||
|
echo_debug("Ajout valeur = $p_val parent = $p_parent");
|
||||||
|
}
|
||||||
|
/* Parent existe */
|
||||||
|
$Ret=ExecSql($cn,"select pcm_val from tmp_pcmn where pcm_val=$p_parent");
|
||||||
|
if ( pg_NumRows($Ret) == 0 ) {
|
||||||
|
echo '<SCRIPT> alert(" Ne peut pas modifier; aucune poste parent"); </SCRIPT>';
|
||||||
|
} else {
|
||||||
|
$Ret=ExecSql($cn,"insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent) values ('$p_val','$p_lib',$p_parent)");
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
echo '<H2 class="error"> Valeurs invalides </H3>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* Modif d'une ligne */
|
||||||
|
if ( isset ($_POST["update"] ) ) {
|
||||||
|
foreach ($HTTP_POST_VARS as $name => $element) {
|
||||||
|
echo_debug("name $name $element");
|
||||||
|
}
|
||||||
|
$p_val=trim($_POST["p_val"]);
|
||||||
|
$p_lib=trim($_POST["p_name"]);
|
||||||
|
$p_parent=trim($_POST["p_val_parent"]);
|
||||||
|
$old_line=trim($_POST["p_old"]);
|
||||||
|
echo_debug("Update old : $old_line News = $p_val $p_lib");
|
||||||
|
if ( strlen ($p_val) != 0 && strlen ($p_lib) != 0 && strlen($old_line)!=0 ) {
|
||||||
|
if (strlen ($p_val) == 1 ) {
|
||||||
|
$p_parent=0;
|
||||||
|
} else {
|
||||||
|
if ( strlen($p_parent)==0 ) {
|
||||||
|
$p_parent=substr($p_val,0,strlen($p_val)-1);
|
||||||
|
echo_debug("Modif valeur = $p_val parent = $p_parent");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* Parent existe */
|
||||||
|
$Ret=ExecSql($cn,"select pcm_val from tmp_pcmn where pcm_val=$p_parent");
|
||||||
|
if ( pg_NumRows($Ret) == 0 || $p_parent==$old_line ) {
|
||||||
|
echo '<SCRIPT> alert(" Ne peut pas modifier; aucune poste parent"); </SCRIPT>';
|
||||||
|
} else {
|
||||||
|
$Ret=ExecSql($cn,"update tmp_pcmn set pcm_val=$p_val, pcm_lib='$p_lib',pcm_val_parent=$p_parent where pcm_val=$old_line");
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
echo '<script> alert(\'Update Valeurs invalides\'); </script>';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
$Ret=ExecSql($cn,"select pcm_val,pcm_lib,pcm_val_parent from tmp_pcmn where substr(pcm_val::text,1,1)='$g_start' order by pcm_val::text");
|
||||||
|
$MaxRow=pg_NumRows($Ret);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
<TABLE ALIGN="center" BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
||||||
|
<TR>
|
||||||
|
<TH> Classe </TH>
|
||||||
|
<TH> Libellé </TH>
|
||||||
|
<TH> Parent </TH>
|
||||||
|
</TR>
|
||||||
|
<TR>
|
||||||
|
|
||||||
|
<FORM ACTION="pcmn_update.php" METHOD="POST">
|
||||||
|
<TD>
|
||||||
|
<INPUT TYPE="TEXT" NAME="p_val" SIZE=10>
|
||||||
|
</TD>
|
||||||
|
<TD>
|
||||||
|
<INPUT TYPE="TEXT" NAME="p_lib" size=60>
|
||||||
|
</TD>
|
||||||
|
<TD>
|
||||||
|
<INPUT TYPE="TEXT" NAME="p_parent" size=10>
|
||||||
|
</TD>
|
||||||
|
<TD>
|
||||||
|
<INPUT TYPE="SUBMIT" Value="Add" Name="Add">
|
||||||
|
</TD>
|
||||||
|
</FORM>
|
||||||
|
</TR>
|
||||||
|
<?
|
||||||
|
for ($i=0; $i <$MaxRow; $i++) {
|
||||||
|
$A=pg_fetch_array($Ret,$i);
|
||||||
|
|
||||||
|
if ( $i%2 == 0 ) {
|
||||||
|
$td ='<TD class="odd">';
|
||||||
|
} else {
|
||||||
|
$td='<TD class="even">';
|
||||||
|
}
|
||||||
|
echo "<TR> $td";
|
||||||
|
echo $A['pcm_val'];
|
||||||
|
|
||||||
|
echo "</td> $td";
|
||||||
|
printf ("<A HREF=line_update.php?l=%d&n=%s&p=%s>",$A['pcm_val'],urlencode($A['pcm_lib']),$A['pcm_val_parent']);
|
||||||
|
echo $A['pcm_lib'];
|
||||||
|
echo '</A>';
|
||||||
|
echo "</TD>";
|
||||||
|
|
||||||
|
echo $td;
|
||||||
|
echo $A['pcm_val_parent'];
|
||||||
|
echo '</TD>';
|
||||||
|
|
||||||
|
echo $td;
|
||||||
|
printf ('<A href="pcmn_update.php?l=%d&action=del">Delete</A>',$A['pcm_val']);
|
||||||
|
echo "</TD>";
|
||||||
|
|
||||||
|
echo "</TR>";
|
||||||
|
|
||||||
|
}
|
||||||
|
echo "</DIV>";
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
112
html/poste_search.php
Normal file
112
html/poste_search.php
Normal file
|
|
@ -0,0 +1,112 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
echo '<SCRIPT LANGUAGE="javascript" SRC="win_search_poste.js"></SCRIPT>';
|
||||||
|
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
phpinfo();
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
|
||||||
|
$opt='<OPTION VALUE="<="> <=';
|
||||||
|
$opt.='<OPTION VALUE="<"> <';
|
||||||
|
$opt.='<OPTION VALUE="="> =';
|
||||||
|
$opt.='<OPTION VALUE=">"> >';
|
||||||
|
$opt.='<OPTION VALUE=">="> >=';
|
||||||
|
$c_comment="";
|
||||||
|
$c_class="";
|
||||||
|
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$condition="";
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
if ( isset($_POST['search']) ) {
|
||||||
|
$c1=0;
|
||||||
|
foreach( $HTTP_POST_VARS as $key=>$element){
|
||||||
|
${"$key"}=$element;
|
||||||
|
}
|
||||||
|
if ( strlen(trim($p_comment)) != 0 ) {
|
||||||
|
$c_comment=" where upper(pcm_lib) like upper('%$p_comment%')";
|
||||||
|
$c1=1;
|
||||||
|
}
|
||||||
|
if ( strlen(trim($p_class)) != 0 &&
|
||||||
|
(string) $p_class == (int)(string) $p_class) {
|
||||||
|
if ($c1==1) {
|
||||||
|
$c_class=sprintf(" and pcm_val %s %s",$p_class_sel,$p_class);
|
||||||
|
} else {
|
||||||
|
$c_class=sprintf(" where pcm_val %s %s",$p_class_sel,$p_class);
|
||||||
|
$c1=1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$condition=$c_comment.$c_class;
|
||||||
|
}
|
||||||
|
echo_debug("condition = $condition");
|
||||||
|
echo '<FORM ACTION="poste_search.php" METHOD="POST">';
|
||||||
|
echo '<TABLE>';
|
||||||
|
echo '<TR>';
|
||||||
|
|
||||||
|
echo '<TD> Class </TD>';
|
||||||
|
echo '<TD> <SELECT NAME="p_class_sel">'.$opt.' </TD>';
|
||||||
|
if ( ! isset ($p_class) ) $p_class="";
|
||||||
|
echo '<TD> <INPUT TYPE="text" name="p_class" VALUE="'.$p_class.'"></TD>';
|
||||||
|
|
||||||
|
echo '<TD> Libellé </TD>';
|
||||||
|
echo '<TD> contient </TD>';
|
||||||
|
if ( ! isset ($p_comment) ) $p_comment="";
|
||||||
|
echo '<TD> <INPUT TYPE="text" name="p_comment" VALUE="'.$p_comment.'"></TD>';
|
||||||
|
echo '</TABLE>';
|
||||||
|
echo '<INPUT TYPE="submit" name="search" value="cherche">';
|
||||||
|
echo '</FORM>';
|
||||||
|
|
||||||
|
$Res=ExecSql($cn,"select * from tmp_pcmn $condition order by pcm_val::text");
|
||||||
|
|
||||||
|
$MaxLine=pg_NumRows($Res);
|
||||||
|
if ( $MaxLine==0) {
|
||||||
|
html_page_stop();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
echo '<TABLE ALIGN="center" BORDER="0">';
|
||||||
|
$l_id="";
|
||||||
|
|
||||||
|
for ( $i=0; $i < $MaxLine; $i++) {
|
||||||
|
$l_line=pg_fetch_array($Res,$i);
|
||||||
|
echo "<TR>";
|
||||||
|
echo '<TD>';
|
||||||
|
echo $l_line['pcm_val'];
|
||||||
|
echo '</TD>';
|
||||||
|
|
||||||
|
echo '<TD>';
|
||||||
|
echo $l_line['pcm_lib'];
|
||||||
|
echo '</TD>';
|
||||||
|
echo "</TR>";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
echo '</TABLE>';
|
||||||
|
echo '<INPUT TYPE="BUTTON" Value="Close" onClick=\'GetIt()\'>';
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
227
html/priv_user.php
Normal file
227
html/priv_user.php
Normal file
|
|
@ -0,0 +1,227 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
include_once("ac_common.php");
|
||||||
|
include_once("postgres.php");
|
||||||
|
include_once("debug.php");
|
||||||
|
html_page_start();
|
||||||
|
echo_debug("entering priv_users");
|
||||||
|
|
||||||
|
|
||||||
|
CheckUser();
|
||||||
|
if (CheckAdmin() != 1) {
|
||||||
|
html_page_stop();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (! isset ($UID) ) {
|
||||||
|
//Message d'erreur si UID non positionné
|
||||||
|
echo_debug("UID NOT DEFINED");
|
||||||
|
html_page_stop();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
echo_debug("UID IS DEFINED");
|
||||||
|
|
||||||
|
$r_UID=GetUid($UID);
|
||||||
|
if ( $r_UID == false ) {
|
||||||
|
echo_debug("UID NOT VALID");
|
||||||
|
// Message d'erreur
|
||||||
|
html_page_stop();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
echo_debug("UID IS VALID");
|
||||||
|
echo '<H1 class="title"> User Management</H1>';
|
||||||
|
// User is valid and you're an admin
|
||||||
|
include_once("top_menu_compta.php");
|
||||||
|
ShowMenuAdminGlobalRight('<A class="mtitle" HREF="admin_repo.php">Retour</A>');
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<?
|
||||||
|
/* Parse the changes */
|
||||||
|
if ( isset ( $reset_passwd) ){
|
||||||
|
$cn=DbConnect();
|
||||||
|
$l_pass=md5('webcompta');
|
||||||
|
$Res=ExecSql($cn, "update ac_users set use_pass='$l_pass' where use_id=$UID");
|
||||||
|
echo '<H2 class="info"> Password remis à webcompta</H2>';
|
||||||
|
}
|
||||||
|
if ( isset ($SAVE) ){
|
||||||
|
echo_debug("SAVE is set");
|
||||||
|
// Update User
|
||||||
|
$cn=DbConnect();
|
||||||
|
$Sql="update ac_users set use_first_name='".$fname."', use_name='".$lname."'
|
||||||
|
,use_login='".$login."',use_active=".$Actif.",use_admin=".$Admin." where
|
||||||
|
use_id=".$UID;
|
||||||
|
$Res=ExecSql($cn,$Sql);
|
||||||
|
// Update Priv on Folder
|
||||||
|
foreach ($HTTP_POST_VARS as $name=>$elem)
|
||||||
|
{
|
||||||
|
echo_debug("HTTP_POST_VARS $name $elem");
|
||||||
|
if ( substr_count($name,'PRIV')!=0 )
|
||||||
|
{
|
||||||
|
echo_debug("Found a priv");
|
||||||
|
$db_id=substr($name,4);
|
||||||
|
$cn=DbConnect();
|
||||||
|
if ( ExisteJnt($db_id,$UID) != 1 )
|
||||||
|
{
|
||||||
|
$Res=ExecSql($cn,"insert into jnt_use_dos(dos_id,use_id) values(".$db_id.",".$UID.")");
|
||||||
|
}
|
||||||
|
$jnt=GetJnt($db_id,$UID);
|
||||||
|
if (ExistePriv($jnt) > 0)
|
||||||
|
{
|
||||||
|
$Res=ExecSql($cn,"update priv_user set priv_priv='".$elem."' where priv_jnt=".$jnt);
|
||||||
|
} else {
|
||||||
|
$Res=ExecSql($cn,"insert into priv_user(priv_jnt,priv_priv) values (".$jnt.",'".$elem."')");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if ( isset ($DELETE) ) {
|
||||||
|
$cn=DbConnect();
|
||||||
|
$Res=ExecSql($cn,"delete from priv_user where priv_jnt in ( select jnt_id from jnt_use_dos where use_id=".$UID.")");
|
||||||
|
$Res=ExecSql($cn,"delete from jnt_use_dos where use_id=".$UID);
|
||||||
|
$Res=ExecSql($cn,"delete from ac_users where use_id=".$UID);
|
||||||
|
|
||||||
|
echo "<center><H2 class=\"info\"> User $fname $lname ($login) is deleted </H2></CENTER>";
|
||||||
|
html_page_stop();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$r_UID=GetUid($UID);
|
||||||
|
?>
|
||||||
|
<FORM ACTION="priv_user.php" METHOD="POST">
|
||||||
|
|
||||||
|
<? printf('<INPUT TYPE=HIDDEN NAME=UID VALUE="%s">',$UID); ?>
|
||||||
|
<TABLE BORDER=0>
|
||||||
|
<TR><TD>
|
||||||
|
<?printf('First name <INPUT type="text" NAME="fname" value="%s"> ',$r_UID[0]['use_first_name']); ?>
|
||||||
|
</TD><TD>
|
||||||
|
<?printf('Name <INPUT type="text" NAME="lname" value="%s"> ',$r_UID[0]['use_name']); ?>
|
||||||
|
</TD>
|
||||||
|
</TR><TR>
|
||||||
|
<TD>
|
||||||
|
<?printf('login <INPUT type="text" NAME="login" value="%s">',$r_UID[0]['use_login']); ?>
|
||||||
|
</TD>
|
||||||
|
<TD class="mtitle">
|
||||||
|
<?printf('<A class="mtitle" HREF="priv_user.php?reset_passwd&UID=%s">Reset Password</A>',$UID); ?>
|
||||||
|
</TD>
|
||||||
|
</TR>
|
||||||
|
<TR><TD>
|
||||||
|
<TABLE>
|
||||||
|
<?
|
||||||
|
if ( $r_UID[0]['use_active'] == 1 ) {
|
||||||
|
$ACT="CHECKED";$NACT="UNCHECKED";
|
||||||
|
} else {
|
||||||
|
$ACT="UNCHECKED";$NACT="CHECKED";
|
||||||
|
}
|
||||||
|
echo "<TR><TD>";
|
||||||
|
printf('<INPUT type="RADIO" NAME="Actif" VALUE="1" %s> Actif',$ACT);
|
||||||
|
echo "</TD><TD>";
|
||||||
|
printf('<INPUT type="RADIO" NAME="Actif" VALUE="0" %s> Non Actif',$NACT);
|
||||||
|
echo "</TD></TR>";
|
||||||
|
?>
|
||||||
|
</TABLE>
|
||||||
|
</TD>
|
||||||
|
<TD>
|
||||||
|
<TABLE>
|
||||||
|
<?
|
||||||
|
if ( $r_UID[0]['use_admin'] == 1 ) {
|
||||||
|
$ACT="CHECKED";$NACT="UNCHECKED";
|
||||||
|
} else {
|
||||||
|
$ACT="UNCHECKED";$NACT="CHECKED";
|
||||||
|
}
|
||||||
|
echo "<TR><TD>";
|
||||||
|
printf('<INPUT type="RADIO" NAME="Admin" VALUE="1" %s> Administrator',$ACT);
|
||||||
|
echo "</TD><TD>";
|
||||||
|
printf('<INPUT type="RADIO" NAME="Admin" VALUE="0" %s> Normal user',$NACT);
|
||||||
|
echo "</TD></TR>";
|
||||||
|
?>
|
||||||
|
</TABLE>
|
||||||
|
</TD>
|
||||||
|
</TR>
|
||||||
|
<TR>
|
||||||
|
<TD>
|
||||||
|
<!-- Show all database and rights -->
|
||||||
|
<H2 class="info"> Droit par défaut </H2>
|
||||||
|
<TABLE>
|
||||||
|
<?
|
||||||
|
$Dossier=ShowDossier('all',1,0);
|
||||||
|
foreach ( $Dossier as $rDossier) {
|
||||||
|
$NORIGHT="";$Write="";$Read="";
|
||||||
|
echo_debug("Dossier : ".$rDossier['dos_id']);
|
||||||
|
$login_name=GetLogin($UID);
|
||||||
|
$priv=GetPriv($rDossier['dos_id'],$login_name);
|
||||||
|
printf("<TR><TD> Dossier : %s </TD>",$rDossier['dos_name']);
|
||||||
|
if ( $priv==0 )
|
||||||
|
{ $NORIGHT="CHECKED";}
|
||||||
|
else {
|
||||||
|
$A=$priv[0]['priv_priv'];
|
||||||
|
echo_debug("Priv = $A");
|
||||||
|
if ( $priv[0]['priv_priv']=='W' )
|
||||||
|
{$Write="CHECKED";}
|
||||||
|
else {
|
||||||
|
if ( $priv[0]['priv_priv']=='R' )
|
||||||
|
{ $Read="CHECKED";}
|
||||||
|
else {
|
||||||
|
if ($priv[0]['priv_priv']=='N') {
|
||||||
|
$NORIGHT="CHECKED";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
printf('</TD><TD>No Right<INPUT TYPE="RADIO" NAME="PRIV%s" VALUE="NO" %s>',$rDossier['dos_id'],$NORIGHT);
|
||||||
|
printf('</TD><TD>Read/Write <INPUT TYPE="RADIO" NAME="PRIV%s" VALUE="W" %s>',$rDossier['dos_id'],$Write);
|
||||||
|
printf('</TD><TD>Read<INPUT TYPE="RADIO" NAME="PRIV%s" VALUE="R" %s>',$rDossier['dos_id'],$Read);
|
||||||
|
echo "</TD></TR>";
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
</TABLE>
|
||||||
|
</TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<TR><TD><input type="Submit" NAME="SAVE" VALUE="Save changes"></TD>
|
||||||
|
<TD><input type="RESET" NAME="Reset" VALUE="Cancel Change"></TD>
|
||||||
|
<TD><input type="Submit" NAME="DELETE" VALUE="Delete Users"></TD>
|
||||||
|
</TR>
|
||||||
|
</FORM>
|
||||||
|
</TABLE>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<?
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
51
html/rate_chg.php
Normal file
51
html/rate_chg.php
Normal file
|
|
@ -0,0 +1,51 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
include_once("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
echo_debug("code : $code");
|
||||||
|
include_once("postgres.php");
|
||||||
|
?>
|
||||||
|
<script>
|
||||||
|
function SaveRate(p_code,p_rate)
|
||||||
|
{
|
||||||
|
<?
|
||||||
|
$dossier=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($dossier);
|
||||||
|
$Res=ExecSql($cn,"update parm_money set pm_rate=$f_rate where pm_code='$f_code'");
|
||||||
|
?>
|
||||||
|
// this.location.reload();
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<?
|
||||||
|
CheckUser();
|
||||||
|
if ( CheckAdmin()==0 ) return;
|
||||||
|
$dossier=sprint("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($dossier);
|
||||||
|
$Res=ExecSql($cn,"select pm_code, pm_rate from parm_money where pm_code='$p_code'");
|
||||||
|
$l_line=pg_fetch_array($Res,0);
|
||||||
|
|
||||||
|
echo '<FORM METHOD="POST" onSubmit="SaveRate(\''.$l_line[pm_code].'\',$l_line[pm_rate])">';
|
||||||
|
echo '<INPUT TYPE="HIDDEN" VALUE="'.$l_line[pm_code].'" NAME="f_code">';
|
||||||
|
echo "$l_line[pm_code]";
|
||||||
|
echo '<INPUT TYPE="TEXT" VALUE="'.$l_line[pm_rate].'" NAME="f_rate">';
|
||||||
|
echo "</FORM>";
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
41
html/send.php
Normal file
41
html/send.php
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
|
||||||
|
include_once("jrn.php");
|
||||||
|
include_once("ac_common.php");
|
||||||
|
include_once("postgres.php");
|
||||||
|
include_once("class.ezpdf.php");
|
||||||
|
include_once("impress_inc.php");
|
||||||
|
echo_debug("imp pdf journaux");
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
|
||||||
|
$name_jrn=GetJrnName($cn,$_POST["p_id"]);
|
||||||
|
$ret="";
|
||||||
|
$array=GetDataJrnPdf($cn,$HTTP_POST_VARS);
|
||||||
|
$pdf=& new Cezpdf();
|
||||||
|
$pdf->selectFont('./fonts/Helvetica.afm');
|
||||||
|
$pdf->ezTable($array,array ('j_date' => 'Date',
|
||||||
|
'description' => 'Description',
|
||||||
|
'deb_montant'=> 'Montant',
|
||||||
|
'cred_montant'=>'Montant'),$name_jrn);
|
||||||
|
$pdf->ezStream();
|
||||||
|
|
||||||
|
?>
|
||||||
135
html/send_jrn_pdf.php
Normal file
135
html/send_jrn_pdf.php
Normal file
|
|
@ -0,0 +1,135 @@
|
||||||
|
<?
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
// $Revision$
|
||||||
|
|
||||||
|
include_once("jrn.php");
|
||||||
|
include_once("ac_common.php");
|
||||||
|
include_once("postgres.php");
|
||||||
|
include_once("class.ezpdf.php");
|
||||||
|
include_once("impress_inc.php");
|
||||||
|
include_once("preference.php");
|
||||||
|
echo_debug("imp pdf journaux");
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
$l_type="JRN";
|
||||||
|
if ( isset ($_POST["central"]) ) {
|
||||||
|
$centr=($_POST["central"]=='no')?" Non centralisé":" centralisé ";
|
||||||
|
$l_type=$_POST["central"] == 'no'?"GL-NOCENTRAL":"GL-CENTRAL";
|
||||||
|
|
||||||
|
}
|
||||||
|
if ( $_POST["filter"] == YES) {
|
||||||
|
$name_jrn=GetJrnName($cn,$_POST["p_id"]);
|
||||||
|
} else {
|
||||||
|
$name_jrn="Grand livre ".$centr;
|
||||||
|
}
|
||||||
|
$ret="";
|
||||||
|
$pdf=& new Cezpdf("A4");
|
||||||
|
$pdf->selectFont('./addon/fonts/Helvetica.afm');
|
||||||
|
|
||||||
|
$offset=0;$limit=35;$step=35;
|
||||||
|
$rap_deb=0;$rap_cred=0;
|
||||||
|
while (1) {
|
||||||
|
$a=0;
|
||||||
|
list ($a_jrn,$tot_deb,$tot_cred)=GetDataJrnPdf($cn,$HTTP_POST_VARS,$limit,$offset);
|
||||||
|
echo_debug("Total debit $tot_deb,credit $tot_cred");
|
||||||
|
|
||||||
|
if ( $a_jrn==null) break;
|
||||||
|
$offset+=$step;
|
||||||
|
foreach ($a_jrn as $key=>$element) {
|
||||||
|
echo_debug("$key => $element");
|
||||||
|
foreach ($element as $c1=>$c2)
|
||||||
|
echo_debug("Array is $c1 => $c2");
|
||||||
|
}
|
||||||
|
$first_id=$a_jrn[0]['j_id'];
|
||||||
|
$Exercice=GetExercice($cn,$a_jrn[0]['periode']);
|
||||||
|
|
||||||
|
|
||||||
|
list($rap_deb,$rap_cred)=GetRappel($cn,$first_id,$_POST["p_id"],$Exercice,FIRST,$l_type);
|
||||||
|
echo_debug("MONTANT $rap_deb,$rap_cred");
|
||||||
|
echo_debug(" list($rap_deb,$rap_cred)=GetRappel($cn,$first_id,".$_POST["p_id"].",$Exercice,FIRST)");
|
||||||
|
|
||||||
|
$pdf->ezText($name_jrn,30);
|
||||||
|
$str_debit=sprintf( "report Débit % 10.2f",$rap_deb);
|
||||||
|
$str_credit=sprintf("report Crédit % 10.2f",$rap_cred);
|
||||||
|
$pdf->ezText($str_debit,12,array('justification'=>'right'));
|
||||||
|
$pdf->ezText($str_credit,12,array('justification'=>'right'));
|
||||||
|
|
||||||
|
$pdf->ezTable($a_jrn,
|
||||||
|
array ('internal'=>'Opération',
|
||||||
|
'j_date' => 'Date',
|
||||||
|
'poste'=>'Poste',
|
||||||
|
'description' => 'Description',
|
||||||
|
'deb_montant'=> 'Débit',
|
||||||
|
'cred_montant'=>'Crédit')," ",
|
||||||
|
array('shaded'=>0,'showHeadings'=>1,'width'=>500,
|
||||||
|
'cols'=>array('deb_montant'=> array('justification'=>'right'),
|
||||||
|
'cred_montant'=> array('justification'=>'right'))));
|
||||||
|
$a=1;
|
||||||
|
// Total Page
|
||||||
|
$apage=array(array('deb'=>sprintf("%8.2f",$tot_deb),'cred'=>$tot_cred));
|
||||||
|
foreach ($apage as $key=>$element) echo_debug ("apage $key => $element");
|
||||||
|
$pdf->ezTable($apage,
|
||||||
|
array (
|
||||||
|
'deb'=> 'Total Débit',
|
||||||
|
'cred'=>'Total Crédit')," ",
|
||||||
|
array('shaded'=>0,'showHeadings'=>1,'width'=>200,
|
||||||
|
'xPos'=>'right','xOrientation'=>'left',
|
||||||
|
'cols'=>array('deb'=> array('justification'=>'right'),
|
||||||
|
'cred'=> array('justification'=>'right'))));
|
||||||
|
|
||||||
|
$count=count($a_jrn)-1;
|
||||||
|
$last_id=$a_jrn[$count]['j_id'];
|
||||||
|
$Exercice=GetExercice($cn,$a_jrn[$count]['periode']);
|
||||||
|
|
||||||
|
list($rap_deb,$rap_cred)=GetRappel($cn,$last_id,$_POST["p_id"],$Exercice,LAST,$l_type);
|
||||||
|
$str_debit=sprintf( "à reporter Débit % 10.2f",$rap_deb);
|
||||||
|
$str_credit=sprintf("à reporter Crédit % 10.2f",$rap_cred);
|
||||||
|
$pdf->ezText($str_debit,12,array('justification'=>'right'));
|
||||||
|
$pdf->ezText($str_credit,12,array('justification'=>'right'));
|
||||||
|
|
||||||
|
//New page
|
||||||
|
$pdf->ezNewPage();
|
||||||
|
}
|
||||||
|
if ( $a == 1 ) {
|
||||||
|
$apage=array('deb'=>$tot_deb,'cred'=>$tot_cred);
|
||||||
|
$pdf->ezTable($apage,
|
||||||
|
array (
|
||||||
|
'deb'=> 'Total Débit',
|
||||||
|
'cred'=>'Total Crédit')," ",
|
||||||
|
array('shaded'=>0,'showHeadings'=>1,'width'=>500,
|
||||||
|
'cols'=>array('deb'=> array('justification'=>'right'),
|
||||||
|
'cred'=> array('justification'=>'right'))));
|
||||||
|
$count=count($a_jrn)-1;
|
||||||
|
$last_id=$a_jrn[$count]['j_id'];
|
||||||
|
$Exercice=GetExercice($cn,$a_jrn[$count]['periode']);
|
||||||
|
|
||||||
|
list($rap_deb,$rap_cred)=GetRappel($cn,$last_id,$_POST["p_id"],$Exercice,LAST,$l_type);
|
||||||
|
$str_debit=sprintf( "à reporter Débit % 10.2f",$rap_deb);
|
||||||
|
$str_credit=sprintf("à reporter Crédit % 10.2f",$rap_cred);
|
||||||
|
$pdf->ezText($str_debit,12,array('justification'=>'right'));
|
||||||
|
$pdf->ezText($str_credit,12,array('justification'=>'right'));
|
||||||
|
|
||||||
|
}
|
||||||
|
$pdf->ezStream();
|
||||||
|
|
||||||
|
?>
|
||||||
70
html/send_poste_pdf.php
Normal file
70
html/send_poste_pdf.php
Normal file
|
|
@ -0,0 +1,70 @@
|
||||||
|
<?
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
// $Revision$
|
||||||
|
|
||||||
|
include_once("jrn.php");
|
||||||
|
include_once("ac_common.php");
|
||||||
|
include_once("postgres.php");
|
||||||
|
include_once("class.ezpdf.php");
|
||||||
|
include_once("impress_inc.php");
|
||||||
|
include("poste.php");
|
||||||
|
echo_debug("imp pdf journaux");
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_Db);
|
||||||
|
foreach ($HTTP_POST_VARS as $key=>$element) {
|
||||||
|
${"$key"}=$element;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$ret="";
|
||||||
|
$pdf=& new Cezpdf();
|
||||||
|
$pdf->selectFont('./addon/fonts/Helvetica.afm');
|
||||||
|
$cond=CreatePeriodeCond($periode);
|
||||||
|
//$rap_deb=0;$rap_cred=0;
|
||||||
|
for ( $i =0;$i<count($poste);$i++) {
|
||||||
|
|
||||||
|
$Libelle=sprintf("(%s) %s ",$poste[$i],GetPosteLibelle($cn,$poste[$i],1));
|
||||||
|
list($array,$tot_deb,$tot_cred)=GetDataPoste($cn,$poste[$i],$cond);
|
||||||
|
|
||||||
|
// $pdf->ezText($Libelle,30);
|
||||||
|
$pdf->ezTable($array,
|
||||||
|
array ('jr_internal'=>'Opération',
|
||||||
|
'j_date' => 'Date',
|
||||||
|
'jrn_name'=>'Journal',
|
||||||
|
'debit'=> 'Type',
|
||||||
|
'montant'=> 'Montant',
|
||||||
|
),$Libelle,
|
||||||
|
array('shaded'=>0,'showHeadings'=>1,'width'=>500,
|
||||||
|
'cols'=>array('montant'=> array('justification'=>'right'),
|
||||||
|
)));
|
||||||
|
$str_debit=sprintf("Débit % 12.2f",$tot_deb);
|
||||||
|
$str_cred=sprintf("Crédit % 12.2f",$tot_cred);
|
||||||
|
$pdf->ezText($str_debit,14,array('justification'=>'right'));
|
||||||
|
$pdf->ezText($str_cred,14,array('justification'=>'right'));
|
||||||
|
|
||||||
|
//New page
|
||||||
|
$pdf->ezNewPage();
|
||||||
|
}
|
||||||
|
|
||||||
|
$pdf->ezStream();
|
||||||
|
|
||||||
|
?>
|
||||||
94
html/user_pref.php
Normal file
94
html/user_pref.php
Normal file
|
|
@ -0,0 +1,94 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
if ( isset ($g_dossier) ) {
|
||||||
|
if ( $g_dossier != 0 ) ShowMenuCompta($g_dossier);
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
} else {
|
||||||
|
ShowMenuComptaRight();
|
||||||
|
}
|
||||||
|
echo '<DIV class="ccontent">';
|
||||||
|
|
||||||
|
if ( isset ($spass) ) {
|
||||||
|
if ( $pass_1 != $pass_2 ) {
|
||||||
|
?>
|
||||||
|
<script>
|
||||||
|
alert("Les mots de passe ne correspondent pas. Mot de passe inchangé");
|
||||||
|
</script>
|
||||||
|
<?
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$Cn=DbConnect();
|
||||||
|
$l_pass=md5($pass_1);
|
||||||
|
$Res=ExecSql($Cn,"update ac_users set use_pass='$l_pass' where use_login='$user'");
|
||||||
|
$pass=$pass_1;
|
||||||
|
echo '<H2 class="info"> Mot de passe changé </H1>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
<H2 CLASS="info"> Password</H2>
|
||||||
|
<FORM ACTION="user_pref.php" METHOD="POST">
|
||||||
|
<TABLE ALIGN="CENTER">
|
||||||
|
<TR><TD><input type="password" name="pass_1"></TD></TR>
|
||||||
|
<TR><TD><input type="password" name="pass_2"></TD></TR>
|
||||||
|
<TR><TD><input type="submit" name="spass" value="Change mot de passe"></TD></TR>
|
||||||
|
</TABLE>
|
||||||
|
</FORM>
|
||||||
|
<?
|
||||||
|
if ( isset ($g_dossier) ) {
|
||||||
|
|
||||||
|
include_once("preference.php");
|
||||||
|
$l_dossier=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn=DbConnect($l_dossier);
|
||||||
|
|
||||||
|
if ( isset ($_POST["sub_periode"] ) ) {
|
||||||
|
$periode=$_POST["periode"];
|
||||||
|
SetUserPeriode($cn,$periode,$user);
|
||||||
|
}
|
||||||
|
|
||||||
|
$l_user_per=GetUserPeriode($cn,$user);
|
||||||
|
$l_form_per=FormPeriode($cn,$l_user_per);
|
||||||
|
|
||||||
|
?>
|
||||||
|
<H2 CLASS="info"> Période</H2>
|
||||||
|
<FORM ACTION="user_pref.php" METHOD="POST">
|
||||||
|
<TABLE ALIGN="CENTER">
|
||||||
|
<TR><TD>PERIODE</TD>
|
||||||
|
<? printf('<TD> %s </TD></TR>',$l_form_per); ?>
|
||||||
|
<TR><TD><input type="submit" name="sub_periode" value="Sauve"></TD></TR>
|
||||||
|
</TABLE>
|
||||||
|
</FORM>
|
||||||
|
|
||||||
|
<?
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "</DIV>";
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
231
html/user_sec.php
Normal file
231
html/user_sec.php
Normal file
|
|
@ -0,0 +1,231 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
/* $Revision$ */
|
||||||
|
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
include_once("check_priv.php");
|
||||||
|
html_page_start();
|
||||||
|
if ( ! isset ( $g_dossier ) ) {
|
||||||
|
echo "You must choose a Dossier ";
|
||||||
|
exit -2;
|
||||||
|
}
|
||||||
|
include_once ("postgres.php");
|
||||||
|
/* Admin. Dossier */
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
include_once ("top_menu_compta.php");
|
||||||
|
ShowMenuCompta($g_dossier);
|
||||||
|
ShowMenuComptaRight($g_dossier);
|
||||||
|
if ( CheckAdmin() == 0 ) {
|
||||||
|
$r=CheckAction($g_dossier,$user,SECU);
|
||||||
|
if ($r == 0 ){
|
||||||
|
/* Cannot Access */
|
||||||
|
NoAccess();
|
||||||
|
exit -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$cn=DbConnect();
|
||||||
|
$User=ExecSql($cn,"select use_id,use_first_name,use_name,use_login from ac_users where use_login != 'webcompta'");
|
||||||
|
$MaxUser=pg_NumRows($User);
|
||||||
|
|
||||||
|
|
||||||
|
echo '<DIV CLASS="ccontent">';
|
||||||
|
echo '<TABLE CELLSPACING="20" ALIGN="CENTER">';
|
||||||
|
for ($i = 0;$i < $MaxUser;$i++) {
|
||||||
|
$l_line=pg_fetch_array($User,$i);
|
||||||
|
// echo '<TR>';
|
||||||
|
if ( $i % 3 == 0 && $i != 0)
|
||||||
|
echo "</TR><TR>";
|
||||||
|
|
||||||
|
printf ('<TD><A href="user_sec.php?action=view&user_id=%s">%s %s ( %s )</A></TD>',
|
||||||
|
$l_line['use_id'],
|
||||||
|
$l_line['use_first_name'],
|
||||||
|
$l_line['use_name'],
|
||||||
|
$l_line['use_login'] );
|
||||||
|
|
||||||
|
}
|
||||||
|
echo "</TR>";
|
||||||
|
echo '</TABLE>';
|
||||||
|
$action="";
|
||||||
|
if ( isset ($_GET["action"] )) {
|
||||||
|
$action=$_GET["action"];
|
||||||
|
}
|
||||||
|
if ( $action == "change_jrn" ) {
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
echo_debug ("select * from user_sec_jrn where uj_login='$login' and uj_jrn_id=$jrn");
|
||||||
|
$cn_dossier=DbConnect($l_Db);
|
||||||
|
$l2_Res=ExecSql($cn_dossier,
|
||||||
|
"select * from user_sec_jrn where uj_login='$login' and uj_jrn_id=$jrn");
|
||||||
|
$l2_count=pg_NumRows($l2_Res);
|
||||||
|
if ( $l2_count == 1 ) {
|
||||||
|
$Res=ExecSql($cn_dossier,"update user_sec_jrn set uj_priv='$access' where uj_login='$login' and uj_jrn_id=$jrn");
|
||||||
|
} else {
|
||||||
|
$Res=ExecSql($cn_dossier,"insert into user_sec_jrn(uj_login,uj_jrn_id,uj_priv) values( '$login' ,$jrn,'$access')");
|
||||||
|
}
|
||||||
|
|
||||||
|
$action="view";
|
||||||
|
}
|
||||||
|
if ( $action == "change_act" ) {
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn_dossier=DbConnect($l_Db);
|
||||||
|
if ( $access==0) {
|
||||||
|
echo_debug("delete right");
|
||||||
|
$Res=ExecSql($cn_dossier,
|
||||||
|
"delete from user_sec_act where ua_login='$login' and ua_act_id=$act");
|
||||||
|
} else {
|
||||||
|
echo_debug("insert right");
|
||||||
|
$Res=ExecSql($cn_dossier,
|
||||||
|
"insert into user_sec_act(ua_login,ua_act_id) values( '$login' ,$act)");
|
||||||
|
}
|
||||||
|
$action="view";
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( $action == "view" ) {
|
||||||
|
$l_Db=sprintf("dossier%d",$g_dossier);
|
||||||
|
$cn_dossier=DbConnect($l_Db);
|
||||||
|
$cn=DbConnect();
|
||||||
|
$User=ExecSql($cn,
|
||||||
|
"select use_id,use_first_name,use_name,use_login
|
||||||
|
from ac_users where use_id=$user_id");
|
||||||
|
$MaxUser=pg_NumRows($User);
|
||||||
|
if ( $MaxUser == 0 ) return;
|
||||||
|
$l2_line=pg_fetch_array($User,0);
|
||||||
|
|
||||||
|
printf ('<H2 class="info"> Détail utilisateur %s %s (%s) </H2>',
|
||||||
|
$l2_line['use_first_name'],
|
||||||
|
$l2_line['use_name'],
|
||||||
|
$l2_line['use_login']);
|
||||||
|
$l_dossier=CountSql($cn,"select use_id,dos_id from ac_users natural join jnt_use_dos where use_id=$user_id and dos_id=$g_dossier
|
||||||
|
and use_active=1");
|
||||||
|
if ( $l_dossier == 0 ) {
|
||||||
|
echo "<H2 class=\"info\"> L'utilisateur n'a pas accès à ce dossier ou est désactivé</H2>";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$Res=ExecSql($cn_dossier,"select jrn_def_id,jrn_def_name from jrn_def ");
|
||||||
|
$admin=CheckIsAdmin($l2_line['use_login']);
|
||||||
|
|
||||||
|
echo '<table align="CENTER">';
|
||||||
|
$MaxJrn=pg_NumRows($Res);
|
||||||
|
for ( $i =0 ; $i < $MaxJrn; $i++ ) {
|
||||||
|
$l_line=pg_fetch_array($Res,$i);
|
||||||
|
echo '<TR> ';
|
||||||
|
if ( $i == 0 ) echo '<TD> <B> Journal </B> </TD>';else echo "<TD></TD>";
|
||||||
|
echo "<TD> $l_line[jrn_def_name] </TD>";
|
||||||
|
|
||||||
|
$l_change="action=change_jrn&jrn=$l_line[jrn_def_id]&login=$l2_line[use_login]&user_id=$l2_line[use_id]";
|
||||||
|
|
||||||
|
if ( $admin == 0) {
|
||||||
|
$right= CheckJrn($g_dossier,$l2_line['use_login'],$l_line['jrn_def_id'] );
|
||||||
|
} else $right = 3;
|
||||||
|
if ( $right == 0 ) {
|
||||||
|
echo "<TD BGCOLOR=RED>";
|
||||||
|
echo "Pas d'accès";
|
||||||
|
echo "</TD>";
|
||||||
|
echo '<TD class="mtitle"> <A CLASS="mtitle" HREF="user_sec.php?'.$l_change.'&access=R"> Lecture</A></TD>';
|
||||||
|
echo '<TD class="mtitle"> <A CLASS="mtitle" HREF="user_sec.php?'.$l_change.'&access=W"> Ecriture</A></TD>';
|
||||||
|
|
||||||
|
}
|
||||||
|
if ( $right == 1 ) {
|
||||||
|
echo '<TD class="mtitle"> <A CLASS="mtitle" HREF="user_sec.php?'.$l_change.'&access=X"> Pas d\'accès</A></TD>';
|
||||||
|
echo "<TD BGCOLOR=\"#3BCD27\">";
|
||||||
|
echo "Lecture accordée";
|
||||||
|
echo "</TD>";
|
||||||
|
echo '<TD class="mtitle"> <A CLASS="mtitle" HREF="user_sec.php?'.$l_change.'&access=W"> Ecriture</A></TD>';
|
||||||
|
}
|
||||||
|
if ( $right == 2 ) {
|
||||||
|
echo '<TD class="mtitle"> <A CLASS="mtitle" HREF="user_sec.php?'.$l_change.'&access=X"> Pas d\'accès</A></TD>';
|
||||||
|
echo '<TD class="mtitle"> <A CLASS="mtitle" HREF="user_sec.php?'.$l_change.'&access=R"> Lecture</A></TD>';
|
||||||
|
|
||||||
|
echo "<TD BGCOLOR=\"#3BCD27\">";
|
||||||
|
echo "Ecriture accordée";
|
||||||
|
echo "</TD>";
|
||||||
|
|
||||||
|
}
|
||||||
|
if ( $right == 3 ) {
|
||||||
|
echo '<TD class="mtitle"> Pas d\'accès</TD>';
|
||||||
|
echo '<TD class="mtitle"> Lecture </TD>';
|
||||||
|
|
||||||
|
echo "<TD BGCOLOR=\"#3BCD27\">";
|
||||||
|
echo "Ecriture accordée";
|
||||||
|
echo "</TD>";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
echo '</TR>';
|
||||||
|
}
|
||||||
|
|
||||||
|
$Res=ExecSql($cn_dossier,
|
||||||
|
"select ac_id, ac_description from action order by ac_description ");
|
||||||
|
|
||||||
|
$MaxJrn=pg_NumRows($Res);
|
||||||
|
|
||||||
|
for ( $i =0 ; $i < $MaxJrn; $i++ ) {
|
||||||
|
$l_line=pg_fetch_array($Res,$i);
|
||||||
|
echo '<TR> ';
|
||||||
|
if ( $i == 0 ) echo '<TD> <B> Action <B></TD>';else echo "<TD></TD>";
|
||||||
|
echo "<TD>". $l_line['ac_description']." </TD>";
|
||||||
|
|
||||||
|
$l_change="action=change_act&act=".$l_line['ac_id']."&login=".$l2_line['use_login']."&user_id=".$l2_line['use_id'];
|
||||||
|
if ( $admin ==0 ) {
|
||||||
|
$right=CheckAction($g_dossier,$l2_line['use_login'],$l_line['ac_id']);
|
||||||
|
} else {
|
||||||
|
$right = 2;
|
||||||
|
}
|
||||||
|
if ( $right == 0 ) {
|
||||||
|
echo "<TD BGCOLOR=RED>";
|
||||||
|
echo "Pas d'accès";
|
||||||
|
echo "</TD>";
|
||||||
|
$l_change=$l_change."&access=1";
|
||||||
|
echo '<TD class="mtitle"> <A CLASS="mtitle" HREF="user_sec.php?'.$l_change.'"> Accès </A></TD>';
|
||||||
|
}
|
||||||
|
if ( $right == 1) {
|
||||||
|
$l_change=$l_change."&access=0";
|
||||||
|
echo '<TD class="mtitle"> <A CLASS="mtitle" HREF="user_sec.php?'.$l_change.'"> Pas d\'accès </A></TD>';
|
||||||
|
echo "<TD BGCOLOR=\"#3BCD27\">";
|
||||||
|
echo "Accès accordé";
|
||||||
|
echo "</TD>";
|
||||||
|
|
||||||
|
}
|
||||||
|
if ( $right == 2) {
|
||||||
|
|
||||||
|
echo '<TD class="mtitle"> Change </TD>';
|
||||||
|
echo "<TD BGCOLOR=\"#3BCD27\">";
|
||||||
|
echo "Accès accordé";
|
||||||
|
echo "</TD>";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
echo '</TR>';
|
||||||
|
}
|
||||||
|
|
||||||
|
echo '</TABLE>';
|
||||||
|
|
||||||
|
}
|
||||||
|
echo "</DIV>";
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
31
html/verif.php
Normal file
31
html/verif.php
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
<?
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
||||||
|
include_once ("ac_common.php");
|
||||||
|
html_page_start();
|
||||||
|
session_unset();
|
||||||
|
include_once("postgres.php");
|
||||||
|
echo "p_user $p_user p_pass $p_pass";
|
||||||
|
$user=$_POST[p_user];
|
||||||
|
$pass=$_POST[p_pass];
|
||||||
|
|
||||||
|
CheckUser();
|
||||||
|
|
||||||
|
html_page_stop();
|
||||||
|
?>
|
||||||
22
html/win_detail_jrn.js
Normal file
22
html/win_detail_jrn.js
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
function viewDetail(p_value,p_sessid)
|
||||||
|
{
|
||||||
|
var win=window.open('jrn_op_detail.php?jrn_op='+p_value+'&PHPSESSID='+p_sessid,'Cherche','toolbar=no,width=400,height=200');
|
||||||
|
}
|
||||||
|
|
||||||
29
html/win_search_jrn.js
Normal file
29
html/win_search_jrn.js
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
function SearchJrn(p_sessid)
|
||||||
|
{
|
||||||
|
var win=window.open('jrn_search.php?PHPSESSID='+p_sessid,'Cherche','toolbar=no,width=600,height=600,scrollbar');
|
||||||
|
}
|
||||||
|
function GetIt(p_value) {
|
||||||
|
self.opener.SetIt(p_value);
|
||||||
|
window.close();
|
||||||
|
}
|
||||||
|
function SetIt(p_value) {
|
||||||
|
document.encoding.rapt.value=p_value;
|
||||||
|
|
||||||
|
}
|
||||||
24
html/win_search_poste.js
Normal file
24
html/win_search_poste.js
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
function SearchPoste(p_sessid)
|
||||||
|
{
|
||||||
|
var win=window.open('poste_search.php?PHPSESSID='+p_sessid,'Cherche','scrollbar,toolbar=no,width=600,height=600');
|
||||||
|
}
|
||||||
|
function GetIt() {
|
||||||
|
window.close();
|
||||||
|
}
|
||||||
99
install.sh
Executable file
99
install.sh
Executable file
|
|
@ -0,0 +1,99 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# $Revision$
|
||||||
|
# This file is part of WCOMPTA.
|
||||||
|
# WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
# WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with WCOMPTA; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
#
|
||||||
|
|
||||||
|
export PATH=/opt/psql732/bin:$PATH
|
||||||
|
export PGDATA=/opt/database
|
||||||
|
|
||||||
|
VerifOutil() {
|
||||||
|
RESULT="Verif. $1"
|
||||||
|
A=`type $1 2> /dev/null`
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo $RESULT"...Failed"
|
||||||
|
exit
|
||||||
|
else
|
||||||
|
echo "$RESULT...Success"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
#Verification des outil
|
||||||
|
echo "Verification des outil"
|
||||||
|
echo "----------------------"
|
||||||
|
VerifOutil "psql"
|
||||||
|
VerifOutil "createdb"
|
||||||
|
# Base de données
|
||||||
|
DB=`psql -l`
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "problem avec Postgres"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Repository exist ?
|
||||||
|
REPO=`echo $DB|grep account_repository|wc -l`
|
||||||
|
if [ $REPO -eq 0 ]; then
|
||||||
|
OWNER=webcompta
|
||||||
|
echo "Creation de la base de donnee"
|
||||||
|
createuser -A -d $OWNER
|
||||||
|
createdb -E latin1 -O $OWNER account_repository
|
||||||
|
|
||||||
|
PSQL="psql -U $OWNER account_repository"
|
||||||
|
# $PSQL < sql/create_repository.sql
|
||||||
|
# $PSQL < sql/ac_pcmn.sql
|
||||||
|
$PSQL < sql/ac_users.sql
|
||||||
|
$PSQL < sql/ac_dossier.sql
|
||||||
|
$PSQL < sql/jnt_use_dos.sql
|
||||||
|
$PSQL < sql/version.sql
|
||||||
|
$PSQL < sql/priv_user.sql
|
||||||
|
createdb -E latin1 -O $OWNER templ_account
|
||||||
|
PSQL="psql -U $OWNER templ_account "
|
||||||
|
$PSQL < sql/tmp_pcmn.sql
|
||||||
|
$PSQL < sql/insert_pcmn.sql
|
||||||
|
$PSQL < sql/version.sql
|
||||||
|
$PSQL < sql/dos_pref.sql
|
||||||
|
$PSQL < sql/journal.sql
|
||||||
|
$PSQL < sql/user_sec.sql
|
||||||
|
$PSQL < sql/user_pref.sql
|
||||||
|
$PSQL < sql/form.sql
|
||||||
|
$PSQL < sql/fiche.sql
|
||||||
|
$PSQL < sql/centralized.sql
|
||||||
|
|
||||||
|
# if [ -w $PG_DATA/pg_hba.conf ]; then
|
||||||
|
# echo "host account_repository all 127.0.0.1 255.255.255.255 password" >> $PG_DATA/pg_hba.conf
|
||||||
|
# else
|
||||||
|
# echo "Error PG_DATA is not correct"
|
||||||
|
# exit 2
|
||||||
|
# fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Installation des sources
|
||||||
|
export COMPTA_HOME=/home/httpd/compta
|
||||||
|
[ ! -d $COMPTA_HOME/html ] && mkdir $COMPTA_HOME/html
|
||||||
|
[ ! -d $COMPTA_HOME/include ] && mkdir $COMPTA_HOME/include
|
||||||
|
echo "Installing source"
|
||||||
|
cp -fr include/*.php $COMPTA_HOME/include
|
||||||
|
cp -fr html/*.html $COMPTA_HOME/html
|
||||||
|
for i in include/*.php ;do
|
||||||
|
A=`basename $i`
|
||||||
|
sed "s/echo_debug\S*(\"/echo_debug(\"include\/$A:\".__LINE__.'--'.\"/g" $i > $COMPTA_HOME/include/`basename $i`
|
||||||
|
done
|
||||||
|
for i in html/*.php ;do
|
||||||
|
A=`basename $i`
|
||||||
|
sed "s/echo_debug.*(\"/echo_debug(\"html\/$A:\".__LINE__.'--'.\"/g" $i > $COMPTA_HOME/html/`basename $i`
|
||||||
|
done
|
||||||
|
cp -f style.css $COMPTA_HOME/html
|
||||||
|
cp -f html/*.js $COMPTA_HOME/html
|
||||||
|
cp -fR addon $COMPTA_HOME/html
|
||||||
138
license.txt
Normal file
138
license.txt
Normal file
|
|
@ -0,0 +1,138 @@
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and modification follow.
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
* a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
* b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
|
||||||
|
|
||||||
|
* c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
* a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
* b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
* c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
one line to give the program's name and an idea of what it does.
|
||||||
|
Copyright (C) yyyy name of author
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
Gnomovision version 69, Copyright (C) year name of author
|
||||||
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
|
||||||
|
type `show w'. This is free software, and you are welcome
|
||||||
|
to redistribute it under certain conditions; type `show c'
|
||||||
|
for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright
|
||||||
|
interest in the program `Gnomovision'
|
||||||
|
(which makes passes at compilers) written
|
||||||
|
by James Hacker.
|
||||||
|
|
||||||
|
signature of Ty Coon, 1 April 1989
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
|
||||||
503
log
Normal file
503
log
Normal file
|
|
@ -0,0 +1,503 @@
|
||||||
|
Verification des outil
|
||||||
|
----------------------
|
||||||
|
Verif. psql...Success
|
||||||
|
Verif. createdb...Success
|
||||||
|
Creation de la base de donnee
|
||||||
|
CREATE USER
|
||||||
|
CREATE DATABASE
|
||||||
|
./install.sh: sql/create_repository.sql: No such file or directory
|
||||||
|
./install.sh: sql/ac_pcmn.sql: No such file or directory
|
||||||
|
CREATE SEQUENCE
|
||||||
|
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'ac_users_pkey' for table 'ac_users'
|
||||||
|
NOTICE: CREATE TABLE / UNIQUE will create implicit index 'ac_users_use_login_key' for table 'ac_users'
|
||||||
|
CREATE TABLE
|
||||||
|
INSERT 18549 1
|
||||||
|
GRANT
|
||||||
|
ERROR: table "tmp_pcmn" does not exist
|
||||||
|
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'tmp_pcmn_pkey' for table 'tmp_pcmn'
|
||||||
|
CREATE TABLE
|
||||||
|
INSERT 18559 1
|
||||||
|
INSERT 18560 1
|
||||||
|
INSERT 18561 1
|
||||||
|
INSERT 18562 1
|
||||||
|
INSERT 18563 1
|
||||||
|
INSERT 18564 1
|
||||||
|
INSERT 18565 1
|
||||||
|
INSERT 18566 1
|
||||||
|
INSERT 18567 1
|
||||||
|
INSERT 18568 1
|
||||||
|
INSERT 18569 1
|
||||||
|
INSERT 18570 1
|
||||||
|
INSERT 18571 1
|
||||||
|
INSERT 18572 1
|
||||||
|
INSERT 18573 1
|
||||||
|
INSERT 18574 1
|
||||||
|
INSERT 18575 1
|
||||||
|
INSERT 18576 1
|
||||||
|
INSERT 18577 1
|
||||||
|
INSERT 18578 1
|
||||||
|
INSERT 18579 1
|
||||||
|
INSERT 18580 1
|
||||||
|
INSERT 18581 1
|
||||||
|
INSERT 18582 1
|
||||||
|
INSERT 18583 1
|
||||||
|
INSERT 18584 1
|
||||||
|
INSERT 18585 1
|
||||||
|
INSERT 18586 1
|
||||||
|
INSERT 18587 1
|
||||||
|
INSERT 18588 1
|
||||||
|
INSERT 18589 1
|
||||||
|
INSERT 18590 1
|
||||||
|
INSERT 18591 1
|
||||||
|
INSERT 18592 1
|
||||||
|
INSERT 18593 1
|
||||||
|
INSERT 18594 1
|
||||||
|
INSERT 18595 1
|
||||||
|
INSERT 18596 1
|
||||||
|
INSERT 18597 1
|
||||||
|
INSERT 18598 1
|
||||||
|
INSERT 18599 1
|
||||||
|
INSERT 18600 1
|
||||||
|
INSERT 18601 1
|
||||||
|
INSERT 18602 1
|
||||||
|
INSERT 18603 1
|
||||||
|
INSERT 18604 1
|
||||||
|
INSERT 18605 1
|
||||||
|
INSERT 18606 1
|
||||||
|
INSERT 18607 1
|
||||||
|
INSERT 18608 1
|
||||||
|
INSERT 18609 1
|
||||||
|
INSERT 18610 1
|
||||||
|
INSERT 18611 1
|
||||||
|
INSERT 18612 1
|
||||||
|
INSERT 18613 1
|
||||||
|
INSERT 18614 1
|
||||||
|
INSERT 18615 1
|
||||||
|
INSERT 18616 1
|
||||||
|
INSERT 18617 1
|
||||||
|
INSERT 18618 1
|
||||||
|
INSERT 18619 1
|
||||||
|
INSERT 18620 1
|
||||||
|
INSERT 18621 1
|
||||||
|
INSERT 18622 1
|
||||||
|
INSERT 18623 1
|
||||||
|
INSERT 18624 1
|
||||||
|
INSERT 18625 1
|
||||||
|
INSERT 18626 1
|
||||||
|
INSERT 18627 1
|
||||||
|
INSERT 18628 1
|
||||||
|
INSERT 18629 1
|
||||||
|
INSERT 18630 1
|
||||||
|
INSERT 18631 1
|
||||||
|
INSERT 18632 1
|
||||||
|
INSERT 18633 1
|
||||||
|
INSERT 18634 1
|
||||||
|
INSERT 18635 1
|
||||||
|
INSERT 18636 1
|
||||||
|
INSERT 18637 1
|
||||||
|
INSERT 18638 1
|
||||||
|
INSERT 18639 1
|
||||||
|
INSERT 18640 1
|
||||||
|
INSERT 18641 1
|
||||||
|
INSERT 18642 1
|
||||||
|
INSERT 18643 1
|
||||||
|
INSERT 18644 1
|
||||||
|
INSERT 18645 1
|
||||||
|
INSERT 18646 1
|
||||||
|
INSERT 18647 1
|
||||||
|
INSERT 18648 1
|
||||||
|
INSERT 18649 1
|
||||||
|
INSERT 18650 1
|
||||||
|
INSERT 18651 1
|
||||||
|
INSERT 18652 1
|
||||||
|
INSERT 18653 1
|
||||||
|
INSERT 18654 1
|
||||||
|
INSERT 18655 1
|
||||||
|
INSERT 18656 1
|
||||||
|
INSERT 18657 1
|
||||||
|
INSERT 18658 1
|
||||||
|
INSERT 18659 1
|
||||||
|
INSERT 18660 1
|
||||||
|
INSERT 18661 1
|
||||||
|
INSERT 18662 1
|
||||||
|
INSERT 18663 1
|
||||||
|
INSERT 18664 1
|
||||||
|
INSERT 18665 1
|
||||||
|
INSERT 18666 1
|
||||||
|
INSERT 18667 1
|
||||||
|
INSERT 18668 1
|
||||||
|
INSERT 18669 1
|
||||||
|
INSERT 18670 1
|
||||||
|
INSERT 18671 1
|
||||||
|
INSERT 18672 1
|
||||||
|
INSERT 18673 1
|
||||||
|
INSERT 18674 1
|
||||||
|
INSERT 18675 1
|
||||||
|
INSERT 18676 1
|
||||||
|
INSERT 18677 1
|
||||||
|
INSERT 18678 1
|
||||||
|
INSERT 18679 1
|
||||||
|
INSERT 18680 1
|
||||||
|
INSERT 18681 1
|
||||||
|
INSERT 18682 1
|
||||||
|
INSERT 18683 1
|
||||||
|
INSERT 18684 1
|
||||||
|
INSERT 18685 1
|
||||||
|
INSERT 18686 1
|
||||||
|
INSERT 18687 1
|
||||||
|
INSERT 18688 1
|
||||||
|
INSERT 18689 1
|
||||||
|
INSERT 18690 1
|
||||||
|
INSERT 18691 1
|
||||||
|
INSERT 18692 1
|
||||||
|
INSERT 18693 1
|
||||||
|
INSERT 18694 1
|
||||||
|
INSERT 18695 1
|
||||||
|
INSERT 18696 1
|
||||||
|
INSERT 18697 1
|
||||||
|
INSERT 18698 1
|
||||||
|
INSERT 18699 1
|
||||||
|
INSERT 18700 1
|
||||||
|
INSERT 18701 1
|
||||||
|
INSERT 18702 1
|
||||||
|
INSERT 18703 1
|
||||||
|
INSERT 18704 1
|
||||||
|
INSERT 18705 1
|
||||||
|
INSERT 18706 1
|
||||||
|
INSERT 18707 1
|
||||||
|
INSERT 18708 1
|
||||||
|
INSERT 18709 1
|
||||||
|
INSERT 18710 1
|
||||||
|
INSERT 18711 1
|
||||||
|
INSERT 18712 1
|
||||||
|
INSERT 18713 1
|
||||||
|
INSERT 18714 1
|
||||||
|
INSERT 18715 1
|
||||||
|
INSERT 18716 1
|
||||||
|
INSERT 18717 1
|
||||||
|
INSERT 18718 1
|
||||||
|
INSERT 18719 1
|
||||||
|
INSERT 18720 1
|
||||||
|
INSERT 18721 1
|
||||||
|
INSERT 18722 1
|
||||||
|
INSERT 18723 1
|
||||||
|
INSERT 18724 1
|
||||||
|
INSERT 18725 1
|
||||||
|
INSERT 18726 1
|
||||||
|
INSERT 18727 1
|
||||||
|
INSERT 18728 1
|
||||||
|
INSERT 18729 1
|
||||||
|
INSERT 18730 1
|
||||||
|
INSERT 18731 1
|
||||||
|
INSERT 18732 1
|
||||||
|
INSERT 18733 1
|
||||||
|
INSERT 18734 1
|
||||||
|
INSERT 18735 1
|
||||||
|
INSERT 18736 1
|
||||||
|
INSERT 18737 1
|
||||||
|
INSERT 18738 1
|
||||||
|
INSERT 18739 1
|
||||||
|
INSERT 18740 1
|
||||||
|
INSERT 18741 1
|
||||||
|
INSERT 18742 1
|
||||||
|
INSERT 18743 1
|
||||||
|
INSERT 18744 1
|
||||||
|
INSERT 18745 1
|
||||||
|
INSERT 18746 1
|
||||||
|
INSERT 18747 1
|
||||||
|
INSERT 18748 1
|
||||||
|
INSERT 18749 1
|
||||||
|
INSERT 18750 1
|
||||||
|
INSERT 18751 1
|
||||||
|
INSERT 18752 1
|
||||||
|
INSERT 18753 1
|
||||||
|
INSERT 18754 1
|
||||||
|
INSERT 18755 1
|
||||||
|
INSERT 18756 1
|
||||||
|
INSERT 18757 1
|
||||||
|
INSERT 18758 1
|
||||||
|
INSERT 18759 1
|
||||||
|
INSERT 18760 1
|
||||||
|
INSERT 18761 1
|
||||||
|
INSERT 18762 1
|
||||||
|
INSERT 18763 1
|
||||||
|
INSERT 18764 1
|
||||||
|
INSERT 18765 1
|
||||||
|
INSERT 18766 1
|
||||||
|
INSERT 18767 1
|
||||||
|
INSERT 18768 1
|
||||||
|
INSERT 18769 1
|
||||||
|
INSERT 18770 1
|
||||||
|
INSERT 18771 1
|
||||||
|
INSERT 18772 1
|
||||||
|
INSERT 18773 1
|
||||||
|
INSERT 18774 1
|
||||||
|
INSERT 18775 1
|
||||||
|
INSERT 18776 1
|
||||||
|
INSERT 18777 1
|
||||||
|
INSERT 18778 1
|
||||||
|
INSERT 18779 1
|
||||||
|
INSERT 18780 1
|
||||||
|
INSERT 18781 1
|
||||||
|
INSERT 18782 1
|
||||||
|
INSERT 18783 1
|
||||||
|
INSERT 18784 1
|
||||||
|
INSERT 18785 1
|
||||||
|
INSERT 18786 1
|
||||||
|
INSERT 18787 1
|
||||||
|
INSERT 18788 1
|
||||||
|
INSERT 18789 1
|
||||||
|
INSERT 18790 1
|
||||||
|
INSERT 18791 1
|
||||||
|
INSERT 18792 1
|
||||||
|
INSERT 18793 1
|
||||||
|
INSERT 18794 1
|
||||||
|
INSERT 18795 1
|
||||||
|
INSERT 18796 1
|
||||||
|
INSERT 18797 1
|
||||||
|
INSERT 18798 1
|
||||||
|
INSERT 18799 1
|
||||||
|
INSERT 18800 1
|
||||||
|
INSERT 18801 1
|
||||||
|
INSERT 18802 1
|
||||||
|
INSERT 18803 1
|
||||||
|
INSERT 18804 1
|
||||||
|
INSERT 18805 1
|
||||||
|
INSERT 18806 1
|
||||||
|
INSERT 18807 1
|
||||||
|
INSERT 18808 1
|
||||||
|
INSERT 18809 1
|
||||||
|
INSERT 18810 1
|
||||||
|
INSERT 18811 1
|
||||||
|
INSERT 18812 1
|
||||||
|
INSERT 18813 1
|
||||||
|
INSERT 18814 1
|
||||||
|
INSERT 18815 1
|
||||||
|
INSERT 18816 1
|
||||||
|
INSERT 18817 1
|
||||||
|
INSERT 18818 1
|
||||||
|
INSERT 18819 1
|
||||||
|
INSERT 18820 1
|
||||||
|
INSERT 18821 1
|
||||||
|
INSERT 18822 1
|
||||||
|
INSERT 18823 1
|
||||||
|
INSERT 18824 1
|
||||||
|
INSERT 18825 1
|
||||||
|
INSERT 18826 1
|
||||||
|
INSERT 18827 1
|
||||||
|
INSERT 18828 1
|
||||||
|
INSERT 18829 1
|
||||||
|
INSERT 18830 1
|
||||||
|
INSERT 18831 1
|
||||||
|
INSERT 18832 1
|
||||||
|
INSERT 18833 1
|
||||||
|
INSERT 18834 1
|
||||||
|
INSERT 18835 1
|
||||||
|
INSERT 18836 1
|
||||||
|
INSERT 18837 1
|
||||||
|
INSERT 18838 1
|
||||||
|
INSERT 18839 1
|
||||||
|
INSERT 18840 1
|
||||||
|
INSERT 18841 1
|
||||||
|
INSERT 18842 1
|
||||||
|
INSERT 18843 1
|
||||||
|
INSERT 18844 1
|
||||||
|
INSERT 18845 1
|
||||||
|
INSERT 18846 1
|
||||||
|
INSERT 18847 1
|
||||||
|
INSERT 18848 1
|
||||||
|
INSERT 18849 1
|
||||||
|
INSERT 18850 1
|
||||||
|
INSERT 18851 1
|
||||||
|
INSERT 18852 1
|
||||||
|
INSERT 18853 1
|
||||||
|
INSERT 18854 1
|
||||||
|
INSERT 18855 1
|
||||||
|
INSERT 18856 1
|
||||||
|
INSERT 18857 1
|
||||||
|
INSERT 18858 1
|
||||||
|
INSERT 18859 1
|
||||||
|
INSERT 18860 1
|
||||||
|
INSERT 18861 1
|
||||||
|
INSERT 18862 1
|
||||||
|
INSERT 18863 1
|
||||||
|
INSERT 18864 1
|
||||||
|
INSERT 18865 1
|
||||||
|
INSERT 18866 1
|
||||||
|
INSERT 18867 1
|
||||||
|
INSERT 18868 1
|
||||||
|
INSERT 18869 1
|
||||||
|
INSERT 18870 1
|
||||||
|
INSERT 18871 1
|
||||||
|
INSERT 18872 1
|
||||||
|
INSERT 18873 1
|
||||||
|
INSERT 18874 1
|
||||||
|
INSERT 18875 1
|
||||||
|
INSERT 18876 1
|
||||||
|
INSERT 18877 1
|
||||||
|
INSERT 18878 1
|
||||||
|
INSERT 18879 1
|
||||||
|
INSERT 18880 1
|
||||||
|
INSERT 18881 1
|
||||||
|
INSERT 18882 1
|
||||||
|
INSERT 18883 1
|
||||||
|
INSERT 18884 1
|
||||||
|
INSERT 18885 1
|
||||||
|
INSERT 18886 1
|
||||||
|
INSERT 18887 1
|
||||||
|
INSERT 18888 1
|
||||||
|
INSERT 18889 1
|
||||||
|
INSERT 18890 1
|
||||||
|
INSERT 18891 1
|
||||||
|
INSERT 18892 1
|
||||||
|
INSERT 18893 1
|
||||||
|
INSERT 18894 1
|
||||||
|
INSERT 18895 1
|
||||||
|
INSERT 18896 1
|
||||||
|
INSERT 18897 1
|
||||||
|
INSERT 18898 1
|
||||||
|
INSERT 18899 1
|
||||||
|
INSERT 18900 1
|
||||||
|
INSERT 18901 1
|
||||||
|
INSERT 18902 1
|
||||||
|
INSERT 18903 1
|
||||||
|
INSERT 18904 1
|
||||||
|
INSERT 18905 1
|
||||||
|
INSERT 18906 1
|
||||||
|
INSERT 18907 1
|
||||||
|
INSERT 18908 1
|
||||||
|
INSERT 18909 1
|
||||||
|
INSERT 18910 1
|
||||||
|
INSERT 18911 1
|
||||||
|
INSERT 18912 1
|
||||||
|
INSERT 18913 1
|
||||||
|
INSERT 18914 1
|
||||||
|
INSERT 18915 1
|
||||||
|
INSERT 18916 1
|
||||||
|
INSERT 18917 1
|
||||||
|
INSERT 18918 1
|
||||||
|
INSERT 18919 1
|
||||||
|
INSERT 18920 1
|
||||||
|
INSERT 18921 1
|
||||||
|
INSERT 18922 1
|
||||||
|
INSERT 18923 1
|
||||||
|
INSERT 18924 1
|
||||||
|
INSERT 18925 1
|
||||||
|
INSERT 18926 1
|
||||||
|
INSERT 18927 1
|
||||||
|
INSERT 18928 1
|
||||||
|
INSERT 18929 1
|
||||||
|
INSERT 18930 1
|
||||||
|
INSERT 18931 1
|
||||||
|
INSERT 18932 1
|
||||||
|
INSERT 18933 1
|
||||||
|
INSERT 18934 1
|
||||||
|
INSERT 18935 1
|
||||||
|
INSERT 18936 1
|
||||||
|
INSERT 18937 1
|
||||||
|
INSERT 18938 1
|
||||||
|
INSERT 18939 1
|
||||||
|
INSERT 18940 1
|
||||||
|
INSERT 18941 1
|
||||||
|
INSERT 18942 1
|
||||||
|
INSERT 18943 1
|
||||||
|
INSERT 18944 1
|
||||||
|
INSERT 18945 1
|
||||||
|
INSERT 18946 1
|
||||||
|
INSERT 18947 1
|
||||||
|
INSERT 18948 1
|
||||||
|
INSERT 18949 1
|
||||||
|
INSERT 18950 1
|
||||||
|
INSERT 18951 1
|
||||||
|
INSERT 18952 1
|
||||||
|
INSERT 18953 1
|
||||||
|
INSERT 18954 1
|
||||||
|
INSERT 18955 1
|
||||||
|
INSERT 18956 1
|
||||||
|
INSERT 18957 1
|
||||||
|
INSERT 18958 1
|
||||||
|
INSERT 18959 1
|
||||||
|
INSERT 18960 1
|
||||||
|
INSERT 18961 1
|
||||||
|
INSERT 18962 1
|
||||||
|
INSERT 18963 1
|
||||||
|
INSERT 18964 1
|
||||||
|
INSERT 18965 1
|
||||||
|
INSERT 18966 1
|
||||||
|
INSERT 18967 1
|
||||||
|
INSERT 18968 1
|
||||||
|
INSERT 18969 1
|
||||||
|
INSERT 18970 1
|
||||||
|
INSERT 18971 1
|
||||||
|
INSERT 18972 1
|
||||||
|
INSERT 18973 1
|
||||||
|
INSERT 18974 1
|
||||||
|
INSERT 18975 1
|
||||||
|
INSERT 18976 1
|
||||||
|
INSERT 18977 1
|
||||||
|
INSERT 18978 1
|
||||||
|
INSERT 18979 1
|
||||||
|
INSERT 18980 1
|
||||||
|
INSERT 18981 1
|
||||||
|
INSERT 18982 1
|
||||||
|
INSERT 18983 1
|
||||||
|
INSERT 18984 1
|
||||||
|
INSERT 18985 1
|
||||||
|
INSERT 18986 1
|
||||||
|
INSERT 18987 1
|
||||||
|
INSERT 18988 1
|
||||||
|
INSERT 18989 1
|
||||||
|
INSERT 18990 1
|
||||||
|
INSERT 18991 1
|
||||||
|
INSERT 18992 1
|
||||||
|
INSERT 18993 1
|
||||||
|
INSERT 18994 1
|
||||||
|
INSERT 18995 1
|
||||||
|
INSERT 18996 1
|
||||||
|
INSERT 18997 1
|
||||||
|
INSERT 18998 1
|
||||||
|
INSERT 18999 1
|
||||||
|
INSERT 19000 1
|
||||||
|
INSERT 19001 1
|
||||||
|
INSERT 19002 1
|
||||||
|
INSERT 19003 1
|
||||||
|
INSERT 19004 1
|
||||||
|
INSERT 19005 1
|
||||||
|
INSERT 19006 1
|
||||||
|
INSERT 19007 1
|
||||||
|
INSERT 19008 1
|
||||||
|
INSERT 19009 1
|
||||||
|
INSERT 19010 1
|
||||||
|
INSERT 19011 1
|
||||||
|
INSERT 19012 1
|
||||||
|
INSERT 19013 1
|
||||||
|
INSERT 19014 1
|
||||||
|
INSERT 19015 1
|
||||||
|
INSERT 19016 1
|
||||||
|
INSERT 19017 1
|
||||||
|
INSERT 19018 1
|
||||||
|
INSERT 19019 1
|
||||||
|
INSERT 19020 1
|
||||||
|
INSERT 19021 1
|
||||||
|
INSERT 19022 1
|
||||||
|
INSERT 19023 1
|
||||||
|
INSERT 19024 1
|
||||||
|
INSERT 19025 1
|
||||||
|
INSERT 19026 1
|
||||||
|
INSERT 19027 1
|
||||||
|
INSERT 19028 1
|
||||||
|
INSERT 19029 1
|
||||||
|
INSERT 19030 1
|
||||||
|
INSERT 19031 1
|
||||||
|
INSERT 19032 1
|
||||||
|
CREATE SEQUENCE
|
||||||
|
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'ac_dossier_pkey' for table 'ac_dossier'
|
||||||
|
NOTICE: CREATE TABLE / UNIQUE will create implicit index 'ac_dossier_dos_name_key' for table 'ac_dossier'
|
||||||
|
CREATE TABLE
|
||||||
|
INSERT 19047 1
|
||||||
|
GRANT
|
||||||
|
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'jnt_use_dos_pkey' for table 'jnt_use_dos'
|
||||||
|
NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s)
|
||||||
|
CREATE TABLE
|
||||||
|
INSERT 19060 1
|
||||||
|
Installing source
|
||||||
5
setenv.sh
Executable file
5
setenv.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
export PATH=/opt/psql732/bin:$PATH
|
||||||
|
export REMOTECVS=:pserver:danpo@july:/home/danpo/CVSCOMPTA
|
||||||
|
export LOCALCVS=/home/danpo/CVSCOMPTA
|
||||||
|
export MANPATH=/opt/psql732/man
|
||||||
|
export PATH=$PATH:/home/danpo/doxygen/bin
|
||||||
27
sql/ac_dossier.sql
Normal file
27
sql/ac_dossier.sql
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
create sequence dossier_id;
|
||||||
|
create table ac_dossier
|
||||||
|
(
|
||||||
|
dos_id int4 not null default nextval('dossier_id'),
|
||||||
|
dos_name text not null unique,
|
||||||
|
dos_description text null,
|
||||||
|
dos_jnt_user int default 0,
|
||||||
|
primary key (dos_id)
|
||||||
|
);
|
||||||
37
sql/ac_users.sql
Normal file
37
sql/ac_users.sql
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
create sequence users_id;
|
||||||
|
create table ac_users (
|
||||||
|
use_id int not null default nextval('users_id'),
|
||||||
|
use_first_name text null,
|
||||||
|
use_name text null ,
|
||||||
|
use_login text not null unique,
|
||||||
|
use_active integer default 0,
|
||||||
|
use_pass text,
|
||||||
|
use_admin integer default 0,
|
||||||
|
check ( use_active=0 or use_active=1 ),
|
||||||
|
primary key (use_id)
|
||||||
|
);
|
||||||
|
|
||||||
|
insert into ac_users (use_login, use_active,use_pass) values (user,1,
|
||||||
|
'486348d8b9ac03742368d8736244e958');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
38
sql/centralized.sql
Normal file
38
sql/centralized.sql
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
create sequence s_centralized;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE centralized (
|
||||||
|
c_id integer default nextval('s_centralized') not null primary key,
|
||||||
|
c_j_id integer ,
|
||||||
|
c_date date not null,
|
||||||
|
c_internal text not null,
|
||||||
|
c_montant integer not null,
|
||||||
|
c_debit boolean default 't',
|
||||||
|
c_poste integer references tmp_pcmn(pcm_val),
|
||||||
|
c_description text,
|
||||||
|
c_grp integer not null,
|
||||||
|
c_comment text,
|
||||||
|
c_rapt text,
|
||||||
|
c_periode integer
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
52
sql/dos_pref.sql
Normal file
52
sql/dos_pref.sql
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
/* $Revision$ */
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
create sequence s_periode;
|
||||||
|
create sequence s_currency;
|
||||||
|
|
||||||
|
create table parm_money (
|
||||||
|
pm_id integer default nextval('s_currency'),
|
||||||
|
pm_code char(3) primary key,
|
||||||
|
pm_rate double precision
|
||||||
|
);
|
||||||
|
|
||||||
|
create table parm_periode (
|
||||||
|
p_id integer default nextval('s_periode') primary key,
|
||||||
|
p_start date not null unique,
|
||||||
|
p_end date,
|
||||||
|
p_exercice text not null default to_char(now(),'YYYY'),
|
||||||
|
p_closed boolean default false
|
||||||
|
);
|
||||||
|
|
||||||
|
insert into parm_money (pm_code,pm_rate) values ('EUR ',1);
|
||||||
|
set datestyle='european';
|
||||||
|
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-01-2003','31-01-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-02-2003','28-02-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-03-2003','31-03-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-04-2003','30-04-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-05-2003','31-05-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-06-2003','30-06-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-07-2003','31-07-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-08-2003','31-08-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-09-2003','30-09-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-10-2003','30-10-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-11-2003','30-11-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_end,p_exercice) values ('01-12-2003','31-12-2003','2003');
|
||||||
|
insert into parm_periode (p_start,p_exercice) values ('31-12-2003','2003');
|
||||||
54
sql/fiche.sql
Normal file
54
sql/fiche.sql
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
/* $Revision$ */
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
drop sequence s_isup;
|
||||||
|
drop sequence s_fdef;
|
||||||
|
drop sequence s_idef;
|
||||||
|
|
||||||
|
drop table isupp;
|
||||||
|
drop table fiche ;
|
||||||
|
drop table isupp_def ;
|
||||||
|
drop table fichedef ;
|
||||||
|
create sequence s_isup;
|
||||||
|
|
||||||
|
create sequence s_fdef;
|
||||||
|
create sequence s_idef;
|
||||||
|
|
||||||
|
create table fichedef (
|
||||||
|
fd_id integer not null default nextval('s_fdef') primary key,
|
||||||
|
fd_label text not null,
|
||||||
|
fd_class_base text
|
||||||
|
);
|
||||||
|
create table fiche (
|
||||||
|
f_id integer not null references tmp_pcmn(pcm_val) primary key,
|
||||||
|
f_label text not null,
|
||||||
|
f_fd_id integer
|
||||||
|
);
|
||||||
|
create table isupp_def (
|
||||||
|
isd_id integer not null default nextval('s_idef') primary key,
|
||||||
|
isd_label text,
|
||||||
|
isd_fd_id integer references fichedef(fd_id),
|
||||||
|
isd_form bool
|
||||||
|
);
|
||||||
|
|
||||||
|
create table isupp (
|
||||||
|
is_id integer not null default nextval('s_isup') primary key,
|
||||||
|
is_f_id integer references tmp_pcmn(pcm_val),
|
||||||
|
is_isd_id integer references isupp_def(isd_id),
|
||||||
|
is_value text
|
||||||
|
);
|
||||||
37
sql/form.sql
Normal file
37
sql/form.sql
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
create sequence s_formdef;
|
||||||
|
|
||||||
|
create sequence s_form;
|
||||||
|
|
||||||
|
create table formdef (
|
||||||
|
fr_id integer not null default nextval('s_formdef') primary key,
|
||||||
|
fr_label text
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
create table form (
|
||||||
|
fo_id integer not null default nextval ('s_form') primary key,
|
||||||
|
fo_fr_id integer references formdef(fr_id),
|
||||||
|
fo_pos integer,
|
||||||
|
fo_label text,
|
||||||
|
fo_formula text
|
||||||
|
);
|
||||||
|
|
||||||
966
sql/insert_pcmn.sql
Normal file
966
sql/insert_pcmn.sql
Normal file
|
|
@ -0,0 +1,966 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (10 ,'Capital ',1 );
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (100,' Capital souscrit',10);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (11 ,'Prime d''émission ',1 );
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (12 ,'Plus Value de réévaluation ',1);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (13 ,'Réserve ',1);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (130,'Réserve légale',13);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (131,'Réserve indisponible',13);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1310,'Réserve pour actions propres',131);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1311,' Autres réserves indisponibles',131);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (132,' Réserves immunisées',13);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (133,'Réserves disponibles',13);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (14 ,'Bénéfice ou perte reportée', 1);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (140,'Bénéfice reporté',14);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (141,'Perte reportée',14);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (15,'Subside en capital',1);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (16,'Provisions pour risques et charges',1);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (160,'Provisions pour pensions et obligations similaires',16);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (161,'Provisions pour charges fiscales',16);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (162,'Provisions pour grosses réparation et gros entretien',16);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (17,' Dettes à plus d''un an',1);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (170,'Emprunts subordonnés',17);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1700,'convertibles',170);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1701,'non convertibles',170);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (171,'Emprunts subordonnés',17);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1710,'convertibles',170);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1711,'non convertibles',170);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (172,' Dettes de locations financement',17);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (173,' Etablissement de crédit',17);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1730,'Dettes en comptes',173);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1731,'Promesses',173);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1732,'Crédits d''acceptation',173);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (174,'Autres emprunts',17);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (175,'Dettes commerciales',17);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1750,'Fournisseurs',175);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1751,'Effets à payer',175);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (176,'Acomptes reçus sur commandes',17);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (178,'Cautionnement reçus en numéraires',17);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (179,'Dettes diverses',17);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (20,'Frais d''établissement',2);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (200,'Frais de constitution et d''augmentation de capital',20);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (201,' Frais d''émission d''emprunts et primes de remboursement',20);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (202,'Autres frais d''établissement',20);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (204,'Frais de restructuration',20);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (21,'Immobilisations incorporelles',2);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (210,'Frais de recherche et de développement',21);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (211,'Concessions, brevet, licence savoir faire, marque et droit similaires',21);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (212,'Goodwill',21);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (213,'Acomptes versés',21);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (22,'Terrains et construction',2);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (220,'Terrains',22);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (221,'Construction',22);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (222,'Terrains bâtis',22);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (223,'Autres droits réels sur des immeubles',22);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (23,' Installations, machines et outillages',2);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (24,'Mobilier et Matériel roulant',2);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (25,'Immobilisations détenus en location-financement et droits similaires',2);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (250,'Terrains',25);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (251,'Construction',25);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (252,'Terrains bâtis',25);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (253,'Mobilier et matériels roulants',25);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (26,'Autres immobilisations corporelles',2);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (27,'Immobilisations corporelles en cours et acomptes versés',2);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (28,'Immobilisations financières',2);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (280,'Participation dans des entreprises liées',28);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2800,'Valeur d''acquisition',280);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2801,'Montants non-appelés(-)',280);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2808,'Plus-values actées',280);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2809,'Réductions de valeurs actées',280);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (281,'Créance sur des entreprises liées',28);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2810,'Créance en compte',281);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2811,'Effets à recevoir',281);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2812,'Titre à reveny fixe',281);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2817,'Créances douteuses',281);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2819,'Réduction de valeurs actées',281);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (282,'Participations dans des entreprises avec lesquelles il existe un lien de participation',28);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2820,'Valeur d''acquisition',282);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2821,'Montants non-appelés(-)',282);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2828,'Plus-values actées',282);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2829,'Réductions de valeurs actées',282);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (283,'Créances sur des entreprises avec lesquelles existe un lien de participation',28);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2830,'Créance en compte',283);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2831,'Effets à recevoir',283);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2832,'Titre à revenu fixe',283);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2837,'Créances douteuses',283);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2839,'Réduction de valeurs actées',283);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (284,'Autres actions et parts',28);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2840,'Valeur d''acquisition',284);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2841,'Montants non-appelés(-)',284);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2848,'Plus-values actées',284);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2849,'Réductions de valeurs actées',284);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (285,'Autres créances',28);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2850,'Créance en compte',285);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2851,'Effets à recevoir',285);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2852,'Titre à revenu fixe',285);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2857,'Créances douteuses',285);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2859,'Réductions de valeurs actées',285);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (288,'Cautionnements versés en numéraires',28);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (29,'Créances à plus d''un an',2);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (290,'Créances commerciales',29);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2900,'Clients',290);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2901,'Effets à recevoir',290);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2906,'Acomptes versés',290);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2907,'Créances douteuses',290);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2909,'Réductions de valeurs actées',290);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (291,'Autres créances',29);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2910,'Créances en comptes',291);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2911,'Effets à recevoir',291);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2917,'Créances douteuses',291);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2919,'Réductions de valeurs actées(-)',291);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (30,'Approvisionements - Matières premières',3);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (300,'Valeur d''acquisition',30);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (309,'Réductions de valeur actées',30);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (31,'Approvisionnements - fournitures',3);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (310,'Valeur d''acquisition',31);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (319,'Réductions de valeurs actées(-)',31);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (32,'En-cours de fabrication',3);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (320,'Valeurs d''acquisition',32);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (329,'Réductions de valeur actées',32);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (33,'Produits finis',3);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (330,'Valeur d''acquisition',33);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (339,'Réductions de valeur actées',33);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (34,'Marchandises',3);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (340,'Valeur d''acquisition',34);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (349,'Réductions de valeur actées',34);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (35,'Immeubles destinés à la vente',3);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (350,'Valeur d''acquisition',35);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (359,'Réductions de valeur actées',35);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (36,'Acomptes versés sur achats pour stocks',3);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (360,'Valeur d''acquisition',36);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (369,'Réductions de valeur actées',36);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (37,'Commandes en cours éxécution',3);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (370,'Valeur d''acquisition',37);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (371,'Bénéfice pris en compte ',37);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (379,'Réductions de valeur actées',37);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (40,'Créances commerciales',4);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (400,'Clients',40);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (401,'Effets à recevoir',40);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (404,'Produits à recevoir',40);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (406,'Acomptes versés',40);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (407,'Créances douteuses',40);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (409,'Réductions de valeur actées',40);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (41,'Autres créances',4);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (410,'Capital appelé non versé',41);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (411,'TVA à récupérer',41);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (412,'Impôts et précomptes à récupérer',41);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4120,'Impôt belge sur le résultat',412);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4121,'Impôt belge sur le résultat',412);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4122,'Impôt belge sur le résultat',412);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4123,'Impôt belge sur le résultat',412);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4124,'Impôt belge sur le résultat',412);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4125,'Autres impôts et taxes belges',412);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4126,'Autres impôts et taxes belges',412);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4127,'Autres impôts et taxes belges',412);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4128,'Impôts et taxes étrangers',412);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (414,'Produits à recevoir',41);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (416,'Créances diverses',41);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4160,'Comptes de l''exploitant',416);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (417,'Créances douteuses',41);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (418,'Cautionnements versés en numéraires',41);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (419,'Réductions de valeur actées',41);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (42,'Dettes à plus dun an échéant dans l''année',4);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (420,'Emprunts subordonnés',42);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4200,'convertibles',420);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4201,'non convertibles',420);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (421,'Emprunts subordonnés',42);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4210,'convertibles',420);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4211,'non convertibles',420);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (422,' Dettes de locations financement',42);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (423,' Etablissement de crédit',42);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4230,'Dettes en comptes',423);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4231,'Promesses',423);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4232,'Crédits d''acceptation',423);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (424,'Autres emprunts',42);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (425,'Dettes commerciales',42);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4250,'Fournisseurs',425);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4251,'Effets à payer',425);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (426,'Acomptes reçus sur commandes',42);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (428,'Cautionnement reçus en numéraires',42);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (429 ,'Dettes diverses',42);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (43,'Dettes financières',4);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (430,'Etablissements de crédit - Emprunts à compte à terme fixe',43);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (431,'Etablissements de crédit - Promesses',43);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (432,' Etablissements de crédit - Crédits d''acceptation',43);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (433,'Etablissements de crédit -Dettes en comptes courant',43);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (439,'Autres emprunts',43);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (44,'Dettes commerciales',4);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (440,'Fournisseurs',44);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (441,'Effets à payer',44);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (444,'Factures à recevoir',44);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (45,'Dettes fiscales, salariales et sociales',4);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (450,'Dettes fiscales estimées',45);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4500,'Impôts belges sur le résultat',450);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4501,'Impôts belges sur le résultat',450);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4502,'Impôts belges sur le résultat',450);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4503,'Impôts belges sur le résultat',450);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4504,'Impôts belges sur le résultat',450);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4505,'Autres impôts et taxes belges',450);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4506,'Autres impôts et taxes belges',450);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4507,'Autres impôts et taxes belges',450);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4508,'Impôts et taxes étrangers',450);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (451,'TVA à payer',45);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (452,'Impôts et taxes à payer',45);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4520,'Impôts belges sur le résultat',452);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4521,'Impôts belges sur le résultat',452);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4522,'Impôts belges sur le résultat',452);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4523,'Impôts belges sur le résultat',452);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4524,'Impôts belges sur le résultat',452);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4525,'Autres impôts et taxes belges',452);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4526,'Autres impôts et taxes belges',452);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4527,'Autres impôts et taxes belges',452);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4528,'Impôts et taxes étrangers',452);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (453,'Précomptes retenus',45);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (454,'Office National de la Sécurité Sociales',45);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (455,'Rémunérations',45);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (456,'Pécules de vacances',45);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (459,'Autres dettes sociales',45);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (46,'Acomptes reçus sur commandes',4);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (47,'Dettes découlant de l''affectation du résultat',4);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (470,'Dividendes et tantièmes d''exercices antérieurs',47);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (471,'Dividendes de l''exercice',47);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (472,'Tantièmes de l''exercice',47);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (473,'Autres allocataires',47);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (48,'Dettes diverses',4);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (480,'Obligations et coupons échus',48);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (488,'Cautionnements reçus en numéraires',48);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (489,'Autres dettes diverses',48);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4890,'Compte de l''exploitant',489);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (49,'Comptes de régularisation',4);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (490,'Charges à reporter',49);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (491,'Produits acquis',49);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (492,'Charges à imputer',49);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (493,'Produits à reporter',49);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (499,'Comptes d''attentes',49);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (50,'Actions propres',5);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (51,'Actions et parts',5);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (510,'Valeur d''acquisition',51);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (511,'Montant non appelés',51);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (519,'Réductions de valeur actées',51);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (52,'Titres à revenu fixe',5);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (520,'Valeur d''acquisition',52);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (529,'Réductions de valeur actées',52);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (53,'Dépôts à terme',5);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (530,'de plus d''un an',53);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (531,'de plus d''un mois et d''un an au plus',53);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (532,'d''un mois au plus',53);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (539,'Réductions de valeur actées',53);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (54,'Valeurs échues à l''encaissement',5);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (55,'Etablissement de crédit',5);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (550,'Banque 1',55);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5500,'Comptes courants',550);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5501,'Chèques émis (-)',550);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5509,'Réduction de valeur actée',550);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5510,'Comptes courants',551);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5511,'Chèques émis (-)',551);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5519,'Réduction de valeur actée',551);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5520,'Comptes courants',552);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5521,'Chèques émis (-)',552);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5529,'Réduction de valeur actée',552);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5530,'Comptes courants',553);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5531,'Chèques émis (-)',553);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5539,'Réduction de valeur actée',553);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5540,'Comptes courants',554);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5541,'Chèques émis (-)',554);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5549,'Réduction de valeur actée',554);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5550,'Comptes courants',555);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5551,'Chèques émis (-)',555);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5559,'Réduction de valeur actée',555);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5560,'Comptes courants',556);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5561,'Chèques émis (-)',556);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5569,'Réduction de valeur actée',556);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5570,'Comptes courants',557);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5571,'Chèques émis (-)',557);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5579,'Réduction de valeur actée',557);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5580,'Comptes courants',558);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5581,'Chèques émis (-)',558);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5589,'Réduction de valeur actée',558);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5590,'Comptes courants',559);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5591,'Chèques émis (-)',559);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5599,'Réduction de valeur actée',559);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (56,'Office des chèques postaux',5);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (560,'Compte courant',56);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (561,'Chèques émis',56);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (57,'Caisses',5);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (578,'Caisse timbre',57);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (58,'Virement interne',5);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (60,'Approvisionnement et marchandises',6);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (600,'Achats de matières premières',60);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (601,'Achats de fournitures',60);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (602,'Achats de services, travaux et études',60);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (603,'Sous-traitances générales',60);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (604,'Achats de marchandises',60);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (605,'Achats d''immeubles destinés à la vente',60);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (608,'Remises, ristournes et rabais obtenus(-)',60);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (609,'Variation de stock',60);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6090,'de matières premières',609);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6091,'de fournitures',609);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6094,'de marchandises',609);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6095,'immeubles achetés destinés à la vente',609);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (61,'Services et biens divers',6);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (62,'Rémunérations, charges sociales et pensions',6);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (620,'Rémunérations et avantages sociaux directs',62);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6200,'Administrateurs ou gérants',620);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6201,'Personnel de directions',620);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6202,'Employés,620',6202);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6203,'Ouvriers',620);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6204,'Autres membres du personnel',620);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (621,'Cotisations patronales d''assurances sociales',62);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (622,'Primes partonales pour assurances extra-légales',62);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (623,'Autres frais de personnel',62);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (624,'Pensions de retraite et de survie',62);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6240,'Administrateurs ou gérants',624);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6241,'Personnel',624);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (63,'Amortissements, réductions de valeurs et provisions pour risques et charges',6);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (630,'Dotations aux amortissements et réduction de valeurs sur immobilisations',63);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6300,' Dotations aux amortissements sur frais d''établissement',630);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6301,'Dotations aux amortissements sur immobilisations incorporelles',630);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6302,'Dotations aux amortissements sur immobilisations corporelles',630);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6308,'Dotations aux réductions de valeur sur immobilisations incorporelles',630);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6309,'Dotations aux réductions de valeur sur immobilisations corporelles',630);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (631,'Réductions de valeur sur stocks',63);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6310,'Dotations',631);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6311,'Reprises(-)',631);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (632,'Réductions de valeur sur commande en cours d''éxécution',63);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6320,'Dotations',632);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6321,'Reprises(-)',632);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (633,'Réductions de valeurs sur créances commerciales à plus d''un an',63);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6330,'Dotations',633);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6331,'Reprises(-)',633);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (634,'Réductions de valeur sur créances commerciales à un an au plus',63);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6340,'Dotations',634);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6341,'Reprise',634);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (635,'Provisions pour pensions et obligations similaires',63);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6350,'Dotations',635);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6351,'Utilisation et reprises',635);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (636,'Provisions pour grosses réparations et gros entretien',63);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6360,'Dotations',636);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6361,'Reprises(-)',636);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (637,'Provisions pour autres risques et charges',63);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6370,'Dotations',637);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6371,'Reprises(-)',637);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (64,'Autres charges d''exploitation',6);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (640,'Charges fiscales d''exploitation',64);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (641,'Moins-values sur réalisations courantes d''immobilisations corporelles',64);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (642,'Moins-value sur réalisation de créances commerciales',64);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (643,'Charges d''exploitations',64);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (644,'Charges d''exploitations',64);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (645,'Charges d''exploitations',64);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (646,'Charges d''exploitations',64);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (647,'Charges d''exploitations',64);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (648,'Charges d''exploitations',64);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (649,'Charges d''exploitation portées à l''actif au titre de frais de restructuration(-)',64);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (65,'Charges financières',6);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (650,'Charges des dettes',65);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6500,'Intérêts, commmissions et frais afférents aux dettes',650);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6501,'Amortissements des frais d''émissions d''emrunts et des primes de remboursement',650);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6502,'Autres charges des dettes',650);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6503,'Intérêts intercalaires portés à l''actif(-)',650);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (651,'Réductions de valeur sur actifs circulants',65);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6510,'Dotations',651);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6511,'Reprises(-)',651);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (652,'Moins-value sur réalisation d''actifs circulants',65);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (653,'Charges d''escompte de créances',65);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (654,'Différences de changes',65);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (655,'Ecarts de conversion des devises',65);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (656,'Charges financières diverses',65);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (657,'Charges financières diverses',65);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (658,'Charges financières diverses',65);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (659,'Charges financières diverses',65);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (66,'Charges exceptionnelles',6);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (660,'Amortissements et réductions de valeur exceptionnels (dotations)',66);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6600,'sur frais d''établissement',660);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6601,'sur immobilisations incorporelles',660);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6602,'sur immobilisations corporelles',660);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (661,'Réductions de valeur sur immobilisations financières (dotations)',66);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (662,'Provisions pour risques et charges exceptionnels',66);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (663,'Moins-values sur réalisations d''actifs immobilisés',66);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (664,'Autres charges exceptionnelles',66);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (665,'Autres charges exceptionnelles',66);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (666,'Autres charges exceptionnelles',66);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (667,'Autres charges exceptionnelles',66);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (668,'Autres charges exceptionnelles',66);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (669,' Charges exceptionnelles portées à l''actif au titre de frais de restructuration',66);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (67,'impôts sur le résultat',6);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (670,'Impôts belge sur le résultat de l''exercice',67);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6700,'Impôts et précomptes dus ou versés',670);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6701,'Excédents de versement d''impôts et de précomptes portés à l''actifs (-)',670);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6702,'Charges fiscales estimées',670);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (671,'Impôts belges sur le résultats d''exercices antérieures',67);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6710,'Suppléments d''impôt dus ou versés',671);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6711,'Suppléments d''impôts estimés',671);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6712,'Provisions fiscales constituées',671);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (672,'Impôts étrangers sur le résultat de l''exercice',67);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (673,'Impôts étrangers sur le résultat d''exercice antérieures',67);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (68,'Transferts aux réserves immunisées',6);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (69,'Affectations et prélévements',6);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (690,'Perte reportée de l''exercice précédent',69);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (691,'Dotation à la réserve légale',69);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (692,'Dotation aux autres réserves',69);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (693,'Bénéfice à reporter',69);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (694,'Rémunération du capital',69);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (695,'Administrateurs ou gérants',69);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (696,'Autres allocataires',69);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (70,'Chiffre d''affaire',7);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (700,'Ventes et prestations de services',70);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (701,'Ventes et prestations de services',70);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (702,'Ventes et prestations de services',70);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (703,'Ventes et prestations de services',70);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (704,'Ventes et prestations de services',70);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (705,'Ventes et prestations de services',70);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (706,'Ventes et prestations de services',70);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (707,'Ventes et prestations de services',70);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (709,'Remises, ristournes et rabais accordés(-)',70);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (71,'Variations des stocks et commandes en cours d''éxécution',7);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (712,'des en-cours de fabrication',71);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (713,'des produits finis',71);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (715,'des immeubles construits destinés à la vente',71);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (717,' des commandes en cours d''éxécution',71);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (7170,'Valeur d''acquisition',717);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (7171,'Bénéfice pris en compte',717);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (72,'Production immobilisée',7);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (74,'Autres produits d''exploitation',7);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (740,'Subsides d'' exploitation et montants compensatoires',74);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (741,'Plus-values sur réalisation courantes d'' immobilisations corporelles',74);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (742,'Plus-values sur réalisations de créances commerciales',74);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (743,'Produits d''exploitations divers',74 );
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (744,'Produits d''exploitations divers',74 );
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (745,'Produits d''exploitations divers',74 );
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (746,'Produits d''exploitations divers',74 );
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (747,'Produits d''exploitations divers',74 );
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (748,'Produits d''exploitations divers',74 );
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (749,'Produits d''exploitations divers',74 );
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (75,'Produits financiers',7);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (750,'Produits sur immobilisations financières',75);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (751,'Produits des actifs circulants',75);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (752,'Plus-value sur réalisations d''actis circulants',75);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (753,'Subsides en capital et intérêts',75);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (754,'Différences de change',75);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (755,'Ecarts de conversion des devises',75);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (756,'Produits financiers divers',75);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (757,'Produits financiers divers',75);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (758,'Produits financiers divers',75);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (759,'Produits financiers divers',75);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (76,'Produits exceptionnels',7);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (760,'Reprise d''amortissements et de réductions de valeur',76);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (7601,'sur immobilisations corporelles',760);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (7602,'sur immobilisations incorporelles',760);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (761,'Reprises de réductions de valeur sur immobilisations financières',76);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (762,'Reprises de provisions pour risques et charges exceptionnels',76);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (763,'Plus-value sur réalisation d''actifs immobilisé',76);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (764,'Autres produits exceptionnels',76);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (765,'Autres produits exceptionnels',76);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (766,'Autres produits exceptionnels',76);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (767,'Autres produits exceptionnels',76);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (768,'Autres produits exceptionnels',76);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (769,'Autres produits exceptionnels',76);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (77,'Régularisations d''impôts et reprises de provisions fiscales',7);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (771,'impôts belges sur le résultat',77);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (7710,'Régularisations d''impôts dus ou versé',771);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (7711,'Régularisations d''impôts estimés',771);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (7712,'Reprises de provisions fiscales',771);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (773,'Impôts étrangers sur le résultats',77);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (79,'Affectations et prélévements',7);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (790,'Bénéfice reporté de l''exercice précédent',79);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (791,'Prélévement sur le capital et les primes d''émission',79);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (792,'Prélévement sur les réserves',79);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (793,'Perte à reporter',79);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (794,'Intervention d''associés (ou du propriétaire) dans la perte',79);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (1,'Fonds propres, provisions pour risques et charges à plus d''un an',0);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (2,'Frais d''établissement, actifs immobilisés et créances à plus d''un an',0);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (3,'Stocks et commandes en cours d''éxécution',0);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (4,'Créances et dettes à un an au plus',0);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (5,'Placements de trésorerie et valeurs disponibles',0);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (6,'Charges',0);
|
||||||
|
|
||||||
|
insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values (7,'Produits',0);
|
||||||
|
|
||||||
32
sql/jnt_use_dos.sql
Normal file
32
sql/jnt_use_dos.sql
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
CREATE SEQUENCE seq_jnt_use_dos
|
||||||
|
START 1
|
||||||
|
INCREMENT 1
|
||||||
|
MAXVALUE 9223372036854775807
|
||||||
|
MINVALUE 1
|
||||||
|
CACHE 1;
|
||||||
|
|
||||||
|
create table jnt_use_dos
|
||||||
|
(
|
||||||
|
jnt_id integer DEFAULT nextval('seq_jnt_use_dos'::text) NOT NULL,
|
||||||
|
use_id int4 not null references ac_users(use_id),
|
||||||
|
dos_id int4 not null references ac_dossier(dos_id),
|
||||||
|
primary key (use_id,dos_id)
|
||||||
|
);
|
||||||
91
sql/journal.sql
Normal file
91
sql/journal.sql
Normal file
|
|
@ -0,0 +1,91 @@
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* $Revision$ */
|
||||||
|
create sequence s_jrn_def start 5;
|
||||||
|
|
||||||
|
create sequence s_grpt;
|
||||||
|
create sequence s_jrn_op;
|
||||||
|
create sequence s_jrn;
|
||||||
|
|
||||||
|
create table jrn_type
|
||||||
|
(
|
||||||
|
jrn_type_id char(3) not null primary key,
|
||||||
|
jrn_desc text
|
||||||
|
);
|
||||||
|
|
||||||
|
create table jrn_def
|
||||||
|
(
|
||||||
|
jrn_def_id integer default nextval('s_jrn_def') primary key,
|
||||||
|
jrn_def_name text not null unique,
|
||||||
|
jrn_def_class_deb text,
|
||||||
|
jrn_def_class_cred text,
|
||||||
|
jrn_deb_max_line integer default 1,
|
||||||
|
jrn_cred_max_line integer default 1,
|
||||||
|
jrn_def_ech bool default false,
|
||||||
|
jrn_def_ech_lib text default null,
|
||||||
|
jrn_def_type char(3) not null references jrn_type(jrn_type_id),
|
||||||
|
jrn_def_code text not null
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
insert into jrn_type values ('FIN','Financier');
|
||||||
|
insert into jrn_type values ('VEN','Vente');
|
||||||
|
insert into jrn_type values ('ACH','Achat');
|
||||||
|
insert into jrn_type values ('OD','Opérations Diverses');
|
||||||
|
|
||||||
|
insert into jrn_def values (1,'Financier','5* ','5*',5,5,false,null,'FIN','FIN-01');
|
||||||
|
insert into jrn_def values (2,'Vente','7*','4*',1,3,true,'échéance','VEN','VEN-01');
|
||||||
|
insert into jrn_def values (3,'Achat','6*','4*',1,3,true,'échéance','ACH','ACH-01');
|
||||||
|
insert into jrn_def values (4,'Opération Diverses',null,null,5,5,false,null,'OD','OD-01');
|
||||||
|
|
||||||
|
create sequence s_jrnx;
|
||||||
|
|
||||||
|
create table jrn (
|
||||||
|
jr_id integer default nextval('s_jrn') not null ,
|
||||||
|
jr_def_id integer not null references jrn_def(jrn_def_id),
|
||||||
|
jr_montant float not null,
|
||||||
|
jr_comment text ,
|
||||||
|
jr_date date ,
|
||||||
|
jr_grpt_id integer not null,
|
||||||
|
jr_rapt integer,
|
||||||
|
jr_internal text,
|
||||||
|
jr_tech_date timestamp not null default now(),
|
||||||
|
jr_tech_per integer not null
|
||||||
|
|
||||||
|
);
|
||||||
|
alter table jrn add primary key (jr_id,jr_def_id);
|
||||||
|
|
||||||
|
create table jrnx (
|
||||||
|
j_id int4 default nextval('s_jrn_op') primary key,
|
||||||
|
j_date date default now(),
|
||||||
|
j_montant float default 0,
|
||||||
|
j_poste int not null references tmp_pcmn(pcm_val),
|
||||||
|
j_grpt integer not null,
|
||||||
|
j_rapt integer,
|
||||||
|
j_jrn_def int4 not null references jrn_def(jrn_def_id),
|
||||||
|
j_debit bool default true,
|
||||||
|
j_text text,
|
||||||
|
j_centralized bool default false,
|
||||||
|
j_internal text ,
|
||||||
|
j_tech_user text not null,
|
||||||
|
j_tech_date timestamp not null default now(),
|
||||||
|
j_tech_per integer
|
||||||
|
);
|
||||||
27
sql/priv_user.sql
Normal file
27
sql/priv_user.sql
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
CREATE SEQUENCE seq_priv_user;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE priv_user (
|
||||||
|
priv_id integer DEFAULT nextval('seq_priv_user'::text) NOT NULL,
|
||||||
|
priv_jnt integer NOT NULL,
|
||||||
|
priv_priv text
|
||||||
|
);
|
||||||
|
|
||||||
270
sql/struct-repository.sql
Normal file
270
sql/struct-repository.sql
Normal file
|
|
@ -0,0 +1,270 @@
|
||||||
|
--
|
||||||
|
-- PostgreSQL database dump
|
||||||
|
--
|
||||||
|
|
||||||
|
SET search_path = public, pg_catalog;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 2 (OID 21938)
|
||||||
|
-- Name: users_id; Type: SEQUENCE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE SEQUENCE users_id
|
||||||
|
START 1
|
||||||
|
INCREMENT 1
|
||||||
|
MAXVALUE 9223372036854775807
|
||||||
|
MINVALUE 1
|
||||||
|
CACHE 1;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 10 (OID 21940)
|
||||||
|
-- Name: ac_users; Type: TABLE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE ac_users (
|
||||||
|
use_id integer DEFAULT nextval('users_id'::text) NOT NULL,
|
||||||
|
use_first_name text,
|
||||||
|
use_name text,
|
||||||
|
use_login text NOT NULL,
|
||||||
|
use_active integer DEFAULT 0,
|
||||||
|
use_pass text,
|
||||||
|
use_admin integer,
|
||||||
|
CHECK (((use_active = 0) OR (use_active = 1)))
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 4 (OID 21955)
|
||||||
|
-- Name: dossier_id; Type: SEQUENCE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE SEQUENCE dossier_id
|
||||||
|
START 1
|
||||||
|
INCREMENT 1
|
||||||
|
MAXVALUE 9223372036854775807
|
||||||
|
MINVALUE 1
|
||||||
|
CACHE 1;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 11 (OID 21957)
|
||||||
|
-- Name: ac_dossier; Type: TABLE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE ac_dossier (
|
||||||
|
dos_id integer DEFAULT nextval('dossier_id'::text) NOT NULL,
|
||||||
|
dos_name text NOT NULL,
|
||||||
|
dos_description text,
|
||||||
|
dos_jnt_user integer DEFAULT 0
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 12 (OID 21964)
|
||||||
|
-- Name: jnt_use_dos; Type: TABLE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE jnt_use_dos (
|
||||||
|
jnt_id integer DEFAULT nextval('seq_jnt_use_dos'::text) NOT NULL,
|
||||||
|
use_id integer NOT NULL,
|
||||||
|
dos_id integer NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 13 (OID 21967)
|
||||||
|
-- Name: priv_user; Type: TABLE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE priv_user (
|
||||||
|
priv_id integer DEFAULT nextval('seq_priv_user'::text) NOT NULL,
|
||||||
|
priv_jnt integer NOT NULL,
|
||||||
|
priv_priv text
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 6 (OID 21973)
|
||||||
|
-- Name: seq_jnt_use_dos; Type: SEQUENCE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE SEQUENCE seq_jnt_use_dos
|
||||||
|
START 1
|
||||||
|
INCREMENT 1
|
||||||
|
MAXVALUE 9223372036854775807
|
||||||
|
MINVALUE 1
|
||||||
|
CACHE 1;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 8 (OID 21975)
|
||||||
|
-- Name: seq_priv_user; Type: SEQUENCE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE SEQUENCE seq_priv_user
|
||||||
|
START 1
|
||||||
|
INCREMENT 1
|
||||||
|
MAXVALUE 9223372036854775807
|
||||||
|
MINVALUE 1
|
||||||
|
CACHE 1;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Data for TOC entry 21 (OID 21940)
|
||||||
|
-- Name: ac_users; Type: TABLE DATA; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
COPY ac_users (use_id, use_first_name, use_name, use_login, use_active, use_pass, use_admin) FROM stdin;
|
||||||
|
1 \N \N webcompta 1 486348d8b9ac03742368d8736244e958 1
|
||||||
|
\.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Data for TOC entry 22 (OID 21957)
|
||||||
|
-- Name: ac_dossier; Type: TABLE DATA; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
COPY ac_dossier (dos_id, dos_name, dos_description, dos_jnt_user) FROM stdin;
|
||||||
|
\.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Data for TOC entry 23 (OID 21964)
|
||||||
|
-- Name: jnt_use_dos; Type: TABLE DATA; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
COPY jnt_use_dos (jnt_id, use_id, dos_id) FROM stdin;
|
||||||
|
\.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Data for TOC entry 24 (OID 21967)
|
||||||
|
-- Name: priv_user; Type: TABLE DATA; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
COPY priv_user (priv_id, priv_jnt, priv_priv) FROM stdin;
|
||||||
|
\.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 18 (OID 22497)
|
||||||
|
-- Name: jnt_idx; Type: INDEX; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE INDEX jnt_idx ON jnt_use_dos USING btree (use_id, dos_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 14 (OID 22498)
|
||||||
|
-- Name: ac_users_pkey; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY ac_users
|
||||||
|
ADD CONSTRAINT ac_users_pkey PRIMARY KEY (use_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 15 (OID 22500)
|
||||||
|
-- Name: ac_users_use_login_key; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY ac_users
|
||||||
|
ADD CONSTRAINT ac_users_use_login_key UNIQUE (use_login);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 17 (OID 22504)
|
||||||
|
-- Name: ac_dossier_pkey; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY ac_dossier
|
||||||
|
ADD CONSTRAINT ac_dossier_pkey PRIMARY KEY (dos_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 16 (OID 22506)
|
||||||
|
-- Name: ac_dossier_dos_name_key; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY ac_dossier
|
||||||
|
ADD CONSTRAINT ac_dossier_dos_name_key UNIQUE (dos_name);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 19 (OID 22508)
|
||||||
|
-- Name: jnt_use_dos_pkey; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY jnt_use_dos
|
||||||
|
ADD CONSTRAINT jnt_use_dos_pkey PRIMARY KEY (jnt_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 25 (OID 22510)
|
||||||
|
-- Name: $2; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY jnt_use_dos
|
||||||
|
ADD CONSTRAINT "$2" FOREIGN KEY (use_id) REFERENCES ac_users(use_id) ON UPDATE NO ACTION ON DELETE NO ACTION;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 26 (OID 22514)
|
||||||
|
-- Name: $3; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY jnt_use_dos
|
||||||
|
ADD CONSTRAINT "$3" FOREIGN KEY (dos_id) REFERENCES ac_dossier(dos_id) ON UPDATE NO ACTION ON DELETE NO ACTION;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 20 (OID 22518)
|
||||||
|
-- Name: priv_user_pkey; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY priv_user
|
||||||
|
ADD CONSTRAINT priv_user_pkey PRIMARY KEY (priv_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 27 (OID 22520)
|
||||||
|
-- Name: fk_jnt; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY priv_user
|
||||||
|
ADD CONSTRAINT fk_jnt FOREIGN KEY (priv_jnt) REFERENCES jnt_use_dos(jnt_id) ON UPDATE NO ACTION ON DELETE NO ACTION;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 3 (OID 21938)
|
||||||
|
-- Name: users_id; Type: SEQUENCE SET; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
SELECT pg_catalog.setval ('users_id', 29, true);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 5 (OID 21955)
|
||||||
|
-- Name: dossier_id; Type: SEQUENCE SET; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
SELECT pg_catalog.setval ('dossier_id', 22, true);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 7 (OID 21973)
|
||||||
|
-- Name: seq_jnt_use_dos; Type: SEQUENCE SET; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
SELECT pg_catalog.setval ('seq_jnt_use_dos', 72, true);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 9 (OID 21975)
|
||||||
|
-- Name: seq_priv_user; Type: SEQUENCE SET; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
SELECT pg_catalog.setval ('seq_priv_user', 72, true);
|
||||||
|
|
||||||
|
|
||||||
270
sql/struct.sql
Normal file
270
sql/struct.sql
Normal file
|
|
@ -0,0 +1,270 @@
|
||||||
|
--
|
||||||
|
-- PostgreSQL database dump
|
||||||
|
--
|
||||||
|
|
||||||
|
SET search_path = public, pg_catalog;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 2 (OID 21938)
|
||||||
|
-- Name: users_id; Type: SEQUENCE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE SEQUENCE users_id
|
||||||
|
START 1
|
||||||
|
INCREMENT 1
|
||||||
|
MAXVALUE 9223372036854775807
|
||||||
|
MINVALUE 1
|
||||||
|
CACHE 1;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 10 (OID 21940)
|
||||||
|
-- Name: ac_users; Type: TABLE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE ac_users (
|
||||||
|
use_id integer DEFAULT nextval('users_id'::text) NOT NULL,
|
||||||
|
use_first_name text,
|
||||||
|
use_name text,
|
||||||
|
use_login text NOT NULL,
|
||||||
|
use_active integer DEFAULT 0,
|
||||||
|
use_pass text,
|
||||||
|
use_admin integer,
|
||||||
|
CHECK (((use_active = 0) OR (use_active = 1)))
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 4 (OID 21955)
|
||||||
|
-- Name: dossier_id; Type: SEQUENCE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE SEQUENCE dossier_id
|
||||||
|
START 1
|
||||||
|
INCREMENT 1
|
||||||
|
MAXVALUE 9223372036854775807
|
||||||
|
MINVALUE 1
|
||||||
|
CACHE 1;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 11 (OID 21957)
|
||||||
|
-- Name: ac_dossier; Type: TABLE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE ac_dossier (
|
||||||
|
dos_id integer DEFAULT nextval('dossier_id'::text) NOT NULL,
|
||||||
|
dos_name text NOT NULL,
|
||||||
|
dos_description text,
|
||||||
|
dos_jnt_user integer DEFAULT 0
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 12 (OID 21964)
|
||||||
|
-- Name: jnt_use_dos; Type: TABLE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE jnt_use_dos (
|
||||||
|
jnt_id integer DEFAULT nextval('seq_jnt_use_dos'::text) NOT NULL,
|
||||||
|
use_id integer NOT NULL,
|
||||||
|
dos_id integer NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 13 (OID 21967)
|
||||||
|
-- Name: priv_user; Type: TABLE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE priv_user (
|
||||||
|
priv_id integer DEFAULT nextval('seq_priv_user'::text) NOT NULL,
|
||||||
|
priv_jnt integer NOT NULL,
|
||||||
|
priv_priv text
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 6 (OID 21973)
|
||||||
|
-- Name: seq_jnt_use_dos; Type: SEQUENCE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE SEQUENCE seq_jnt_use_dos
|
||||||
|
START 1
|
||||||
|
INCREMENT 1
|
||||||
|
MAXVALUE 9223372036854775807
|
||||||
|
MINVALUE 1
|
||||||
|
CACHE 1;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 8 (OID 21975)
|
||||||
|
-- Name: seq_priv_user; Type: SEQUENCE; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE SEQUENCE seq_priv_user
|
||||||
|
START 1
|
||||||
|
INCREMENT 1
|
||||||
|
MAXVALUE 9223372036854775807
|
||||||
|
MINVALUE 1
|
||||||
|
CACHE 1;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Data for TOC entry 21 (OID 21940)
|
||||||
|
-- Name: ac_users; Type: TABLE DATA; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
COPY ac_users (use_id, use_first_name, use_name, use_login, use_active, use_pass, use_admin) FROM stdin;
|
||||||
|
1 \N \N webcompta 1 486348d8b9ac03742368d8736244e958 1
|
||||||
|
\.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Data for TOC entry 22 (OID 21957)
|
||||||
|
-- Name: ac_dossier; Type: TABLE DATA; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
COPY ac_dossier (dos_id, dos_name, dos_description, dos_jnt_user) FROM stdin;
|
||||||
|
\.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Data for TOC entry 23 (OID 21964)
|
||||||
|
-- Name: jnt_use_dos; Type: TABLE DATA; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
COPY jnt_use_dos (jnt_id, use_id, dos_id) FROM stdin;
|
||||||
|
\.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Data for TOC entry 24 (OID 21967)
|
||||||
|
-- Name: priv_user; Type: TABLE DATA; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
COPY priv_user (priv_id, priv_jnt, priv_priv) FROM stdin;
|
||||||
|
\.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 18 (OID 22497)
|
||||||
|
-- Name: jnt_idx; Type: INDEX; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE INDEX jnt_idx ON jnt_use_dos USING btree (use_id, dos_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 14 (OID 22498)
|
||||||
|
-- Name: ac_users_pkey; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY ac_users
|
||||||
|
ADD CONSTRAINT ac_users_pkey PRIMARY KEY (use_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 15 (OID 22500)
|
||||||
|
-- Name: ac_users_use_login_key; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY ac_users
|
||||||
|
ADD CONSTRAINT ac_users_use_login_key UNIQUE (use_login);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 17 (OID 22504)
|
||||||
|
-- Name: ac_dossier_pkey; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY ac_dossier
|
||||||
|
ADD CONSTRAINT ac_dossier_pkey PRIMARY KEY (dos_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 16 (OID 22506)
|
||||||
|
-- Name: ac_dossier_dos_name_key; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY ac_dossier
|
||||||
|
ADD CONSTRAINT ac_dossier_dos_name_key UNIQUE (dos_name);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 19 (OID 22508)
|
||||||
|
-- Name: jnt_use_dos_pkey; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY jnt_use_dos
|
||||||
|
ADD CONSTRAINT jnt_use_dos_pkey PRIMARY KEY (jnt_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 25 (OID 22510)
|
||||||
|
-- Name: $2; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY jnt_use_dos
|
||||||
|
ADD CONSTRAINT "$2" FOREIGN KEY (use_id) REFERENCES ac_users(use_id) ON UPDATE NO ACTION ON DELETE NO ACTION;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 26 (OID 22514)
|
||||||
|
-- Name: $3; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY jnt_use_dos
|
||||||
|
ADD CONSTRAINT "$3" FOREIGN KEY (dos_id) REFERENCES ac_dossier(dos_id) ON UPDATE NO ACTION ON DELETE NO ACTION;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 20 (OID 22518)
|
||||||
|
-- Name: priv_user_pkey; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY priv_user
|
||||||
|
ADD CONSTRAINT priv_user_pkey PRIMARY KEY (priv_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 27 (OID 22520)
|
||||||
|
-- Name: fk_jnt; Type: CONSTRAINT; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY priv_user
|
||||||
|
ADD CONSTRAINT fk_jnt FOREIGN KEY (priv_jnt) REFERENCES jnt_use_dos(jnt_id) ON UPDATE NO ACTION ON DELETE NO ACTION;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 3 (OID 21938)
|
||||||
|
-- Name: users_id; Type: SEQUENCE SET; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
SELECT pg_catalog.setval ('users_id', 29, true);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 5 (OID 21955)
|
||||||
|
-- Name: dossier_id; Type: SEQUENCE SET; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
SELECT pg_catalog.setval ('dossier_id', 22, true);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 7 (OID 21973)
|
||||||
|
-- Name: seq_jnt_use_dos; Type: SEQUENCE SET; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
SELECT pg_catalog.setval ('seq_jnt_use_dos', 72, true);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- TOC entry 9 (OID 21975)
|
||||||
|
-- Name: seq_priv_user; Type: SEQUENCE SET; Schema: public; Owner: webcompta
|
||||||
|
--
|
||||||
|
|
||||||
|
SELECT pg_catalog.setval ('seq_priv_user', 72, true);
|
||||||
|
|
||||||
|
|
||||||
30
sql/tmp_pcmn.sql
Normal file
30
sql/tmp_pcmn.sql
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
drop table tmp_pcmn
|
||||||
|
|
||||||
|
;
|
||||||
|
create table tmp_pcmn
|
||||||
|
(
|
||||||
|
pcm_val int4 primary key,
|
||||||
|
pcm_lib text,
|
||||||
|
pcm_val_parent int4 default 0,
|
||||||
|
pcm_country char(2) not null default 'BE'
|
||||||
|
)
|
||||||
|
;
|
||||||
|
|
||||||
22
sql/user_pref.sql
Normal file
22
sql/user_pref.sql
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
create table user_pref(
|
||||||
|
pref_user text not null primary key,
|
||||||
|
pref_periode integer not null
|
||||||
|
);
|
||||||
49
sql/user_sec.sql
Normal file
49
sql/user_sec.sql
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of WCOMPTA.
|
||||||
|
*
|
||||||
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WCOMPTA is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WCOMPTA; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
create sequence s_user_jrn;
|
||||||
|
create sequence s_user_act;
|
||||||
|
|
||||||
|
create table user_sec_jrn (
|
||||||
|
uj_id integer default nextval('s_user_jrn') primary key,
|
||||||
|
uj_login text,
|
||||||
|
uj_jrn_id integer references jrn_def(jrn_def_id),
|
||||||
|
uj_priv text
|
||||||
|
|
||||||
|
);
|
||||||
|
create table action (
|
||||||
|
ac_id integer not null primary key,
|
||||||
|
ac_description text not null
|
||||||
|
);
|
||||||
|
create unique index x_act on action (ac_description) ;
|
||||||
|
create table user_sec_act (
|
||||||
|
ua_id integer default nextval('s_user_act') primary key,
|
||||||
|
ua_login text,
|
||||||
|
ua_act_id integer references action(ac_id)
|
||||||
|
);
|
||||||
|
create unique index x_usr_jrn on user_sec_jrn (uj_login,uj_jrn_id);
|
||||||
|
insert into action (ac_id,ac_description) values (1,'Journaux');
|
||||||
|
insert into action (ac_id,ac_description) values (2,'Facturation');
|
||||||
|
insert into action (ac_id,ac_description) values (3,'Fiche');
|
||||||
|
insert into action (ac_id,ac_description) values (4,'Impression');
|
||||||
|
insert into action (ac_id,ac_description) values (5,'Formulaire');
|
||||||
|
insert into action (ac_id,ac_description) values (6,'Mise à jour Plan Comptable');
|
||||||
|
insert into action (ac_id,ac_description) values (7,'Gestion Journaux');
|
||||||
|
insert into action (ac_id,ac_description) values (8,'Paramètres');
|
||||||
|
insert into action (ac_id,ac_description) values (9,'Sécurité');
|
||||||
|
insert into action (ac_id,ac_description) values (10,'Centralise');
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue