diff --git a/doc/developper/dossier1.html b/doc/developper/dossier1.html index 2a5d42853..86585c4ef 100644 --- a/doc/developper/dossier1.html +++ b/doc/developper/dossier1.html @@ -117,7 +117,7 @@
  • public
  • @@ -7299,6 +7299,21 @@ raise notice 'Creating sequence seq_doc_type_%',NEW.dt_id; END; +
    +

    Function: + t_jrn_def_sequence( ) +

    +

    Returns: "trigger"

    +

    Language: PLPGSQL

    + +
    +    BEGIN
    +        execute  'create sequence s_jrn_'||NEW.jrn_def_id;
    +raise notice 'Creating sequence s_jrn_%',NEW.jrn_def_id;
    +        RETURN NEW;
    +    END;
    +
    +

    Function: trim_cvs_quote( ) diff --git a/doc/developper/html/a_8php-source.html b/doc/developper/html/a_8php-source.html deleted file mode 100644 index 790a5a818..000000000 --- a/doc/developper/html/a_8php-source.html +++ /dev/null @@ -1,20 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/a.php Source File - - - -
    Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals
    - -

    a.php

    Go to the documentation of this file.
    00001 <?
    -00002 for ($i=0;$i<10;$i++)   
    -00003 {
    -00004         include("b.php");
    -00005 }
    -00006 ?>
    -

    Generated on Wed May 31 21:39:14 2006 for phpcompta by  - -doxygen 1.4.4
    - - diff --git a/doc/developper/html/a_8php.html b/doc/developper/html/a_8php.html deleted file mode 100644 index 4e77665e5..000000000 --- a/doc/developper/html/a_8php.html +++ /dev/null @@ -1,19 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/a.php File Reference - - - -
    Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals
    - -

    a.php File Reference

    -

    -Go to the source code of this file. - -
    -


    Generated on Wed May 31 21:39:15 2006 for phpcompta by  - -doxygen 1.4.4
    - - diff --git a/doc/developper/html/ac__common_8php-source.html b/doc/developper/html/ac__common_8php-source.html index 7fa461fd7..68bd5e816 100644 --- a/doc/developper/html/ac__common_8php-source.html +++ b/doc/developper/html/ac__common_8php-source.html @@ -247,7 +247,7 @@ 00364 } 00365 00366 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/ac__common_8php.html b/doc/developper/html/ac__common_8php.html index 185e406fe..4d0976823 100644 --- a/doc/developper/html/ac__common_8php.html +++ b/doc/developper/html/ac__common_8php.html @@ -119,7 +119,7 @@ Definition at line 53 References isDate().

    -Referenced by VerifData(), and VerifyOperationDate(). +Referenced by VerifData(), and VerifyOperationDate().

    @@ -161,7 +161,7 @@ Definition at line 36 References echo_debug().

    -Referenced by AddFiche(), AddForm(), AddModele(), DeleteRapt(), ExecSql(), form_verify_input(), FormAchInput(), FormatString(), FormODS(), FormVenInput(), FormVenteView(), GetFicheJrn(), getPeriodeName(), GetTvaPoste(), Imp(), InsertRapt(), isValid(), RecordFin(), Remove(), Invoice::Save(), Document_modele::Save(), save_upload_document(), fiche::update(), UpdateFiche(), UpdateJrn(), UpdateModele(), VerifData(), and VerifyOperationDate(). +Referenced by AddFiche(), AddForm(), AddModele(), DeleteRapt(), ExecSql(), form_verify_input(), FormAchInput(), FormatString(), FormODS(), FormVenInput(), FormVenteView(), GetFicheJrn(), getPeriodeName(), GetTvaPoste(), Imp(), InsertRapt(), isValid(), RecordFin(), Remove(), Invoice::Save(), Document_modele::Save(), save_upload_document(), fiche::update(), UpdateFiche(), UpdateJrn(), UpdateModele(), VerifData(), and VerifyOperationDate().

    @@ -282,7 +282,7 @@ Definition at line 207 References echo_error().

    -Referenced by AddFiche(), AddForm(), AddModele(), action::Confirm(), fiche::CountByDef(), action::Display(), fiche::GetByQCode(), fiche::insert(), InsertJrn(), ListJrn(), RecordFin(), RecordInvoice(), RecordSell(), Remove(), parm_code::Save(), Document_modele::Save(), action::SaveStage2(), Customer::Summary(), contact::Summary(), fiche::update(), UpdateComment(), UpdateFiche(), UpdateForm(), Own::UpdateRow(), and ViewJrn(). +Referenced by AddFiche(), AddForm(), AddModele(), action::Confirm(), fiche::CountByDef(), action::Display(), fiche::GetByQCode(), fiche::insert(), InsertJrn(), ListJrn(), RecordFin(), RecordInvoice(), RecordSell(), Remove(), parm_code::Save(), Document_modele::Save(), action::SaveStage2(), Customer::Summary(), contact::Summary(), fiche::update(), UpdateComment(), UpdateFiche(), UpdateForm(), Own::UpdateRow(), and ViewJrn().

    @@ -610,7 +610,7 @@ Verifie qu'une date est bien format

    Definition at line 97 of file ac_common.php.

    -Referenced by cmpDate(), action::Confirm(), form_verify_input(), formatDate(), ListJrn(), RecordFin(), VerifData(), VerifyOperationDate(), and ViewJrn(). +Referenced by cmpDate(), action::Confirm(), form_verify_input(), formatDate(), ListJrn(), RecordFin(), VerifData(), VerifyOperationDate(), and ViewJrn().

    @@ -642,7 +642,7 @@ Referenced by cmpDate()<

    Definition at line 76 of file ac_common.php.

    -Referenced by AddFiche(), AddModele(), ComputeTotalVat(), ComputeVat(), DeleteRapt(), form_verify_input(), FormAchInput(), FormAchView(), FormODS(), FormVenInput(), FormVenteView(), fiche::insert(), InsertRapt(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Remove(), Document_modele::Save(), and fiche::update(). +Referenced by AddFiche(), AddModele(), ComputeTotalVat(), ComputeVat(), DeleteRapt(), form_verify_input(), FormAchInput(), FormAchView(), FormODS(), FormVenInput(), FormVenteView(), fiche::insert(), InsertRapt(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Remove(), Document_modele::Save(), and fiche::update().

    @@ -806,7 +806,7 @@ References $retMenuAdmin(), ShowJrn(), ShowMenuAdvanced(), ShowMenuCompta(), ShowMenuDocument(), and ShowMenuParam(). -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/action_8inc_8php-source.html b/doc/developper/html/action_8inc_8php-source.html index a672d4068..41653085c 100644 --- a/doc/developper/html/action_8inc_8php-source.html +++ b/doc/developper/html/action_8inc_8php-source.html @@ -257,7 +257,7 @@ 00262 echo $act->SaveStage3($d_id); 00263 } 00264 -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/action_8inc_8php.html b/doc/developper/html/action_8inc_8php.html index d2190e208..649305eaf 100644 --- a/doc/developper/html/action_8inc_8php.html +++ b/doc/developper/html/action_8inc_8php.html @@ -77,7 +77,7 @@ Referenced by action: Definition at line 36 of file action.inc.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/admin__repo_8php-source.html b/doc/developper/html/admin__repo_8php-source.html index b87c0601d..0bee661b9 100644 --- a/doc/developper/html/admin__repo_8php-source.html +++ b/doc/developper/html/admin__repo_8php-source.html @@ -318,7 +318,7 @@ 00314 00315 html_page_stop(); 00316 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/admin__repo_8php.html b/doc/developper/html/admin__repo_8php.html index 6c8b5721e..3a793e9e0 100644 --- a/doc/developper/html/admin__repo_8php.html +++ b/doc/developper/html/admin__repo_8php.html @@ -235,7 +235,7 @@ Definition at line 67 Definition at line 163 of file admin_repo.php.

    -Referenced by GetNumberLine(), ListJrn(), and Cpdf::o_page(). +Referenced by GetNumberLine(), ListJrn(), and Cpdf::o_page().

    @@ -571,7 +571,7 @@ Definition at line 117< Definition at line 42 of file admin_repo.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/annotated.html b/doc/developper/html/annotated.html index 5a2b2d694..1374bb394 100644 --- a/doc/developper/html/annotated.html +++ b/doc/developper/html/annotated.html @@ -31,7 +31,7 @@ rapportClass rapport Create, view, modify and parse report widgetClass widget This class is used to create all the HTML INPUT TYPE and some specials which works with javascript like js_search -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/annulation_8php-source.html b/doc/developper/html/annulation_8php-source.html index 153cfd3c2..85c632a80 100644 --- a/doc/developper/html/annulation_8php-source.html +++ b/doc/developper/html/annulation_8php-source.html @@ -294,7 +294,7 @@ 00288 00289 html_page_stop(); 00290 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/annulation_8php.html b/doc/developper/html/annulation_8php.html index 9429c9204..8c5a9fdbd 100644 --- a/doc/developper/html/annulation_8php.html +++ b/doc/developper/html/annulation_8php.html @@ -190,7 +190,7 @@ Definition at line 149 Definition at line 136 of file annulation.php.

    -Referenced by GetSequence(), NextSequence(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), and TransferCSV(). +Referenced by GetSequence(), NextSequence(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), and TransferCSV().

    @@ -303,7 +303,7 @@ Definition at line 55251 of file annulation.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/b_8php-source.html b/doc/developper/html/b_8php-source.html deleted file mode 100644 index ed1257922..000000000 --- a/doc/developper/html/b_8php-source.html +++ /dev/null @@ -1,79 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/b.php Source File - - - - - -

    b.php

    Go to the documentation of this file.
    00001 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    -00002 <html xmlns="http://www.w3.org/1999/xhtml" >
    -00003 <head>
    -00004 <title>ZIP Code to City and State using XmlHttpRequest</title>
    -00005 <script language="javascript"  type="text/javascript">
    -00006 var url = "p.php?param="; // The server-side script
    -00007 function handleHttpResponse() {
    -00008   if (http.readyState == 4) {
    -00009     if (http.responseText.indexOf('invalid') == -1) {
    -00010 
    -00011       // Use the XML DOM to unpack the city and state data       var xmlDocument = http.responseXML;
    -00012       var city = xmlDocument.getElementsByTagName('city').item(0).firstChild.data;
    -00013       var state = xmlDocument.getElementsByTagName('state').item(0).firstChild.data;
    -00014       document.getElementById('city').value = city;
    -00015       document.getElementById('state').value = state;
    -00016 
    -00017       isWorking = false;
    -00018     }
    -00019   }
    -00020 }
    -00021 var isWorking = false;
    -00022 function updateCityState() {
    -00023   if (!isWorking && http) {
    -00024     var zipValue = document.getElementById("zip").value;
    -00025     http.open("GET", url + escape(zipValue), true);
    -00026     http.onreadystatechange = handleHttpResponse;
    -00027     isWorking = true;
    -00028     http.send(null);
    -00029   }
    -00030 }
    -00031 function getHTTPObject() {
    -00032  
    -00033        var xhr = null; 
    -00034          
    -00035         if(window.XMLHttpRequest) // Firefox et autres
    -00036            xhr = new XMLHttpRequest(); 
    -00037         else if(window.ActiveXObject){ // Internet Explorer        
    -00038           try {
    -00039                 xhr = new ActiveXObject("Msxml2.XMLHTTP");
    -00040             } catch (e) {
    -00041                 xhr = new ActiveXObject("Microsoft.XMLHTTP");
    -00042             }
    -00043         }
    -00044         else { // XMLHttpRequest non supporté par le navigateur            
    -00045           alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest..."); 
    -00046            xhr = false; 
    -00047         }
    -00048   return xhr;
    -00049 }
    -00050 var http = getHTTPObject(); // We create the HTTP Object
    -00051 </script>
    -00052 </head>
    -00053 <body>
    -00054 <form action="post">
    -00055   <p>
    -00056   ZIP code:
    -00057   <input type="text" size="5" name="zip" id="zip" onblur="updateCityState();" />
    -00058   </p>
    -00059   City:
    -00060   <input type="text" name="city" id="city" />
    -00061   State:
    -00062   <input type="text" size="2" name="state" id="state" />
    -00063 </form>
    -00064 </body>
    -00065 </html>
    -

    Generated on Wed May 31 21:39:14 2006 for phpcompta by  - -doxygen 1.4.4
    - - diff --git a/doc/developper/html/b_8php.html b/doc/developper/html/b_8php.html deleted file mode 100644 index ddda27455..000000000 --- a/doc/developper/html/b_8php.html +++ /dev/null @@ -1,19 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/b.php File Reference - - - - - -

    b.php File Reference

    -

    -Go to the source code of this file. - -
    -


    Generated on Wed May 31 21:39:15 2006 for phpcompta by  - -doxygen 1.4.4
    - - diff --git a/doc/developper/html/bal__csv_8php-source.html b/doc/developper/html/bal__csv_8php-source.html index 147810808..7e5d9ddbd 100644 --- a/doc/developper/html/bal__csv_8php-source.html +++ b/doc/developper/html/bal__csv_8php-source.html @@ -71,7 +71,7 @@ 00065 00066 00067 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/bal__csv_8php.html b/doc/developper/html/bal__csv_8php.html index 8171e4ebe..45639a2a6 100644 --- a/doc/developper/html/bal__csv_8php.html +++ b/doc/developper/html/bal__csv_8php.html @@ -156,7 +156,7 @@ Definition at line 35 Definition at line 40 of file bal_csv.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/balance_8php-source.html b/doc/developper/html/balance_8php-source.html index 8c20b75a0..812ad6e23 100644 --- a/doc/developper/html/balance_8php-source.html +++ b/doc/developper/html/balance_8php-source.html @@ -133,7 +133,7 @@ 00132 }// end submit 00133 echo "</div>"; 00134 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/balance_8php.html b/doc/developper/html/balance_8php.html index b3fd7318c..772c1e5b9 100644 --- a/doc/developper/html/balance_8php.html +++ b/doc/developper/html/balance_8php.html @@ -71,7 +71,7 @@ Definition in file balance.php

    Definition at line 108 of file balance.php.

    -Referenced by Cezpdf::alink(), Cpdf::ARC4(), fiche::blank(), Cezpdf::Cezpdf(), ComputeTotalVat(), ComputeVat(), action::Confirm(), fiche::CountByDef(), DbConnect(), fiche::Display(), action::Display(), Cpdf::ellipse(), GetDataJrnPdf(), GetFicheJrn(), getFicheNameCode(), rapport::GetName(), GetParent(), getPeriodeFromDate(), getPeriodeFromMonth(), getPeriodeName(), GetRappel(), jrn::GetRow(), Balance::GetRow(), GetTvaPoste(), GetUserProperty(), GetVersion(), isValid(), ListJrn(), make_array(), MakeListingVat(), Document_modele::myList(), RecordJrn(), Customer::Summary(), Cezpdf::uline(), UpdateFiche(), UpdateJrn(), and withStock(). +Referenced by Cezpdf::alink(), Cpdf::ARC4(), fiche::blank(), Cezpdf::Cezpdf(), ComputeTotalVat(), ComputeVat(), action::Confirm(), fiche::CountByDef(), DbConnect(), fiche::Display(), action::Display(), Cpdf::ellipse(), GetDataJrnPdf(), GetFicheJrn(), getFicheNameCode(), rapport::GetName(), GetParent(), getPeriodeFromDate(), getPeriodeFromMonth(), getPeriodeName(), GetRappel(), jrn::GetRow(), Balance::GetRow(), GetTvaPoste(), GetUserProperty(), GetVersion(), isValid(), ListJrn(), make_array(), MakeListingVat(), Document_modele::myList(), RecordJrn(), Customer::Summary(), Cezpdf::uline(), UpdateFiche(), UpdateJrn(), and withStock().

    @@ -177,7 +177,7 @@ Definition at line 43 o

    Definition at line 113 of file balance.php.

    -Referenced by Cezpdf::alink(), Cpdf::ARC4_init(), DisplayDetailModele(), Cpdf::ellipse(), Cezpdf::ezPRVTpageNumberSearch(), Cezpdf::ezStartPageNumbers(), Cezpdf::ezStopPageNumbers(), FormODS(), Get_attr_def(), Get_attr_min(), Get_fiche_def_ref(), fiche_def::GetAll(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), GetConcerned(), GetDataJrnJrId(), GetDataPoste(), GetFicheJrn(), getFicheNameCode(), GetPriv(), poste::GetRow(), Balance::GetRow(), ImpHtml(), widget::IOValue(), make_array(), Cpdf::o_pages(), Cpdf::openFont(), ParseFormula(), RecordInvoice(), RecordSell(), Cpdf::selectFont(), ShowReportResult(), SortAttributeById(), u_ShowDossier(), Cezpdf::uline(), UpdateForm(), UpdateJrn(), and VerifImport(). +Referenced by Cezpdf::alink(), Cpdf::ARC4_init(), DisplayDetailModele(), Cpdf::ellipse(), Cezpdf::ezPRVTpageNumberSearch(), Cezpdf::ezStartPageNumbers(), Cezpdf::ezStopPageNumbers(), FormODS(), Get_attr_def(), Get_attr_min(), Get_fiche_def_ref(), fiche_def::GetAll(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), GetConcerned(), GetDataJrnJrId(), GetDataPoste(), GetFicheJrn(), getFicheNameCode(), GetPriv(), poste::GetRow(), Balance::GetRow(), ImpHtml(), widget::IOValue(), make_array(), Cpdf::o_pages(), Cpdf::openFont(), ParseFormula(), RecordInvoice(), RecordSell(), Cpdf::selectFont(), ShowReportResult(), SortAttributeById(), u_ShowDossier(), Cezpdf::uline(), UpdateForm(), UpdateJrn(), and VerifImport().

    @@ -279,7 +279,7 @@ Definition at line 97 o

    Definition at line 119 of file balance.php.

    -Referenced by ListJrn(), and u_ShowDossier(). +Referenced by ListJrn(), and u_ShowDossier().

    @@ -306,7 +306,7 @@ Referenced by ListJrn(

    Definition at line 67 of file balance.php.

    -Referenced by fiche::blank(), fiche::Display(), Cezpdf::ezPRVTaddPageNumbers(), Cezpdf::ezPrvtGetTextWidth(), Cezpdf::ezTable(), Document_modele::form(), fiche_def_ref::Input(), ListJrn(), and ShowFormTransfert(). +Referenced by fiche::blank(), fiche::Display(), Cezpdf::ezPRVTaddPageNumbers(), Cezpdf::ezPrvtGetTextWidth(), Cezpdf::ezTable(), Document_modele::form(), fiche_def_ref::Input(), ListJrn(), and ShowFormTransfert().

    @@ -333,7 +333,7 @@ Referenced by fiche::b

    Definition at line 33 of file balance.php.

    -Referenced by AddFiche(), cl_user::Check(), ExecSql(), ExecuteScript(), FormVenInput(), FormVenteView(), GetFicheJrn(), NoAccess(), Document::ParseDocument(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Invoice::Save(), Document_modele::Save(), save_upload_document(), and TransferCSV(). +Referenced by AddFiche(), cl_user::Check(), ExecSql(), ExecuteScript(), FormVenInput(), FormVenteView(), GetFicheJrn(), NoAccess(), Document::ParseDocument(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Invoice::Save(), Document_modele::Save(), save_upload_document(), and TransferCSV().

    @@ -387,10 +387,10 @@ Referenced by Cpdf::addI

    Definition at line 68 of file balance.php.

    -Referenced by fiche::blank(), ListJrn(), Customer::Summary(), contact::Summary(), VerifImport(), ViewRecord(), and widget::widget(). +Referenced by fiche::blank(), ListJrn(), Customer::Summary(), contact::Summary(), VerifImport(), ViewRecord(), and widget::widget(). -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/bilan_8php-source.html b/doc/developper/html/bilan_8php-source.html index e5873b7c6..4013a9c64 100644 --- a/doc/developper/html/bilan_8php-source.html +++ b/doc/developper/html/bilan_8php-source.html @@ -142,7 +142,7 @@ 00137 00138 }// rtf file is read 00139 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/bilan_8php.html b/doc/developper/html/bilan_8php.html index 88b9158ee..e4e0d550a 100644 --- a/doc/developper/html/bilan_8php.html +++ b/doc/developper/html/bilan_8php.html @@ -324,7 +324,7 @@ Referenced by Cezpdf:: Definition at line 33 of file bilan.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/cbc__be_8inc_8php-source.html b/doc/developper/html/cbc__be_8inc_8php-source.html index e7cbea391..0ecd087cd 100644 --- a/doc/developper/html/cbc__be_8inc_8php-source.html +++ b/doc/developper/html/cbc__be_8inc_8php-source.html @@ -64,7 +64,7 @@ 00064 fclose($handle); 00065 echo "Encore rien désolé"; 00066 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/cbc__be_8inc_8php.html b/doc/developper/html/cbc__be_8inc_8php.html index 1a70b57cb..0b94bba29 100644 --- a/doc/developper/html/cbc__be_8inc_8php.html +++ b/doc/developper/html/cbc__be_8inc_8php.html @@ -47,10 +47,10 @@ Definition in file cbc_be.inc

    Definition at line 28 of file cbc_be.inc.php.

    -Referenced by Centralise(), cl_user::cl_user(), Cezpdf::ezTable(), Document::Generate(), parm_code::Get(), Invoice::Get(), fiche_def::Get(), Document_modele::Get(), Document::Get(), fiche_def::GetAll(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), cl_user::GetPreferences(), ListJrn(), fiche_def_ref::LoadAll(), make_array(), Document_modele::myList(), action::myList(), Cpdf::openFont(), Own::Own(), ShowDossier(), and fiche::strAttribut(). +Referenced by Centralise(), cl_user::cl_user(), Cezpdf::ezTable(), Document::Generate(), parm_code::Get(), Invoice::Get(), fiche_def::Get(), Document_modele::Get(), Document::Get(), fiche_def::GetAll(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), cl_user::GetPreferences(), ListJrn(), fiche_def_ref::LoadAll(), make_array(), Document_modele::myList(), action::myList(), Cpdf::openFont(), Own::Own(), ShowDossier(), and fiche::strAttribut(). -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/central_8php-source.html b/doc/developper/html/central_8php-source.html index 7816dd436..7c8eb794c 100644 --- a/doc/developper/html/central_8php-source.html +++ b/doc/developper/html/central_8php-source.html @@ -90,7 +90,7 @@ 00084 echo "</DIV>"; 00085 html_page_stop(); 00086 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/central_8php.html b/doc/developper/html/central_8php.html index 2101ed467..d00d108d5 100644 --- a/doc/developper/html/central_8php.html +++ b/doc/developper/html/central_8php.html @@ -102,7 +102,7 @@ Definition at line 35 o Definition at line 37 of file central.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/central__inc_8php-source.html b/doc/developper/html/central__inc_8php-source.html index 3f0b6ce8f..a5fdfcbca 100644 --- a/doc/developper/html/central__inc_8php-source.html +++ b/doc/developper/html/central__inc_8php-source.html @@ -145,7 +145,7 @@ 00162 } 00163 00164 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/central__inc_8php.html b/doc/developper/html/central__inc_8php.html index c92b219ce..bcaad2c62 100644 --- a/doc/developper/html/central__inc_8php.html +++ b/doc/developper/html/central__inc_8php.html @@ -127,7 +127,7 @@ Definition at line 159 References $Res, and ExecSql(). -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/check__priv_8php-source.html b/doc/developper/html/check__priv_8php-source.html index fa23fc2b1..0b95163bc 100644 --- a/doc/developper/html/check__priv_8php-source.html +++ b/doc/developper/html/check__priv_8php-source.html @@ -158,7 +158,7 @@ 00206 } 00207 00208 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/check__priv_8php.html b/doc/developper/html/check__priv_8php.html index c2ca8492a..2f2c651c1 100644 --- a/doc/developper/html/check__priv_8php.html +++ b/doc/developper/html/check__priv_8php.html @@ -255,7 +255,7 @@ References $cn, Referenced by ShowMenuJrnUser(). -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classAttribut.html b/doc/developper/html/classAttribut.html index ee4f116e9..686c66b6e 100644 --- a/doc/developper/html/classAttribut.html +++ b/doc/developper/html/classAttribut.html @@ -162,7 +162,7 @@ Definition at line
    The documentation for this class was generated from the following file:
    -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classBalance.html b/doc/developper/html/classBalance.html index 39166bd5e..1a85b6a64 100644 --- a/doc/developper/html/classBalance.html +++ b/doc/developper/html/classBalance.html @@ -191,7 +191,7 @@ Definition at line 3
    The documentation for this class was generated from the following file:
    -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classCezpdf.html b/doc/developper/html/classCezpdf.html index bca385de9..4aee72d03 100644 --- a/doc/developper/html/classCezpdf.html +++ b/doc/developper/html/classCezpdf.html @@ -1522,7 +1522,7 @@ Referenced by ezPrvtTa
    The documentation for this class was generated from the following file:
    -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:10 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classCpdf.html b/doc/developper/html/classCpdf.html index df585d4fb..956e8ca22 100644 --- a/doc/developper/html/classCpdf.html +++ b/doc/developper/html/classCpdf.html @@ -4719,7 +4719,7 @@ Definition at line 134
    The documentation for this class was generated from the following file:
    -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classCreport.html b/doc/developper/html/classCreport.html index c84d3785e..894906fec 100644 --- a/doc/developper/html/classCreport.html +++ b/doc/developper/html/classCreport.html @@ -164,7 +164,7 @@ Definition at line 26 of
    The documentation for this class was generated from the following file:
    • /home/dany/developpement/phpcompta-dev/phpcompta/html/addon/readme.php
    -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classCustomer.html b/doc/developper/html/classCustomer.html index 2ea0e81d0..b0abef5f9 100644 --- a/doc/developper/html/classCustomer.html +++ b/doc/developper/html/classCustomer.html @@ -122,7 +122,7 @@ Get all info contains in the view thanks to the poste elt (account).

    Definition at line 57 of file class_customer.php.

    -References $Res, $row, $sql, ExecSql(), f_id, and name. +References $Res, $row, $sql, ExecSql(), f_id, and name.

    Referenced by VatListing(). @@ -160,7 +160,7 @@ parm :

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classDocument__type.html b/doc/developper/html/classDocument__type.html index ba7f54c44..a10244ee7 100644 --- a/doc/developper/html/classDocument__type.html +++ b/doc/developper/html/classDocument__type.html @@ -93,7 +93,7 @@ References $r
    The documentation for this class was generated from the following file: -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classInvoice.html b/doc/developper/html/classInvoice.html index e18575546..55921a809 100644 --- a/doc/developper/html/classInvoice.html +++ b/doc/developper/html/classInvoice.html @@ -340,7 +340,7 @@ Definition at line 3
    The documentation for this class was generated from the following file:
    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classOwn.html b/doc/developper/html/classOwn.html index 0b5b1f5c3..b29a2fb78 100644 --- a/doc/developper/html/classOwn.html +++ b/doc/developper/html/classOwn.html @@ -162,7 +162,7 @@ Definition at line 29
    The documentation for this class was generated from the following file:
    • /home/dany/developpement/phpcompta-dev/phpcompta/include/class_own.php
    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/class_8ezpdf_8php-source.html b/doc/developper/html/class_8ezpdf_8php-source.html index df46634cf..40cac0006 100644 --- a/doc/developper/html/class_8ezpdf_8php-source.html +++ b/doc/developper/html/class_8ezpdf_8php-source.html @@ -1562,7 +1562,7 @@ 01553 01554 } 01555 ?> -
    Generated on Fri Jun 23 00:28:21 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/class_8ezpdf_8php.html b/doc/developper/html/class_8ezpdf_8php.html index aab6e7bd6..4b487018f 100644 --- a/doc/developper/html/class_8ezpdf_8php.html +++ b/doc/developper/html/class_8ezpdf_8php.html @@ -15,7 +15,7 @@ class  Cezpdf -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/class_8pdf_8php-source.html b/doc/developper/html/class_8pdf_8php-source.html index a44fd3d72..a8e32a322 100644 --- a/doc/developper/html/class_8pdf_8php-source.html +++ b/doc/developper/html/class_8pdf_8php-source.html @@ -2597,7 +2597,7 @@ 03073 } // end of class 03074 03075 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/class_8pdf_8php.html b/doc/developper/html/class_8pdf_8php.html index 36c901810..18e349c76 100644 --- a/doc/developper/html/class_8pdf_8php.html +++ b/doc/developper/html/class_8pdf_8php.html @@ -18,7 +18,7 @@ class  Cpdf -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/class__action_8php-source.html b/doc/developper/html/class__action_8php-source.html index cdc0be18c..6cdc82c87 100644 --- a/doc/developper/html/class__action_8php-source.html +++ b/doc/developper/html/class__action_8php-source.html @@ -328,7 +328,7 @@ 00388 00389 00390 } -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/class__action_8php.html b/doc/developper/html/class__action_8php.html index e577ac83e..a567612fc 100644 --- a/doc/developper/html/class__action_8php.html +++ b/doc/developper/html/class__action_8php.html @@ -29,7 +29,7 @@ class_action for manipulating actions action can be :

      The table document_type are the possible actions

      -Definition in file class_action.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_action.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__attribut_8php-source.html b/doc/developper/html/class__attribut_8php-source.html index df5abb142..4286ee340 100644 --- a/doc/developper/html/class__attribut_8php-source.html +++ b/doc/developper/html/class__attribut_8php-source.html @@ -52,7 +52,7 @@ 00060 00061 return $p_attribut; 00062 } -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__attribut_8php.html b/doc/developper/html/class__attribut_8php.html index b89b07ad6..11df00b9a 100644 --- a/doc/developper/html/class__attribut_8php.html +++ b/doc/developper/html/class__attribut_8php.html @@ -70,7 +70,7 @@ References $i, and fiche::getAttribut(). -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__balance_8php-source.html b/doc/developper/html/class__balance_8php-source.html index 33aa2f058..991c33eaa 100644 --- a/doc/developper/html/class__balance_8php-source.html +++ b/doc/developper/html/class__balance_8php-source.html @@ -100,7 +100,7 @@ 00112 00113 } 00114 } -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__balance_8php.html b/doc/developper/html/class__balance_8php.html index 7772bd2bf..bd1b4e275 100644 --- a/doc/developper/html/class__balance_8php.html +++ b/doc/developper/html/class__balance_8php.html @@ -23,7 +23,7 @@ Class for manipulating data to print the balance of account.

      -Definition in file class_balance.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_balance.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__contact_8php-source.html b/doc/developper/html/class__contact_8php-source.html index 31c93c299..e63347b21 100644 --- a/doc/developper/html/class__contact_8php-source.html +++ b/doc/developper/html/class__contact_8php-source.html @@ -119,7 +119,7 @@ 00127 } 00128 00129 } -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__contact_8php.html b/doc/developper/html/class__contact_8php.html index b7642c80b..afdf35784 100644 --- a/doc/developper/html/class__contact_8php.html +++ b/doc/developper/html/class__contact_8php.html @@ -23,7 +23,7 @@ class for the contact, contact are derived from ficheContact are a card which ar

      -Definition in file class_contact.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_contact.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__customer_8php-source.html b/doc/developper/html/class__customer_8php-source.html index 65abfb365..8335e14d7 100644 --- a/doc/developper/html/class__customer_8php-source.html +++ b/doc/developper/html/class__customer_8php-source.html @@ -242,7 +242,7 @@ 00268 } 00269 00270 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__customer_8php.html b/doc/developper/html/class__customer_8php.html index db5254a70..44c83ebfa 100644 --- a/doc/developper/html/class__customer_8php.html +++ b/doc/developper/html/class__customer_8php.html @@ -23,7 +23,7 @@ Derived from class fiche Customer ar

      -Definition in file class_customer.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_customer.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__document_8php-source.html b/doc/developper/html/class__document_8php-source.html index 60f565522..ade7d2a42 100644 --- a/doc/developper/html/class__document_8php-source.html +++ b/doc/developper/html/class__document_8php-source.html @@ -502,10 +502,24 @@ 00585 } 00586 return $r; 00587 } -00588 -00589 -00590 } -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +00591 function remove() +00592 { +00593 $sql='delete from document where d_id='.$this->d_id; +00594 ExecSql($this->db,$sql); +00595 } +00602 function MoveDocumentPj($p_internal) +00603 { +00604 +00605 $sql=sprintf("update jrn set jr_pj=%s,jr_pj_name='%s',jr_pj_type='%s' where jr_internal='%s'", +00606 $this->d_lob,$this->d_filename,$this->d_mimetype,$p_internal); +00607 ExecSql($this->db,$sql); +00608 // clean the table document +00609 $this->remove(); +00610 } +00611 +00612 +00613 } +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__document_8php.html b/doc/developper/html/class__document_8php.html index 3a8d0b985..e06297a10 100644 --- a/doc/developper/html/class__document_8php.html +++ b/doc/developper/html/class__document_8php.html @@ -23,7 +23,7 @@ Class Document corresponds to the ta

      -Definition in file class_document.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_document.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__document__modele_8php-source.html b/doc/developper/html/class__document__modele_8php-source.html index 43ee0f674..9234b4c2d 100644 --- a/doc/developper/html/class__document__modele_8php-source.html +++ b/doc/developper/html/class__document__modele_8php-source.html @@ -241,7 +241,7 @@ 00281 00282 } 00283 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__document__modele_8php.html b/doc/developper/html/class__document__modele_8php.html index e3bfe0f08..52040f5e2 100644 --- a/doc/developper/html/class__document__modele_8php.html +++ b/doc/developper/html/class__document__modele_8php.html @@ -23,7 +23,7 @@ Class for the document template.

      -Definition in file class_document_modele.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_document_modele.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__document__type_8php-source.html b/doc/developper/html/class__document__type_8php-source.html index a4b3414e3..947353183 100644 --- a/doc/developper/html/class__document__type_8php-source.html +++ b/doc/developper/html/class__document__type_8php-source.html @@ -44,7 +44,7 @@ 00050 } 00051 00052 } -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__document__type_8php.html b/doc/developper/html/class__document__type_8php.html index 12c474986..2cb063942 100644 --- a/doc/developper/html/class__document__type_8php.html +++ b/doc/developper/html/class__document__type_8php.html @@ -22,7 +22,7 @@ class for the table document_type

      -Definition in file class_document_type.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_document_type.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__fiche_8php-source.html b/doc/developper/html/class__fiche_8php-source.html index 4759d1ec2..29a13105f 100644 --- a/doc/developper/html/class__fiche_8php-source.html +++ b/doc/developper/html/class__fiche_8php-source.html @@ -639,7 +639,7 @@ 00774 } 00775 } 00776 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__fiche_8php.html b/doc/developper/html/class__fiche_8php.html index 40736f026..0bacd4d95 100644 --- a/doc/developper/html/class__fiche_8php.html +++ b/doc/developper/html/class__fiche_8php.html @@ -26,7 +26,7 @@ define Class fiche and fiche def, those class are using class attribut

      -Definition in file class_fiche.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_fiche.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__fiche__def_8php-source.html b/doc/developper/html/class__fiche__def_8php-source.html index 2bf074937..8779ada45 100644 --- a/doc/developper/html/class__fiche__def_8php-source.html +++ b/doc/developper/html/class__fiche__def_8php-source.html @@ -103,7 +103,7 @@ 00141 00142 } 00143 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__fiche__def_8php.html b/doc/developper/html/class__fiche__def_8php.html index 9670b0822..ec263da9f 100644 --- a/doc/developper/html/class__fiche__def_8php.html +++ b/doc/developper/html/class__fiche__def_8php.html @@ -23,7 +23,7 @@

      -Definition in file class_fiche_def.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_fiche_def.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__invoice_8php-source.html b/doc/developper/html/class__invoice_8php-source.html index 66da9b2b2..ec55ed35c 100644 --- a/doc/developper/html/class__invoice_8php-source.html +++ b/doc/developper/html/class__invoice_8php-source.html @@ -148,7 +148,7 @@ 00149 } 00150 } 00151 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__invoice_8php.html b/doc/developper/html/class__invoice_8php.html index 59e140698..0d1894ac6 100644 --- a/doc/developper/html/class__invoice_8php.html +++ b/doc/developper/html/class__invoice_8php.html @@ -24,7 +24,7 @@ Class invoice to manage the customer invoice.
      Todo:
      obsolete ? then delete it

      -Definition in file class_invoice.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_invoice.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__jrn_8php-source.html b/doc/developper/html/class__jrn_8php-source.html index fe4d9b3f7..45945c354 100644 --- a/doc/developper/html/class__jrn_8php-source.html +++ b/doc/developper/html/class__jrn_8php-source.html @@ -297,7 +297,7 @@ 00329 return $Res[0]['value']; 00330 } 00331 } -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__jrn_8php.html b/doc/developper/html/class__jrn_8php.html index 8456906d2..bde500aab 100644 --- a/doc/developper/html/class__jrn_8php.html +++ b/doc/developper/html/class__jrn_8php.html @@ -16,7 +16,7 @@  Class for jrn. More...
      -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__operation_8php-source.html b/doc/developper/html/class__operation_8php-source.html index d1c934959..7f1272b7b 100644 --- a/doc/developper/html/class__operation_8php-source.html +++ b/doc/developper/html/class__operation_8php-source.html @@ -118,7 +118,7 @@ 00119 echo '</FORM>'; 00120 echo '</div>'; 00121 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__operation_8php.html b/doc/developper/html/class__operation_8php.html index 6713a89da..8de511108 100644 --- a/doc/developper/html/class__operation_8php.html +++ b/doc/developper/html/class__operation_8php.html @@ -354,7 +354,7 @@ Referenced by ExecuteScript() Definition at line 98 of file class_operation.php. -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__own_8php-source.html b/doc/developper/html/class__own_8php-source.html index ae18f4072..3dabc1203 100644 --- a/doc/developper/html/class__own_8php-source.html +++ b/doc/developper/html/class__own_8php-source.html @@ -58,7 +58,7 @@ 00070 } 00071 00072 } -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__own_8php.html b/doc/developper/html/class__own_8php.html index 4269d3bee..13220cfa0 100644 --- a/doc/developper/html/class__own_8php.html +++ b/doc/developper/html/class__own_8php.html @@ -23,7 +23,7 @@ Class to manage the company parameter (address, name...).

      -Definition in file class_own.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_own.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__parm__code_8php-source.html b/doc/developper/html/class__parm__code_8php-source.html index 954c8e7bc..9edc6cd64 100644 --- a/doc/developper/html/class__parm__code_8php-source.html +++ b/doc/developper/html/class__parm__code_8php-source.html @@ -114,7 +114,7 @@ 00152 } 00153 00154 } -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__parm__code_8php.html b/doc/developper/html/class__parm__code_8php.html index ef1e616d1..fa0057029 100644 --- a/doc/developper/html/class__parm__code_8php.html +++ b/doc/developper/html/class__parm__code_8php.html @@ -23,7 +23,7 @@ Manage the table parm_code which c

      -Definition in file class_parm_code.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_parm_code.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__poste_8php-source.html b/doc/developper/html/class__poste_8php-source.html index 5b7453c05..4a1100f75 100644 --- a/doc/developper/html/class__poste_8php-source.html +++ b/doc/developper/html/class__poste_8php-source.html @@ -116,7 +116,7 @@ 00138 'solde'=>abs($r['sum_deb']-$r['sum_cred'])); 00139 } 00140 } -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__poste_8php.html b/doc/developper/html/class__poste_8php.html index bd8ea9ab0..1ca27d17a 100644 --- a/doc/developper/html/class__poste_8php.html +++ b/doc/developper/html/class__poste_8php.html @@ -23,7 +23,7 @@ Manage the account.

      -Definition in file class_poste.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_poste.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__rapport_8php-source.html b/doc/developper/html/class__rapport_8php-source.html index 4393dff45..f9f33d9e0 100644 --- a/doc/developper/html/class__rapport_8php-source.html +++ b/doc/developper/html/class__rapport_8php-source.html @@ -72,7 +72,7 @@ 00079 } 00080 } 00081 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__rapport_8php.html b/doc/developper/html/class__rapport_8php.html index 8a3d72cd0..ea9414790 100644 --- a/doc/developper/html/class__rapport_8php.html +++ b/doc/developper/html/class__rapport_8php.html @@ -23,7 +23,7 @@ Create, view, modify and parse report.

      -Definition in file class_rapport.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_rapport.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__user_8php-source.html b/doc/developper/html/class__user_8php-source.html index 38bc45dd2..7523cdcf6 100644 --- a/doc/developper/html/class__user_8php-source.html +++ b/doc/developper/html/class__user_8php-source.html @@ -269,7 +269,7 @@ 00342 }//end function 00343 } 00344 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__user_8php.html b/doc/developper/html/class__user_8php.html index 66de10266..df3f461c5 100644 --- a/doc/developper/html/class__user_8php.html +++ b/doc/developper/html/class__user_8php.html @@ -23,7 +23,7 @@ Data & function about connected users.

      -Definition in file class_user.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_user.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__widget_8php-source.html b/doc/developper/html/class__widget_8php-source.html index ee9fdd2e2..5fa64d760 100644 --- a/doc/developper/html/class__widget_8php-source.html +++ b/doc/developper/html/class__widget_8php-source.html @@ -358,7 +358,7 @@ 00382 } 00383 00384 } -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/class__widget_8php.html b/doc/developper/html/class__widget_8php.html index f4c53266e..feb2b16ab 100644 --- a/doc/developper/html/class__widget_8php.html +++ b/doc/developper/html/class__widget_8php.html @@ -23,7 +23,7 @@ This class is used to create all the HTML INPUT TYPE.

      -Definition in file class_widget.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file class_widget.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/classaction.html b/doc/developper/html/classaction.html index f9bc5750f..c05bfb2d2 100644 --- a/doc/developper/html/classaction.html +++ b/doc/developper/html/classaction.html @@ -101,7 +101,7 @@ constructor
      Parameters:

      Definition at line 75 of file class_action.php.

      -References f_id. +References f_id.


      Member Function Documentation

      @@ -224,7 +224,7 @@ myList($p_filter="")
      Parameters:

      Definition at line 329 of file class_action.php.

      -References $_SESSION, $bar, $doc, $limit, $offset, $page, $r, $Res, $row, $sql, $step, CountSql(), ExecSql(), f_id, fiche, and jrn_navigation_bar(). +References $_SESSION, $bar, $doc, $limit, $offset, $page, $r, $Res, $row, $sql, $step, CountSql(), ExecSql(), f_id, fiche, and jrn_navigation_bar().

      @@ -259,7 +259,7 @@ SaveStage2

      Definition at line 241 of file class_action.php.

      -References $doc, $r, $sql, $str_file, ag_id, Display(), echo_debug(), ExecSql(), fiche, FormatString(), GetSequence(), md_id, name, and value. +References $doc, $r, $sql, $str_file, ag_id, Display(), echo_debug(), ExecSql(), fiche, FormatString(), GetSequence(), md_id, name, and value.

      @@ -579,7 +579,7 @@ Definition at line 70


      The documentation for this class was generated from the following file: -
      Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/classcl__user.html b/doc/developper/html/classcl__user.html index c3ad5459c..608a66730 100644 --- a/doc/developper/html/classcl__user.html +++ b/doc/developper/html/classcl__user.html @@ -100,7 +100,7 @@ Definition at line 33 Definition at line 40 of file class_user.php.

      -References $_SESSION, $cn, $p_id, $Res, $row, $Sql, DbConnect(), echo_debug(), isValid(), name, and theme. +References $_SESSION, $cn, $p_id, $Res, $row, $Sql, DbConnect(), echo_debug(), isValid(), name, and theme.


      Member Function Documentation

      @@ -687,7 +687,7 @@ Definition at line 38
      The documentation for this class was generated from the following file:
      -
      Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:10 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/classcontact.html b/doc/developper/html/classcontact.html index 3b42c0a6d..811d964f5 100644 --- a/doc/developper/html/classcontact.html +++ b/doc/developper/html/classcontact.html @@ -114,7 +114,7 @@ Summary

      Definition at line 50 of file class_contact.php.

      -References $bar, $offset, $page, $r, $search, $url, fiche::CountByDef(), f_id, fiche::fiche(), FormatString(), fiche::GetAll(), jrn_navigation_bar(), name, table, and value. +References $bar, $offset, $page, $r, $search, $url, fiche::CountByDef(), f_id, fiche::fiche(), FormatString(), fiche::GetAll(), jrn_navigation_bar(), name, table, and value.


      Field Documentation

      @@ -145,7 +145,7 @@ Definition at line 3
      The documentation for this class was generated from the following file:
      -
      Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:10 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/classfiche.html b/doc/developper/html/classfiche.html index bd0360130..4171cbaa9 100644 --- a/doc/developper/html/classfiche.html +++ b/doc/developper/html/classfiche.html @@ -443,7 +443,7 @@ Return array of card from the frd family.

      Definition at line 315 of file class_fiche.php.

      -References $_SESSION, $all, $i, $limit, $Ret, $row, $sql, $t, ExecSql(), f_id, fiche(), and return. +References $_SESSION, $all, $i, $limit, $Ret, $row, $sql, $t, ExecSql(), f_id, fiche(), and return.

      Referenced by GetAll(). @@ -495,7 +495,7 @@ GetByQCode($p_qcode)

      Parameters:

      Definition at line 167 of file class_fiche.php.

      -References $r, $Res, $sql, echo_debug(), ExecSql(), f_id, FormatString(), and getAttribut(). +References $r, $Res, $sql, echo_debug(), ExecSql(), f_id, FormatString(), and getAttribut().

      @@ -535,7 +535,7 @@ Get all the card where the fiche_def.fd_id is given in parameter.

      Definition at line 258 of file class_fiche.php.

      -References $all, $i, $Ret, $row, $sql, $t, ExecSql(), f_id, fiche(), and return. +References $all, $i, $Ret, $row, $sql, $t, ExecSql(), f_id, fiche(), and return.

      @@ -950,7 +950,7 @@ Definition at line 150


      The documentation for this class was generated from the following file: -
      Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/classfiche__def.html b/doc/developper/html/classfiche__def.html index acb7208ef..a976338e1 100644 --- a/doc/developper/html/classfiche__def.html +++ b/doc/developper/html/classfiche__def.html @@ -474,7 +474,7 @@ Definition at line 33<
      The documentation for this class was generated from the following file:
      -
      Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/classfiche__def__ref.html b/doc/developper/html/classfiche__def__ref.html index 5716fa0f2..7dd24e5c0 100644 --- a/doc/developper/html/classfiche__def__ref.html +++ b/doc/developper/html/classfiche__def__ref.html @@ -369,7 +369,7 @@ Definition at line class_fiche_def.php
    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classjrn.html b/doc/developper/html/classjrn.html index 59b552429..d43e133ff 100644 --- a/doc/developper/html/classjrn.html +++ b/doc/developper/html/classjrn.html @@ -398,7 +398,7 @@ Definition at line 28
    The documentation for this class was generated from the following file:
    • /home/dany/developpement/phpcompta-dev/phpcompta/include/class_jrn.php
    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classparm__code.html b/doc/developper/html/classparm__code.html index 990df6c4f..b13b3fe9e 100644 --- a/doc/developper/html/classparm__code.html +++ b/doc/developper/html/classparm__code.html @@ -367,7 +367,7 @@ Definition at line class_parm_code.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classposte.html b/doc/developper/html/classposte.html index b94bef3e2..c461970e1 100644 --- a/doc/developper/html/classposte.html +++ b/doc/developper/html/classposte.html @@ -312,7 +312,7 @@ Definition at line 31<
    The documentation for this class was generated from the following file:
    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classrapport.html b/doc/developper/html/classrapport.html index 2ae84452c..c412ec345 100644 --- a/doc/developper/html/classrapport.html +++ b/doc/developper/html/classrapport.html @@ -238,7 +238,7 @@ Definition at line 3
    The documentation for this class was generated from the following file:
    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/classwidget.html b/doc/developper/html/classwidget.html index ce84a2f62..8f541fc12 100644 --- a/doc/developper/html/classwidget.html +++ b/doc/developper/html/classwidget.html @@ -586,7 +586,7 @@ Definition at line 49
    The documentation for this class was generated from the following file:
    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/client_8inc_8php-source.html b/doc/developper/html/client_8inc_8php-source.html index 184975e14..7beb6486e 100644 --- a/doc/developper/html/client_8inc_8php-source.html +++ b/doc/developper/html/client_8inc_8php-source.html @@ -171,7 +171,7 @@ 00171 } 00172 html_page_stop(); 00173 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/client_8inc_8php.html b/doc/developper/html/client_8inc_8php.html index 8b2f9199a..adf8738e6 100644 --- a/doc/developper/html/client_8inc_8php.html +++ b/doc/developper/html/client_8inc_8php.html @@ -225,7 +225,7 @@ Definition at line 22 Definition at line 111 of file client.inc.php.

    -Referenced by jrn_navigation_bar(), Customer::Summary(), and contact::Summary(). +Referenced by jrn_navigation_bar(), Customer::Summary(), and contact::Summary().

    @@ -277,7 +277,7 @@ Definition at line 115<

    Definition at line 116 of file client.inc.php.

    -Referenced by ChangeStock(), cl_user::Check(), cl_user::cl_user(), action::Confirm(), EncodeFiche(), EncodeForm(), EncodeModele(), form_verify_input(), FormAchView(), FormFin(), FormODS(), FormVenteView(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), rapport::GetName(), poste::GetName(), jrn::GetName(), fiche::insert(), cl_user::insert_default_global_pref(), widget::IOValue(), jrn_navigation_bar(), MakeListingVat(), new_fiche(), Cpdf::o_font(), Cpdf::openFont(), rapport::rapport(), RecordJrn(), Document_modele::Save(), save_upload_document(), action::SaveStage2(), Cpdf::selectFont(), ShowFormTransfert(), contact::Summary(), u_ShowMenuRecherche(), fiche::update(), UpdateJrn(), Document::Upload(), Customer::VatListing(), VerifData(), VerifImport(), ViewFiche(), and ViewImp(). +Referenced by ChangeStock(), cl_user::Check(), cl_user::cl_user(), action::Confirm(), EncodeFiche(), EncodeForm(), EncodeModele(), form_verify_input(), FormAchView(), FormFin(), FormODS(), FormVenteView(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), rapport::GetName(), poste::GetName(), jrn::GetName(), fiche::insert(), cl_user::insert_default_global_pref(), widget::IOValue(), jrn_navigation_bar(), MakeListingVat(), new_fiche(), Cpdf::o_font(), Cpdf::openFont(), rapport::rapport(), RecordJrn(), Document_modele::Save(), save_upload_document(), action::SaveStage2(), Cpdf::selectFont(), ShowFormTransfert(), contact::Summary(), u_ShowMenuRecherche(), fiche::update(), UpdateJrn(), Document::Upload(), Customer::VatListing(), VerifData(), VerifImport(), ViewFiche(), and ViewImp().

    @@ -306,10 +306,10 @@ Referenced by ChangeStoc

    Definition at line 117 of file client.inc.php.

    -Referenced by ChangeStock(), action::Confirm(), widget::debug(), fiche_def_ref::Display(), DisplayDetailModele(), EncodeFiche(), EncodeForm(), Cezpdf::ezTable(), FormFin(), FormODS(), FormVenteView(), jrn::GetDefLine(), fiche::insert(), cl_user::insert_default_global_pref(), widget::IOValue(), jrn_navigation_bar(), fiche_def_ref::LoadAll(), make_array(), new_fiche(), Cpdf::o_fontDescriptor(), Document::ParseDocument(), RecordJrn(), action::SaveStage2(), contact::Summary(), u_ShowMenuRecherche(), fiche::update(), cl_user::update_global_pref(), UpdateJrn(), VerifImport(), ViewFiche(), ViewImp(), and widget::widget(). +Referenced by ChangeStock(), action::Confirm(), widget::debug(), fiche_def_ref::Display(), DisplayDetailModele(), EncodeFiche(), EncodeForm(), Cezpdf::ezTable(), FormFin(), FormODS(), FormVenteView(), jrn::GetDefLine(), fiche::insert(), cl_user::insert_default_global_pref(), widget::IOValue(), jrn_navigation_bar(), fiche_def_ref::LoadAll(), make_array(), new_fiche(), Cpdf::o_fontDescriptor(), Document::ParseDocument(), RecordJrn(), action::SaveStage2(), contact::Summary(), u_ShowMenuRecherche(), fiche::update(), cl_user::update_global_pref(), UpdateJrn(), VerifImport(), ViewFiche(), ViewImp(), and widget::widget(). -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/commercial_8php-source.html b/doc/developper/html/commercial_8php-source.html index 14cc76d71..ea32c0a02 100644 --- a/doc/developper/html/commercial_8php-source.html +++ b/doc/developper/html/commercial_8php-source.html @@ -121,7 +121,7 @@ 00130 { 00131 require_once("contact.inc.php"); 00132 } -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/commercial_8php.html b/doc/developper/html/commercial_8php.html index 7409d18fc..6904b9efa 100644 --- a/doc/developper/html/commercial_8php.html +++ b/doc/developper/html/commercial_8php.html @@ -55,7 +55,7 @@ Definition in file commercial.p

    Definition at line 35 of file commercial.php.

    -Referenced by cl_user::Check(), cl_user::cl_user(), fiche::GetByDef(), cl_user::GetGlobalPref(), jrn_navigation_bar(), ListJrn(), action::myList(), ShowDossier(), TransferCSV(), and ViewFiche(). +Referenced by cl_user::Check(), cl_user::cl_user(), fiche::GetByDef(), cl_user::GetGlobalPref(), jrn_navigation_bar(), ListJrn(), action::myList(), ShowDossier(), TransferCSV(), and ViewFiche().

    @@ -158,7 +158,7 @@ Definition at line 4143 of file commercial.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/constant_8php-source.html b/doc/developper/html/constant_8php-source.html index 9ce75fd78..14748685f 100644 --- a/doc/developper/html/constant_8php-source.html +++ b/doc/developper/html/constant_8php-source.html @@ -378,7 +378,7 @@ 00374 define ("SQL_LIST_UNPAID_INVOICE_DATE_LIMIT" ," where (jr_rapt is null or jr_rapt = '') 00375 and to_date(to_char(jr_ech,'DD.MM.YYYY'),'DD.MM.YYYY') < to_date(to_char(now(),'DD.MM.YYYY'),'DD.MM.YYYY') and jr_valid = true" ); 00376 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/constant_8php.html b/doc/developper/html/constant_8php.html index d60162260..bc225af95 100644 --- a/doc/developper/html/constant_8php.html +++ b/doc/developper/html/constant_8php.html @@ -2316,7 +2316,7 @@ Definition at line 59 Definition at line 86 of file constant.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/contact_8inc_8php-source.html b/doc/developper/html/contact_8inc_8php-source.html index e5cb7e043..e786cfedf 100644 --- a/doc/developper/html/contact_8inc_8php-source.html +++ b/doc/developper/html/contact_8inc_8php-source.html @@ -186,7 +186,7 @@ 00189 html_page_stop(); 00190 00191 -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/contact_8inc_8php.html b/doc/developper/html/contact_8inc_8php.html index 8eec5d287..5d5a849fa 100644 --- a/doc/developper/html/contact_8inc_8php.html +++ b/doc/developper/html/contact_8inc_8php.html @@ -295,7 +295,7 @@ Definition at line 129 Definition at line 130 of file contact.inc.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/debug_8php-source.html b/doc/developper/html/debug_8php-source.html index 50191bd46..c4ca40fcd 100644 --- a/doc/developper/html/debug_8php-source.html +++ b/doc/developper/html/debug_8php-source.html @@ -40,7 +40,7 @@ 00040 } 00041 00042 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/debug_8php.html b/doc/developper/html/debug_8php.html index 07340da92..e565a83f2 100644 --- a/doc/developper/html/debug_8php.html +++ b/doc/developper/html/debug_8php.html @@ -77,10 +77,10 @@ print debug

    Definition at line 34 of file debug.php.

    -Referenced by AddFiche(), AddForm(), AddModele(), fiche::blank(), cl_user::Check(), CheckJrn(), cl_user::cl_user(), ComputeTotalVat(), ComputeVat(), DbConnect(), DefModele(), DeleteRapt(), fiche::Display(), DisplayDetailModele(), echo_error(), EncodeFiche(), EncodeForm(), ExecSql(), form_verify_input(), FormAchInput(), FormVenInput(), Document::Generate(), fiche::Get(), get_quick_key(), GetAllUser(), GetArray(), fiche::GetByQCode(), GetClass(), GetCreateAccount(), GetData(), GetDataJrnJrId(), GetDataJrnPdf(), jrn::GetDefLine(), cl_user::GetGlobalPref(), GetNextFiche(), GetParent(), GetPriv(), GetRappel(), jrn::GetRow(), jrn::GetRowSimple(), ImpHtml(), fiche::insert(), cl_user::insert_default_global_pref(), InsertJrn(), InsertJrnx(), InsertRapt(), InsertStockGoods(), widget::IOValue(), new_fiche(), Document::ParseDocument(), ParseFormula(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), Invoice::Save(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), action::SaveStage2(), ShowDossier(), ShowMenuCompta(), ShowMenuJrnUser(), ShowPeriode(), u_ShowMenuRecherche(), fiche::update(), UpdateFiche(), UpdateForm(), UpdateJrn(), UpdateModele(), VerifData(), VerifyOperationDate(), ViewImp(), ViewJrn(), ViewRec(), and ViewRecord(). +Referenced by AddFiche(), AddForm(), AddModele(), fiche::blank(), cl_user::Check(), CheckJrn(), cl_user::cl_user(), ComputeTotalVat(), ComputeVat(), DbConnect(), DefModele(), DeleteRapt(), fiche::Display(), DisplayDetailModele(), echo_error(), EncodeFiche(), EncodeForm(), ExecSql(), form_verify_input(), FormAchInput(), FormVenInput(), Document::Generate(), fiche::Get(), get_quick_key(), GetAllUser(), GetArray(), fiche::GetByQCode(), GetClass(), GetCreateAccount(), GetData(), GetDataJrnJrId(), GetDataJrnPdf(), jrn::GetDefLine(), cl_user::GetGlobalPref(), GetNextFiche(), GetParent(), GetPriv(), GetRappel(), jrn::GetRow(), jrn::GetRowSimple(), ImpHtml(), fiche::insert(), cl_user::insert_default_global_pref(), InsertJrn(), InsertJrnx(), InsertRapt(), InsertStockGoods(), widget::IOValue(), new_fiche(), Document::ParseDocument(), ParseFormula(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), Invoice::Save(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), action::SaveStage2(), ShowDossier(), ShowMenuCompta(), ShowMenuJrnUser(), ShowPeriode(), u_ShowMenuRecherche(), fiche::update(), UpdateFiche(), UpdateForm(), UpdateJrn(), UpdateModele(), VerifData(), VerifyOperationDate(), ViewImp(), ViewJrn(), ViewRec(), and ViewRecord(). -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/decla_8BE_8inc_8php-source.html b/doc/developper/html/decla_8BE_8inc_8php-source.html index 506a9754c..a65a7310f 100644 --- a/doc/developper/html/decla_8BE_8inc_8php-source.html +++ b/doc/developper/html/decla_8BE_8inc_8php-source.html @@ -78,7 +78,7 @@ 00084 $a.="\r\n"; 00085 return $a; 00086 } -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/decla_8BE_8inc_8php.html b/doc/developper/html/decla_8BE_8inc_8php.html index b298ac8d2..41e8acdec 100644 --- a/doc/developper/html/decla_8BE_8inc_8php.html +++ b/doc/developper/html/decla_8BE_8inc_8php.html @@ -68,7 +68,7 @@ Definition at line 3 References $a, $b, $client, $my, and name. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/demo_8php-source.html b/doc/developper/html/demo_8php-source.html index 6b1d3506c..e62c42f90 100644 --- a/doc/developper/html/demo_8php-source.html +++ b/doc/developper/html/demo_8php-source.html @@ -98,7 +98,7 @@ 00092 return $tmpString; 00093 } 00094 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/demo_8php.html b/doc/developper/html/demo_8php.html index fc120ea2f..2b4dd6c90 100644 --- a/doc/developper/html/demo_8php.html +++ b/doc/developper/html/demo_8php.html @@ -16,7 +16,7 @@
    Todo:
    to remove

    -Definition in file demo.php.


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file demo.php.
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/dir_000000.html b/doc/developper/html/dir_000000.html index 4ee9fefcd..cd26f4714 100644 --- a/doc/developper/html/dir_000000.html +++ b/doc/developper/html/dir_000000.html @@ -13,7 +13,7 @@ directory  phpcompta-dev -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/dir_000001.html b/doc/developper/html/dir_000001.html index 5408bae4c..17ef40abd 100644 --- a/doc/developper/html/dir_000001.html +++ b/doc/developper/html/dir_000001.html @@ -13,7 +13,7 @@ directory  phpcompta -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/dir_000002.html b/doc/developper/html/dir_000002.html index 3a63457db..fa8e4d86c 100644 --- a/doc/developper/html/dir_000002.html +++ b/doc/developper/html/dir_000002.html @@ -15,7 +15,7 @@ directory  include -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/dir_000003.html b/doc/developper/html/dir_000003.html index 96fc0a283..3a5dab58a 100644 --- a/doc/developper/html/dir_000003.html +++ b/doc/developper/html/dir_000003.html @@ -293,7 +293,7 @@

    -


    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/dir_000004.html b/doc/developper/html/dir_000004.html index 5efb5121d..e85008baf 100644 --- a/doc/developper/html/dir_000004.html +++ b/doc/developper/html/dir_000004.html @@ -17,7 +17,7 @@ file  readme.php [code] -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/dir_000005.html b/doc/developper/html/dir_000005.html index aea2c4156..a0d148e8d 100644 --- a/doc/developper/html/dir_000005.html +++ b/doc/developper/html/dir_000005.html @@ -13,7 +13,7 @@ file  setup.php [code] -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/dir_000006.html b/doc/developper/html/dir_000006.html index 5cba0a77e..cfab8ff20 100644 --- a/doc/developper/html/dir_000006.html +++ b/doc/developper/html/dir_000006.html @@ -326,7 +326,7 @@

    -


    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/dirs.html b/doc/developper/html/dirs.html index 869d8bc5e..5a42b1793 100644 --- a/doc/developper/html/dirs.html +++ b/doc/developper/html/dirs.html @@ -22,7 +22,7 @@ -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/document__modele_8inc_8php-source.html b/doc/developper/html/document__modele_8inc_8php-source.html index a688586a7..42dc64f4a 100644 --- a/doc/developper/html/document__modele_8inc_8php-source.html +++ b/doc/developper/html/document__modele_8inc_8php-source.html @@ -75,7 +75,7 @@ 00075 // Default action : Show the list 00077 echo $doc->myList(); 00078 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/document__modele_8inc_8php.html b/doc/developper/html/document__modele_8inc_8php.html index c31499cf2..f9e901f0c 100644 --- a/doc/developper/html/document__modele_8inc_8php.html +++ b/doc/developper/html/document__modele_8inc_8php.html @@ -191,7 +191,7 @@ Definition at line Cezpdf::alink(), Cezpdf::ezPrvtTableColumnHeadings(), Cezpdf::ezTable(), Cezpdf::ezText(), Document_modele::Save(), and Cezpdf::uline(). -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/dossier__prefs_8php-source.html b/doc/developper/html/dossier__prefs_8php-source.html deleted file mode 100644 index 04c2d79a6..000000000 --- a/doc/developper/html/dossier__prefs_8php-source.html +++ /dev/null @@ -1,262 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/dossier_prefs.php Source File - - - - - -

    dossier_prefs.php

    Go to the documentation of this file.
    00001 <?
    -00002 /*
    -00003  *   This file is part of PhpCompta.
    -00004  *
    -00005  *   PhpCompta is free software; you can redistribute it and/or modify
    -00006  *   it under the terms of the GNU General Public License as published by
    -00007  *   the Free Software Foundation; either version 2 of the License, or
    -00008  *   (at your option) any later version.
    -00009  *
    -00010  *   PhpCompta is distributed in the hope that it will be useful,
    -00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
    -00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    -00013  *   GNU General Public License for more details.
    -00014  *
    -00015  *   You should have received a copy of the GNU General Public License
    -00016  *   along with PhpCompta; if not, write to the Free Software
    -00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    -00018 */
    -00019 /* $Revision$ */
    -00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
    -00021 /* $Revision$ */
    -00022 include_once ("ac_common.php");
    -00023 html_page_start($_SESSION['g_theme']);
    -00024 if ( ! isset ( $_SESSION['g_dossier'] ) ) {
    -00025   echo "You must choose a Dossier ";
    -00026   exit -2;
    -00027 }
    -00028 include_once ("postgres.php");
    -00029 /* Admin. Dossier */
    -00030 $rep=DbConnect();
    -00031 include_once ("class_user.php");
    -00032 $User=new cl_user($rep);
    -00033 $User->Check();
    -00034 
    -00035 include("preference.php");
    -00036 include_once("user_menu.php");
    -00037 
    -00038 ShowMenuCompta($_SESSION['g_dossier']);
    -00039 
    -00040 include_once ("check_priv.php");
    -00041 
    -00042 $cn=DbConnect($_SESSION['g_dossier']);
    -00043 
    -00044 if ( $User->CheckAction($cn,PARM) == 0 ) {
    -00045     /* Cannot Access */
    -00046     NoAccess();
    -00047   exit -1;                      
    -00048 
    -00049 }
    -00050 
    -00051 echo ShowMenuParam();
    -00052 $p_action="";
    -00053 if ( isset($_REQUEST["p_action"]) ) {
    -00054   $p_action=$_REQUEST["p_action"];
    -00055 }
    -00056 
    -00057 
    -00058 echo '<DIV CLASS="u_redcontent">';
    -00059 // Devise 
    -00060 
    -00061 $action="";
    -00062 if ( isset ($_POST['action']) ) {
    -00063   $action=$_POST['action'];
    -00064 }
    -00065 
    -00067 // Currency
    -00069 if ( $p_action == "change" ) {
    -00070   $p_mid=$_GET['p_mid'];
    -00071   $p_rate=$_GET['p_rate'];
    -00072   $p_code=$_GET['p_code'];
    -00073 
    -00074   echo '<TR> <FORM ACTION="dossier_prefs.php" METHOD="POST">';
    -00075   echo '<INPUT TYPE="HIDDEN" VALUE="'.$p_mid.'" NAME="p_id">';
    -00076   echo '<TD> <INPUT TYPE="text" NAME="p_devise" VALUE="'.$p_code.'"></TD>';
    -00077   echo '<TD> <INPUT TYPE="text" NAME="p_rate" VALUE="'.$p_rate.'"></TD>';
    -00078   echo '<TD> <INPUT TYPE="SUBMIT" NAME="action" Value="Change"</TD>';
    -00079   echo '</FORM></TR>';
    -00080 }
    -00081 if ( $action == "Change") {
    -00082   $p_devise=$_POST['p_devise'];
    -00083   $p_id=$_POST['p_id'];
    -00084   $p_rate=$_POST['p_rate'];
    -00085   $Res=ExecSql($cn,"update parm_money set pm_code='$p_devise',pm_rate=$p_rate where pm_id=$p_id");
    -00086   ShowDevise($cn);
    -00087 
    -00088 }
    -00089 if ( $action == "Ajout") {
    -00090   $p_devise=$_POST['p_devise'];
    -00091   $p_rate=$_POST['p_rate'];
    -00092   $Res=ExecSql($cn,"insert into parm_money ( pm_code,pm_rate) values ('$p_devise',$p_rate) ");
    -00093   ShowDevise($cn);
    -00094 
    -00095 }
    -00096 
    -00097 if ( $p_action == "delete") {
    -00098   $p_id=$_GET['p_mid'];
    -00099   $Res=ExecSql($cn,"delete from parm_money  where pm_id=$p_id");
    -00100   ShowDevise($cn);
    -00101 }
    -00102 
    -00103 
    -00104 if ( $p_action=="devise") {
    -00105   ShowDevise($cn);
    -00106 }
    -00107 
    -00109 // Periode
    -00111 if ( $p_action=="change_per") {
    -00112   foreach($HTTP_GET_VARS as $key=>$element) 
    -00113     ${"$key"}=$element;
    -00114   echo "<TABLE>";
    -00115   echo '<TR> <FORM ACTION="dossier_prefs.php" METHOD="POST">';
    -00116   echo ' <INPUT TYPE="HIDDEN" NAME="p_per" VALUE="'.$p_per.'">';
    -00117   echo '<TD> <INPUT TYPE="text" NAME="p_date_start" VALUE="'.$p_date_start.'"></TD>';
    -00118   echo '<TD> <INPUT TYPE="text" NAME="p_date_end" VALUE="'.$p_date_end.'"></TD>';
    -00119   echo '<TD> <INPUT TYPE="text" NAME="p_exercice" VALUE="'.$p_exercice.'"></TD>';
    -00120   echo '<TD> <INPUT TYPE="SUBMIT" NAME="chg_per" Value="Change"</TD>';
    -00121   echo '</FORM></TR>';
    -00122   echo "</TABLE>";
    -00123 
    -00124 }
    -00125 if ( isset ($_POST["chg_per"] ) ) {
    -00126   foreach($HTTP_POST_VARS as $key=>$element) 
    -00127     ${"$key"}=$element;
    -00128   if (isDate($p_date_start) == null ||
    -00129       isDate($p_date_end) == null ||
    -00130       strlen (trim($p_exercice)) == 0 ||
    -00131      (string) $p_exercice != (string)(int) $p_exercice)
    -00132     { 
    -00133       echo "<H2 class=\"error\"> Valeurs invalides</H2>";
    -00134       ShowPeriode($cn);
    -00135       return;
    -00136     }
    -00137   $Res=ExecSql($cn," update parm_periode ".
    -00138                "set p_start=to_date('". $p_date_start."','DD.MM.YYYY'),".
    -00139                " p_end=to_date('". $p_date_end."','DD.MM.YYYY'),".
    -00140                " p_exercice='".$p_exercice."'".
    -00141                " where p_id=".$p_per);
    -00142 
    -00143   ShowPeriode($cn);
    -00144 
    -00145 }
    -00146 if ( isset ($_POST["add_per"] )) {
    -00147   foreach($HTTP_POST_VARS as $key=>$element) 
    -00148     ${"$key"}=$element;
    -00149   if (isDate($p_date_start) == null ||
    -00150       isDate($p_date_end) == null ||
    -00151       strlen (trim($p_exercice)) == 0 ||
    -00152      (string) $p_exercice != (string)(int) $p_exercice)
    -00153     { 
    -00154       echo "<H2 class=\"error\"> Valeurs invalides</H2>";
    -00155       ShowPeriode($cn);
    -00156       return;
    -00157     }
    -00158   $Res=ExecSql($cn,sprintf(" insert into parm_periode(p_start,p_end,p_closed,p_exercice)".
    -00159                            "values (to_date('%s','DD.MM.YYYY'),to_date('%s','DD.MM.YYYY')".
    -00160                            ",'f','%s')",
    -00161                            $p_date_start,
    -00162                            $p_date_end,
    -00163                            $p_exercice));
    -00164 
    -00165   ShowPeriode($cn);
    -00166 
    -00167 }
    -00168 
    -00169 echo_debug('dossier_prefs.php',__LINE__,"Action $action");
    -00170 if ( $p_action=="closed") {
    -00171   $p_per=$_GET['p_per'];
    -00172   $Res=ExecSql($cn,"update parm_periode set p_closed=true where p_id=$p_per");
    -00173   ShowPeriode($cn);
    -00174 }
    -00175 
    -00176 if ( $p_action== "delete_per" ) {
    -00177   $p_per=$_GET["p_per"];
    -00178 // Check if the periode is not used
    -00179   if ( CountSql($cn,"select * from jrnx where j_tech_per=$p_per") != 0 ) {
    -00180   echo '<h2 class="error"> Désolé mais cette période est utilisée</h2>';
    -00181   } else
    -00182   {
    -00183   $Res=ExecSql($cn,"delete from parm_periode where p_id=$p_per");
    -00184   ShowPeriode($cn);
    -00185   }
    -00186 }
    -00187 
    -00188 if ( $p_action == "periode" ) {
    -00189   ShowPeriode($cn);
    -00190 }
    -00192 // Coord societe
    -00194 if ( $p_action=='company') { 
    -00195   require_once("class_own.php");
    -00196   require_once("class_widget.php");
    -00197   if ( isset ($_POST['record_company'] )) {
    -00198     $m=new Own($cn);
    -00199     extract($_POST);
    -00200     $m->MY_NAME=$p_name;
    -00201     $m->MY_TVA=$p_tva;
    -00202     $m->MY_STREET=$p_street;
    -00203     $m->MY_NUMBER=$p_no;
    -00204     $m->MY_CP=$p_cp;
    -00205     $m->MY_COMMUNE=$p_Commune;
    -00206     $m->Save();
    -00207   }
    -00208 
    -00209   $my=new Own($cn);
    -00210   $all=new widget("text");
    -00211   $all->table=1;
    -00212   echo '<form method="post" action="?p_action=company">';
    -00213   echo "<table class=\"result\">";
    -00214   echo "<tr>".$all->IOValue("p_name",$my->MY_NAME,"Nom société")."</tr>";
    -00215 
    -00216   echo "<tr>".$all->IOValue("p_tva",$my->MY_TVA,"Numéro de Tva")."</tr>";
    -00217   echo "<tr>".$all->IOValue("p_street",$my->MY_STREET,"Rue ")."</tr>";
    -00218   echo "<tr>".$all->IOValue("p_no",$my->MY_NUMBER,"Numéro")."</tr>";
    -00219   echo "<tr>".$all->IOValue("p_cp",$my->MY_CP,"Code Postal")."</tr>";
    -00220   echo "<tr>".$all->IOValue("p_Commune",$my->MY_COMMUNE,"Commune")."</tr>";
    -00221   echo "</table>";
    -00222   $submit=new widget("submit");
    -00223   echo $submit->Submit("record_company","Enregistre");
    -00224   echo "</form>";
    -00225  }
    -00227 // Invoice 
    -00229 
    -00230 if ( $p_action == 'invoice' ) {
    -00231         require_once("class_invoice.php");
    -00232         echo ShowMenuInvoice();
    -00233         $inv=new Invoice($cn);
    -00234         $inv->myList();
    -00235         $inv->FormAdd();
    -00236         
    -00237 } 
    -00238 
    -00240 // Invoice      add a template
    -00242 if ( $p_action=='add_template') {
    -00243         require_once("class_invoice.php");
    -00244         $inv=new Invoice($cn);
    -00245         //$inv->List();
    -00246 }
    -00248 // Invoice remove a template
    -00250 if ( $p_action=='rm_template') {
    -00251 require_once("class_invoice.php");
    -00252         $inv=new Invoice($cn);
    -00253         $inv->Delete();
    -00254 }
    -00255   
    -00256   
    -00257 
    -00258 echo "</DIV>";
    -00259 html_page_stop();
    -00260 ?>
    -

    Generated on Wed May 31 21:39:14 2006 for phpcompta by  - -doxygen 1.4.4
    - - diff --git a/doc/developper/html/dossier__prefs_8php.html b/doc/developper/html/dossier__prefs_8php.html deleted file mode 100644 index 799338298..000000000 --- a/doc/developper/html/dossier__prefs_8php.html +++ /dev/null @@ -1,526 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/dossier_prefs.php File Reference - - - - - -

    dossier_prefs.php File Reference

    -

    -Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Variables

     $rep = DbConnect()
     $User = new cl_user($rep)
     $cn = DbConnect($_SESSION['g_dossier'])
     exit
     $p_action = ""
     return
     $Res
    $m MY_NAME = $p_name
    $m MY_TVA = $p_tva
    $m MY_STREET = $p_street
    $m MY_NUMBER = $p_no
    $m MY_CP = $p_cp
    $m MY_COMMUNE = $p_Commune
     $my = new Own($cn)
     $all = new widget("text")
    $all table = 1
     $submit = new widget("submit")
     $inv = new Invoice($cn)
    -


    Variable Documentation

    -

    - - - - -
    - - - - -
    $all = new widget("text")
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 210 of file dossier_prefs.php.

    -

    - - - - -
    - - - - -
    $cn = DbConnect($_SESSION['g_dossier'])
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 42 of file dossier_prefs.php.

    -

    - - - - -
    - - - - -
    $inv = new Invoice($cn)
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 233 of file dossier_prefs.php.

    -

    - - - - -
    - - - - -
    $my = new Own($cn)
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 209 of file dossier_prefs.php. -

    -Referenced by MakeListingVat().

    -

    - - - - -
    - - - - -
    $p_action = ""
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 52 of file dossier_prefs.php.

    -

    - - - - -
    - - - - -
    $rep = DbConnect()
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 30 of file dossier_prefs.php.

    -

    - - - - -
    - - - - -
    $Res
    -
    - - - - - -
    -   - - -

    -Initial value:

    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)
    -
    -

    -Definition at line 137 of file dossier_prefs.php.

    -

    - - - - -
    - - - - -
    $submit = new widget("submit")
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 222 of file dossier_prefs.php.

    -

    - - - - -
    - - - - -
    $User = new cl_user($rep)
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 32 of file dossier_prefs.php.

    -

    - - - - -
    - - - - -
    exit
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 47 of file dossier_prefs.php.

    -

    - - - - -
    - - - - -
    $m MY_COMMUNE = $p_Commune
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 205 of file dossier_prefs.php. -

    -Referenced by Own::Save().

    -

    - - - - -
    - - - - -
    $m MY_CP = $p_cp
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 204 of file dossier_prefs.php. -

    -Referenced by Own::Save().

    -

    - - - - -
    - - - - -
    $m MY_NAME = $p_name
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 200 of file dossier_prefs.php. -

    -Referenced by Own::Save().

    -

    - - - - -
    - - - - -
    $m MY_NUMBER = $p_no
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 203 of file dossier_prefs.php. -

    -Referenced by Own::Save().

    -

    - - - - -
    - - - - -
    $m MY_STREET = $p_street
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 202 of file dossier_prefs.php. -

    -Referenced by Own::Save().

    -

    - - - - -
    - - - - -
    $m MY_TVA = $p_tva
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 201 of file dossier_prefs.php. -

    -Referenced by Own::Save().

    -

    - - - - -
    - - - - -
    return
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 135 of file dossier_prefs.php.

    -

    - - - - -
    - - - - -
    $all table = 1
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 211 of file dossier_prefs.php.

    -


    Generated on Wed May 31 21:39:15 2006 for phpcompta by  - -doxygen 1.4.4
    - - diff --git a/doc/developper/html/ecrit__ouv_8php-source.html b/doc/developper/html/ecrit__ouv_8php-source.html index abfbf000e..b81010087 100644 --- a/doc/developper/html/ecrit__ouv_8php-source.html +++ b/doc/developper/html/ecrit__ouv_8php-source.html @@ -163,7 +163,7 @@ 00160 echo '</div>'; 00161 html_page_stop(); 00162 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/ecrit__ouv_8php.html b/doc/developper/html/ecrit__ouv_8php.html index 4b6bb19c0..5e4df5247 100644 --- a/doc/developper/html/ecrit__ouv_8php.html +++ b/doc/developper/html/ecrit__ouv_8php.html @@ -295,7 +295,7 @@ Definition at line 6871 of file ecrit_ouv.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/error_8php-source.html b/doc/developper/html/error_8php-source.html index 1ecf7315a..f3446643e 100644 --- a/doc/developper/html/error_8php-source.html +++ b/doc/developper/html/error_8php-source.html @@ -63,7 +63,7 @@ 00065 } 00066 00067 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/error_8php.html b/doc/developper/html/error_8php.html index 280228fcd..56d67c587 100644 --- a/doc/developper/html/error_8php.html +++ b/doc/developper/html/error_8php.html @@ -61,7 +61,7 @@ Following the error code show adialog box. Definition at line 33 of file error.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/eub__be_8inc_8php-source.html b/doc/developper/html/eub__be_8inc_8php-source.html index 223d3cb4f..d2b1cdca4 100644 --- a/doc/developper/html/eub__be_8inc_8php-source.html +++ b/doc/developper/html/eub__be_8inc_8php-source.html @@ -82,7 +82,7 @@ 00078 } // file is read 00079 fclose($handle); 00080 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/eub__be_8inc_8php.html b/doc/developper/html/eub__be_8inc_8php.html index ca78decd5..918dd8ab0 100644 --- a/doc/developper/html/eub__be_8inc_8php.html +++ b/doc/developper/html/eub__be_8inc_8php.html @@ -138,7 +138,7 @@ Referenced by TransferC

    Definition at line 74 of file eub_be.inc.php.

    -Referenced by AddFiche(), AddForm(), AddModele(), AlterSequence(), Centralise(), cl_user::CheckAction(), CheckAction(), CheckJrn(), cl_user::cl_user(), Commit(), DeleteRapt(), DisplayDetailModele(), EncodeFiche(), EndSql(), ExisteJnt(), ExistePriv(), FormPeriode(), FormPeriodeMult(), Document::Generate(), parm_code::Get(), fiche_def_ref::Get(), Get_attr_def(), Get_attr_min(), Get_fiche_def_ref(), GetAllUser(), GetAmount(), GetAvailableFolder(), GetBaseFiche(), GetBaseFicheDefault(), fiche::GetByQCode(), GetClass(), GetConcerned(), GetCreateAccount(), GetData(), GetDataForm(), GetDataGrpt(), GetDataJrn(), GetDataJrnJrId(), GetDataJrnPdf(), GetDataModele(), GetDataPoste(), jrn::GetDefLine(), GetExercice(), getFicheAttribut(), GetFicheDef(), getFicheDefName(), GetFicheDefRef(), GetFicheJrn(), getFicheName(), getFicheNameById(), getFicheNameCode(), GetFormName(), GetFormulaValue(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), GetGrpt(), GetInternal(), GetJnt(), GetJrnName(), GetJrnProp(), GetJrnProperty(), GetLogin(), GetModeleId(), jrn::GetName(), fiche::getName(), GetNextFiche(), GetNumberLine(), GetPeriode(), GetPosteLibelle(), cl_user::GetPreferences(), GetPriv(), GetQuantity(), GetRappel(), rapport::GetRow(), poste::GetRow(), jrn::GetRow(), Balance::GetRow(), jrn::GetRowSimple(), GetSequence(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), GetTvaPoste(), GetTvaRate(), GetUid(), GetVersion(), html_page_start(), ImpHtml(), InsertJrn(), InsertJrnx(), InsertModeleLine(), InsertRapt(), InsertStockGoods(), isCentralize(), IsFicheOfJrn(), isValid(), ListJrn(), parm_code::LoadAll(), fiche_def_ref::LoadAll(), Invoice::myList(), Document_modele::myList(), action::myList(), new_fiche(), NextSequence(), Own::Own(), PeriodeClosed(), PosteForm(), RecordInvoice(), RecordJrn(), RecordSell(), Remove(), fiche::remove(), Rollback(), parm_code::Save(), fiche_def_ref::Save(), SaveModeleName(), SetInternalCode(), cl_user::SetPeriode(), ShowDevise(), ShowMenuFiche(), ShowMenuJrn(), ShowPeriode(), StartSql(), fiche::strAttribut(), SyncRight(), TransferCSV(), UpdateComment(), UpdateCSV(), UpdateFiche(), UpdateForm(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFiche(), ViewFicheDetail(), ViewJrn(), and ViewStock(). +Referenced by AddFiche(), AddForm(), AddModele(), AlterSequence(), Centralise(), cl_user::CheckAction(), CheckAction(), CheckJrn(), cl_user::cl_user(), Commit(), DeleteRapt(), DisplayDetailModele(), EncodeFiche(), EndSql(), ExisteJnt(), ExistePriv(), FormPeriode(), FormPeriodeMult(), Document::Generate(), parm_code::Get(), fiche_def_ref::Get(), Get_attr_def(), Get_attr_min(), Get_fiche_def_ref(), GetAllUser(), GetAmount(), GetAvailableFolder(), GetBaseFiche(), GetBaseFicheDefault(), fiche::GetByQCode(), GetClass(), GetConcerned(), GetCreateAccount(), GetData(), GetDataForm(), GetDataGrpt(), GetDataJrn(), GetDataJrnJrId(), GetDataJrnPdf(), GetDataModele(), GetDataPoste(), jrn::GetDefLine(), GetExercice(), getFicheAttribut(), GetFicheDef(), getFicheDefName(), GetFicheDefRef(), GetFicheJrn(), getFicheName(), getFicheNameById(), getFicheNameCode(), GetFormName(), GetFormulaValue(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), GetGrpt(), GetInternal(), GetJnt(), GetJrnName(), GetJrnProp(), GetJrnProperty(), GetLogin(), GetModeleId(), jrn::GetName(), fiche::getName(), GetNextFiche(), GetNumberLine(), GetPeriode(), GetPosteLibelle(), cl_user::GetPreferences(), GetPriv(), GetQuantity(), GetRappel(), rapport::GetRow(), poste::GetRow(), jrn::GetRow(), Balance::GetRow(), jrn::GetRowSimple(), GetSequence(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), GetTvaPoste(), GetTvaRate(), GetUid(), GetVersion(), html_page_start(), ImpHtml(), InsertJrn(), InsertJrnx(), InsertModeleLine(), InsertRapt(), InsertStockGoods(), isCentralize(), IsFicheOfJrn(), isValid(), ListJrn(), parm_code::LoadAll(), fiche_def_ref::LoadAll(), Invoice::myList(), Document_modele::myList(), action::myList(), new_fiche(), NextSequence(), Own::Own(), PeriodeClosed(), PosteForm(), RecordInvoice(), RecordJrn(), RecordSell(), Remove(), fiche::remove(), Rollback(), parm_code::Save(), fiche_def_ref::Save(), SaveModeleName(), SetInternalCode(), cl_user::SetPeriode(), ShowDevise(), ShowMenuFiche(), ShowMenuJrn(), ShowPeriode(), StartSql(), fiche::strAttribut(), SyncRight(), TransferCSV(), UpdateComment(), UpdateCSV(), UpdateFiche(), UpdateForm(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFiche(), ViewFicheDetail(), ViewJrn(), and ViewStock().

    @@ -212,7 +212,7 @@ Definition at line 55< Referenced by AddFiche(), cl_user::cl_user(), Get_attr_def(), Get_attr_min(), GetCreateAccount(), GetDataJrnPdf(), jrn::GetRow(), cl_user::insert_default_global_pref(), RecordJrn(), and cl_user::update_global_pref(). -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/export__ouv_8php-source.html b/doc/developper/html/export__ouv_8php-source.html index f9562ac10..0b354fb46 100644 --- a/doc/developper/html/export__ouv_8php-source.html +++ b/doc/developper/html/export__ouv_8php-source.html @@ -84,7 +84,7 @@ 00079 } 00080 00081 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/export__ouv_8php.html b/doc/developper/html/export__ouv_8php.html index 7dfba5728..fc80a8bdf 100644 --- a/doc/developper/html/export__ouv_8php.html +++ b/doc/developper/html/export__ouv_8php.html @@ -273,7 +273,7 @@ Definition at line 3749 of file export_ouv.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/facturation_8php-source.html b/doc/developper/html/facturation_8php-source.html index 683b8004f..c21894a45 100644 --- a/doc/developper/html/facturation_8php-source.html +++ b/doc/developper/html/facturation_8php-source.html @@ -111,7 +111,7 @@ 00116 html_page_stop(); 00117 00118 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/facturation_8php.html b/doc/developper/html/facturation_8php.html index 77c614747..1412627ce 100644 --- a/doc/developper/html/facturation_8php.html +++ b/doc/developper/html/facturation_8php.html @@ -186,7 +186,7 @@ Definition at line 63cl_user::cl_user(). -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/facture_8inc_8php-source.html b/doc/developper/html/facture_8inc_8php-source.html index 4c52f2d14..a32f7f47b 100644 --- a/doc/developper/html/facture_8inc_8php-source.html +++ b/doc/developper/html/facture_8inc_8php-source.html @@ -174,63 +174,69 @@ 00181 // 00182 if ( isset($_POST['record_and_print_invoice'])) 00183 { -00184 // First we save the invoice -00185 RecordInvoice($cn,$_POST,$User,$p_jrn); -00186 $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,$_POST['nb_item'],'noform',''); -00187 // $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,true,$_POST['nb_item']); -00188 echo '<div class="u_redcontent">'; -00189 echo $form; -00190 echo '<hr>'; -00191 // Show the details of the encoded invoice -00192 // and the url of the invoice -00193 if ( isset($_POST['gen_invoice'])) -00194 { -00195 $doc=new Document($cn); -00196 $doc->f_id=$_POST['e_client']; -00197 $doc->md_id=$_POST['gen_doc']; -00198 $doc->ag_id=0; -00199 $str_file=$doc->Generate(); -00200 echo $str_file; -00201 } -00202 echo '</form>'; -00203 exit(); -00204 } -00206 // we show the confirmation screen it is proposed here to generate the -00207 // invoice -00208 if ( isset ($_POST['view_invoice']) ) -00209 { -00210 $nb_number=$_POST["nb_item"]; -00211 if ( form_verify_input($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number) == true) -00212 { -00213 $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number); -00214 -00215 } else { -00216 // Check failed : invalid date or quantity -00217 echo_error("Cannot validate "); -00218 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb_number); -00219 } +00184 // First we save the invoice, the internal code will be used to change the description +00185 // and upload the file +00186 list ($internal,$e)=RecordInvoice($cn,$_POST,$User,$p_jrn); +00187 +00188 +00189 $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,$_POST['nb_item'],'noform',''); +00190 +00191 echo '<div class="u_redcontent">'; +00192 echo '<h2 class="info"> Op&eacute;ration '.$internal.' enregistr&eacute;</h2>'; +00193 echo $form; +00194 echo '<hr>'; +00195 // Show the details of the encoded invoice +00196 // and the url of the invoice +00197 if ( isset($_POST['gen_invoice'])) +00198 { +00199 $doc=new Document($cn); +00200 $doc->f_id=$_POST['e_client']; +00201 $doc->md_id=$_POST['gen_doc']; +00202 $doc->ag_id=0; +00203 $str_file=$doc->Generate(); +00204 // Move the document to the jrn +00205 $doc->MoveDocumentPj($internal); +00206 echo $str_file; +00207 } +00208 echo '</form>'; +00209 exit(); +00210 } +00212 // we show the confirmation screen it is proposed here to generate the +00213 // invoice +00214 if ( isset ($_POST['view_invoice']) ) +00215 { +00216 $nb_number=$_POST["nb_item"]; +00217 if ( form_verify_input($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number) == true) +00218 { +00219 $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$nb_number); 00220 -00221 echo '<div class="u_redcontent">'; -00222 echo $form; -00223 echo '</div>'; -00224 exit(); -00225 -00226 } -00227 -00228 -00229 -00231 // By default we add a new invoice -00232 if ( $p_jrn != -1 ) -00233 { -00234 $jrn=new jrn($cn, $p_jrn); -00235 echo_debug('user_action_ven.php',__LINE__,"Blank form"); -00236 // Show an empty form of invoice -00237 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),null,false,$jrn->GetDefLine('cred')); -00238 echo '<div class="u_redcontent">'; -00239 echo $form; -00240 echo '</div>'; -00241 } -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +00221 } else { +00222 // Check failed : invalid date or quantity +00223 echo_error("Cannot validate "); +00224 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,false,$nb_number); +00225 } +00226 +00227 echo '<div class="u_redcontent">'; +00228 echo $form; +00229 echo '</div>'; +00230 exit(); +00231 +00232 } +00233 +00234 +00235 +00237 // By default we add a new invoice +00238 if ( $p_jrn != -1 ) +00239 { +00240 $jrn=new jrn($cn, $p_jrn); +00241 echo_debug('user_action_ven.php',__LINE__,"Blank form"); +00242 // Show an empty form of invoice +00243 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),null,false,$jrn->GetDefLine('cred')); +00244 echo '<div class="u_redcontent">'; +00245 echo $form; +00246 echo '</div>'; +00247 } +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/facture_8inc_8php.html b/doc/developper/html/facture_8inc_8php.html index 043b6c212..ebde1b0bb 100644 --- a/doc/developper/html/facture_8inc_8php.html +++ b/doc/developper/html/facture_8inc_8php.html @@ -132,7 +132,7 @@ Definition at line 123

    -Definition at line 186 of file facture.inc.php. +Definition at line 189 of file facture.inc.php.

    @@ -209,7 +209,7 @@ Definition at line 106

    Definition at line 138 of file facture.inc.php.

    -Referenced by DisplayDetailModele(), Cezpdf::ezPRVTaddPageNumbers(), GetConcerned(), GetFormulaValue(), and ViewDetailStock(). +Referenced by DisplayDetailModele(), Cezpdf::ezPRVTaddPageNumbers(), GetConcerned(), GetFormulaValue(), and ViewDetailStock().

    @@ -236,7 +236,7 @@ Referenced by DisplayDet

    Definition at line 136 of file facture.inc.php.

    -Referenced by jrn_navigation_bar(), ListJrn(), action::myList(), Customer::Summary(), contact::Summary(), and ViewFiche(). +Referenced by jrn_navigation_bar(), ListJrn(), action::myList(), Customer::Summary(), contact::Summary(), and ViewFiche().

    @@ -390,7 +390,7 @@ Definition at line 83<

    Definition at line 82 of file facture.inc.php.

    -Referenced by cl_user::AccessJrn(), AddFiche(), AddForm(), AddModele(), cl_user::Admin(), fiche::blank(), Centralise(), cl_user::Check(), CheckDossier(), CheckIsAdmin(), fiche::CountByDef(), Document_modele::Delete(), fiche::Display(), EncodeFiche(), ExecuteScript(), FormAchInput(), FormPeriode(), FormPeriodeMult(), FormVenInput(), parm_code::Get(), fiche_def_ref::Get(), fiche_def::Get(), Document_type::get(), fiche_def::GetAll(), GetAllUser(), fiche::getAttribut(), fiche_def::GetAttribut(), GetAvailableFolder(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetClass(), GetConcerned(), jrn::GetDefLine(), GetFicheDef(), GetFicheDefRef(), GetFicheJrn(), getFicheNameCode(), Customer::GetFromPoste(), fiche::getName(), GetPeriode(), cl_user::GetPreferences(), GetQuantity(), GetRappel(), Balance::GetRow(), jrn::GetRowSimple(), GetUserProperty(), fiche::insert(), InsertJrn(), InsertJrnx(), InsertModeleLine(), InsertStockGoods(), IsFicheOfJrn(), ListJrn(), parm_code::LoadAll(), fiche_def_ref::LoadAll(), Invoice::myList(), Document_modele::myList(), action::myList(), new_fiche(), PeriodeClosed(), fiche::remove(), parm_code::Save(), fiche_def_ref::Save(), Document_modele::Save(), Document::SaveGenerated(), SaveModeleName(), action::SaveStage2(), cl_user::SetPeriode(), fiche::strAttribut(), SyncRight(), TransferCSV(), fiche::update(), UpdateCSV(), UpdateFiche(), UpdateForm(), Document::Upload(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFicheDetail(), ViewJrn(), and ViewStock(). +Referenced by cl_user::AccessJrn(), AddFiche(), AddForm(), AddModele(), cl_user::Admin(), fiche::blank(), Centralise(), cl_user::Check(), CheckDossier(), CheckIsAdmin(), fiche::CountByDef(), Document_modele::Delete(), fiche::Display(), EncodeFiche(), ExecuteScript(), FormAchInput(), FormPeriode(), FormPeriodeMult(), FormVenInput(), parm_code::Get(), fiche_def_ref::Get(), fiche_def::Get(), Document_type::get(), fiche_def::GetAll(), GetAllUser(), fiche::getAttribut(), fiche_def::GetAttribut(), GetAvailableFolder(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetClass(), GetConcerned(), jrn::GetDefLine(), GetFicheDef(), GetFicheDefRef(), GetFicheJrn(), getFicheNameCode(), Customer::GetFromPoste(), fiche::getName(), GetPeriode(), cl_user::GetPreferences(), GetQuantity(), GetRappel(), Balance::GetRow(), jrn::GetRowSimple(), GetUserProperty(), fiche::insert(), InsertJrn(), InsertJrnx(), InsertModeleLine(), InsertStockGoods(), IsFicheOfJrn(), ListJrn(), parm_code::LoadAll(), fiche_def_ref::LoadAll(), Document::MoveDocumentPj(), Invoice::myList(), Document_modele::myList(), action::myList(), new_fiche(), PeriodeClosed(), fiche::remove(), Document::remove(), parm_code::Save(), fiche_def_ref::Save(), Document_modele::Save(), Document::SaveGenerated(), SaveModeleName(), action::SaveStage2(), cl_user::SetPeriode(), fiche::strAttribut(), SyncRight(), TransferCSV(), fiche::update(), UpdateCSV(), UpdateFiche(), UpdateForm(), Document::Upload(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFicheDetail(), ViewJrn(), and ViewStock().

    @@ -417,7 +417,7 @@ Referenced by cl_user::

    Definition at line 134 of file facture.inc.php.

    -Referenced by jrn_navigation_bar(), action::myList(), and ViewFiche(). +Referenced by jrn_navigation_bar(), action::myList(), and ViewFiche().

    @@ -442,7 +442,7 @@ Referenced by jrn_navi

    -Definition at line 199 of file facture.inc.php. +Definition at line 203 of file facture.inc.php.

    Referenced by action::SaveStage2(). @@ -494,7 +494,7 @@ Definition at line 119

    -Definition at line 198 of file facture.inc.php. +Definition at line 202 of file facture.inc.php.

    Referenced by action::SaveStage2(). @@ -521,9 +521,9 @@ Referenced by action:

    -Definition at line 196 of file facture.inc.php. +Definition at line 200 of file facture.inc.php.

    -Referenced by action::action(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetFicheJrn(), getFicheNameCode(), Customer::GetFromPoste(), InsertStockGoods(), action::myList(), and contact::Summary(). +Referenced by action::action(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetFicheJrn(), getFicheNameCode(), Customer::GetFromPoste(), InsertStockGoods(), action::myList(), and contact::Summary().

    @@ -548,7 +548,7 @@ Referenced by action:

    -Definition at line 197 of file facture.inc.php. +Definition at line 201 of file facture.inc.php.

    @@ -628,7 +628,7 @@ Referenced by widget: Definition at line 109 of file facture.inc.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/facture__inc_8php-source.html b/doc/developper/html/facture__inc_8php-source.html deleted file mode 100644 index 0562d9ff7..000000000 --- a/doc/developper/html/facture__inc_8php-source.html +++ /dev/null @@ -1,65 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/facture_inc.php Source File - - - - - -

    facture_inc.php

    Go to the documentation of this file.
    00001 <?
    -00002 
    -00003 /*
    -00004  *   This file is part of PhpCompta.
    -00005  *
    -00006  *   PhpCompta is free software; you can redistribute it and/or modify
    -00007  *   it under the terms of the GNU General Public License as published by
    -00008  *   the Free Software Foundation; either version 2 of the License, or
    -00009  *   (at your option) any later version.
    -00010  *
    -00011  *   PhpCompta is distributed in the hope that it will be useful,
    -00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
    -00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    -00014  *   GNU General Public License for more details.
    -00015  *
    -00016  *   You should have received a copy of the GNU General Public License
    -00017  *   along with PhpCompta; if not, write to the Free Software
    -00018  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    -00019 */
    -00020 
    -00021 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
    -00022 
    -00023 /* function
    -00024  * Purpose :
    -00025  * 
    -00026  * parm : 
    -00027  *      - 
    -00028  * gen :
    -00029  *      -
    -00030  * return:
    -00031  *      -
    -00032  *
    -00033  */ 
    -00034 function ViewFactImpaye($p_cn) {
    -00035 }
    -00036 /* function
    -00037  * Purpose :
    -00038  * 
    -00039  * parm : 
    -00040  *      - 
    -00041  * gen :
    -00042  *      -
    -00043  * return:
    -00044  *      -
    -00045  *
    -00046  */ 
    -00047 function ViewFactAll($p_cn) {
    -00048 }
    -00049 
    -00050 
    -00051 ?>
    -

    Generated on Wed May 31 21:39:15 2006 for phpcompta by  - -doxygen 1.4.4
    - - diff --git a/doc/developper/html/facture__inc_8php.html b/doc/developper/html/facture__inc_8php.html deleted file mode 100644 index c1fcba159..000000000 --- a/doc/developper/html/facture__inc_8php.html +++ /dev/null @@ -1,85 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/facture_inc.php File Reference - - - - - -

    facture_inc.php File Reference

    -

    -Go to the source code of this file. - - - - - - -

    Functions

     ViewFactImpaye ($p_cn)
     ViewFactAll ($p_cn)
    -


    Function Documentation

    -

    - - - - -
    - - - - - - - - - -
    ViewFactAll p_cn  ) 
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 47 of file facture_inc.php.

    -

    - - - - -
    - - - - - - - - - -
    ViewFactImpaye p_cn  ) 
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 34 of file facture_inc.php.

    -


    Generated on Wed May 31 21:39:16 2006 for phpcompta by  - -doxygen 1.4.4
    - - diff --git a/doc/developper/html/fiche_8php-source.html b/doc/developper/html/fiche_8php-source.html index 397327837..4489d21ca 100644 --- a/doc/developper/html/fiche_8php-source.html +++ b/doc/developper/html/fiche_8php-source.html @@ -185,7 +185,7 @@ 00179 } 00180 html_page_stop(); 00181 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/fiche_8php.html b/doc/developper/html/fiche_8php.html index e2871866f..c0a826833 100644 --- a/doc/developper/html/fiche_8php.html +++ b/doc/developper/html/fiche_8php.html @@ -75,7 +75,7 @@ Definition at line 35 of Definition at line 37 of file fiche.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/fiche__csv_8php-source.html b/doc/developper/html/fiche__csv_8php-source.html index a14e416c0..ec0cf9d9d 100644 --- a/doc/developper/html/fiche__csv_8php-source.html +++ b/doc/developper/html/fiche__csv_8php-source.html @@ -103,7 +103,7 @@ 00098 } 00099 exit; 00100 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/fiche__csv_8php.html b/doc/developper/html/fiche__csv_8php.html index 911e6a5fb..c547afeae 100644 --- a/doc/developper/html/fiche__csv_8php.html +++ b/doc/developper/html/fiche__csv_8php.html @@ -212,7 +212,7 @@ Definition at line 3699 of file fiche_csv.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/fiche__def_8inc_8php-source.html b/doc/developper/html/fiche__def_8inc_8php-source.html index 87faeba20..be3c40eb9 100644 --- a/doc/developper/html/fiche__def_8inc_8php-source.html +++ b/doc/developper/html/fiche__def_8inc_8php-source.html @@ -80,7 +80,7 @@ 00075 echo '</form>'; 00076 echo '</div>'; 00077 } -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/fiche__def_8inc_8php.html b/doc/developper/html/fiche__def_8inc_8php.html index 4de728b80..8aff421bb 100644 --- a/doc/developper/html/fiche__def_8inc_8php.html +++ b/doc/developper/html/fiche__def_8inc_8php.html @@ -113,7 +113,7 @@ Definition at line

    Definition at line 62 of file fiche_def.inc.php.

    -Referenced by ComputeTotalVat(), parm_code::LoadAll(), and fiche_def_ref::LoadAll(). +Referenced by ComputeTotalVat(), parm_code::LoadAll(), and fiche_def_ref::LoadAll().

    @@ -272,7 +272,7 @@ Definition at line Referenced by fiche_def_ref::fiche_def_ref(), fiche_def_ref::Get(), Get_fiche_def_ref(), fiche_def_ref::Input(), and fiche_def_ref::Save(). -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/fiche__inc_8php-source.html b/doc/developper/html/fiche__inc_8php-source.html index 65c51e0bc..882b1a4b7 100644 --- a/doc/developper/html/fiche__inc_8php-source.html +++ b/doc/developper/html/fiche__inc_8php-source.html @@ -1146,7 +1146,7 @@ 01553 return 1; 01554 } 01555 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/fiche__inc_8php.html b/doc/developper/html/fiche__inc_8php.html index 9f92b4b39..c13ac1d46 100644 --- a/doc/developper/html/fiche__inc_8php.html +++ b/doc/developper/html/fiche__inc_8php.html @@ -909,7 +909,7 @@ Definition at line 1471<

    References $Res, and ExecSql().

    -Referenced by FormAchView(), FormVenteView(), and withStock(). +Referenced by FormAchView(), FormVenteView(), and withStock().

    @@ -1120,7 +1120,7 @@ j_jrn journal_id

      Definition at line 1054 of file fiche_inc.php.

      -References $a, $i, $list, $Max, $Res, $sql, echo_error(), echo_warning(), ExecSql(), exit, and f_id. +References $a, $i, $list, $Max, $Res, $sql, echo_error(), echo_warning(), ExecSql(), exit, and f_id.

      @@ -1701,7 +1701,7 @@ $p_type fiche_def.fd_id catg of card gen :

        Definition at line 394 of file fiche_inc.php.

        -References $_SESSION, $bar, $l_line, $Max, $offset, $page, $Res, $sql_limit, $sql_offset, $step, CountSql(), ExecSql(), jrn_navigation_bar(), METHOD, name, and value. +References $_SESSION, $bar, $l_line, $Max, $offset, $page, $Res, $sql_limit, $sql_offset, $step, CountSql(), ExecSql(), jrn_navigation_bar(), METHOD, name, and value.

        @@ -1753,7 +1753,7 @@ Definition at line 488$Res, $sql, EncodeFiche(), ExecSql(), and GetFicheDef(). -


        Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/fiche__new_8php-source.html b/doc/developper/html/fiche__new_8php-source.html index 4083162e0..4f54ac1dd 100644 --- a/doc/developper/html/fiche__new_8php-source.html +++ b/doc/developper/html/fiche__new_8php-source.html @@ -200,7 +200,7 @@ 00195 echo "<FORM>"; 00196 } 00197 ?> -
        Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/fiche__new_8php.html b/doc/developper/html/fiche__new_8php.html index 08f871664..7510e3aad 100644 --- a/doc/developper/html/fiche__new_8php.html +++ b/doc/developper/html/fiche__new_8php.html @@ -183,7 +183,7 @@ Definition at line 126 Definition at line 131 of file fiche_new.php.

        -Referenced by AddForm(), Cezpdf::ezPrvtTableDrawLines(), and GetConcerned(). +Referenced by AddForm(), Cezpdf::ezPrvtTableDrawLines(), and GetConcerned().

        @@ -286,7 +286,7 @@ Definition at line 31116 of file fiche_new.php. -


        Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/fiche__search_8php-source.html b/doc/developper/html/fiche__search_8php-source.html index 3de3b7066..639fbaa9a 100644 --- a/doc/developper/html/fiche__search_8php-source.html +++ b/doc/developper/html/fiche__search_8php-source.html @@ -183,7 +183,7 @@ 00178 00179 html_page_stop(); 00180 ?> -
        Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/fiche__search_8php.html b/doc/developper/html/fiche__search_8php.html index de3329c78..2f0bd2e88 100644 --- a/doc/developper/html/fiche__search_8php.html +++ b/doc/developper/html/fiche__search_8php.html @@ -264,7 +264,7 @@ Definition at line 11 Definition at line 32 of file fiche_search.php. -
        Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/files.html b/doc/developper/html/files.html index b7c90273f..55b89072b 100644 --- a/doc/developper/html/files.html +++ b/doc/developper/html/files.html @@ -140,7 +140,7 @@ /home/dany/developpement/phpcompta-dev/phpcompta/include/user_menu.php [code]Nearly all the menu are here, some of them returns a HTML string, others echo directly the result /home/dany/developpement/phpcompta-dev/phpcompta/include/user_update.php [code]Check if still used -
        Generated on Fri Jun 23 00:28:21 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/form_8php-source.html b/doc/developper/html/form_8php-source.html index 93a597635..ab049a3e9 100644 --- a/doc/developper/html/form_8php-source.html +++ b/doc/developper/html/form_8php-source.html @@ -118,7 +118,7 @@ 00112 //echo "</DIV>"; 00113 html_page_stop(); 00114 ?> -
        Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/form_8php.html b/doc/developper/html/form_8php.html index 1897f5dd9..011d85e4f 100644 --- a/doc/developper/html/form_8php.html +++ b/doc/developper/html/form_8php.html @@ -129,7 +129,7 @@ Definition at line 37 of f Definition at line 91 of file form.php. -
        Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/form__csv_8php-source.html b/doc/developper/html/form__csv_8php-source.html index 2dc9f3a9a..71a26c8a9 100644 --- a/doc/developper/html/form__csv_8php-source.html +++ b/doc/developper/html/form__csv_8php-source.html @@ -104,7 +104,7 @@ 00098 } 00099 exit; 00100 ?> -
        Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/form__csv_8php.html b/doc/developper/html/form__csv_8php.html index 9ee072b90..bb82a960a 100644 --- a/doc/developper/html/form__csv_8php.html +++ b/doc/developper/html/form__csv_8php.html @@ -102,7 +102,7 @@ Definition at line 40 Definition at line 36 of file form_csv.php. -
        Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/form__inc_8php-source.html b/doc/developper/html/form__inc_8php-source.html index c005fa778..11daf793c 100644 --- a/doc/developper/html/form__inc_8php-source.html +++ b/doc/developper/html/form__inc_8php-source.html @@ -242,7 +242,7 @@ 00303 } 00304 00305 ?> -
        Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/form__inc_8php.html b/doc/developper/html/form__inc_8php.html index c5e0a62ba..5baddf9e1 100644 --- a/doc/developper/html/form__inc_8php.html +++ b/doc/developper/html/form__inc_8php.html @@ -457,7 +457,7 @@ Definition at line 117$array, $l_line, EncodeForm(), GetDataForm(), GetFormName(), and GetNumberLine(). -
        Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/form__pdf_8php-source.html b/doc/developper/html/form__pdf_8php-source.html index 5a1920ba3..cffdff3bd 100644 --- a/doc/developper/html/form__pdf_8php-source.html +++ b/doc/developper/html/form__pdf_8php-source.html @@ -111,7 +111,7 @@ 00106 $pdf->ezStream(); 00107 00108 ?> -
        Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/form__pdf_8php.html b/doc/developper/html/form__pdf_8php.html index 9d73b6ff9..2704b0a7a 100644 --- a/doc/developper/html/form__pdf_8php.html +++ b/doc/developper/html/form__pdf_8php.html @@ -75,7 +75,7 @@ Definition at line 33 Definition at line 42 of file form_pdf.php. -
        Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/fortis__be_8inc_8php-source.html b/doc/developper/html/fortis__be_8inc_8php-source.html index 7ca8ab59d..b098fd2d7 100644 --- a/doc/developper/html/fortis__be_8inc_8php-source.html +++ b/doc/developper/html/fortis__be_8inc_8php-source.html @@ -115,7 +115,7 @@ 00111 } // file is read 00112 fclose($handle); 00113 ?> -
        Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/fortis__be_8inc_8php.html b/doc/developper/html/fortis__be_8inc_8php.html index b84e54f6e..1b81a234e 100644 --- a/doc/developper/html/fortis__be_8inc_8php.html +++ b/doc/developper/html/fortis__be_8inc_8php.html @@ -301,7 +301,7 @@ Definition at line Definition at line 71 of file fortis_be.inc.php. -
        Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
        Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
        diff --git a/doc/developper/html/functions.html b/doc/developper/html/functions.html index bef45257e..c6ee69b87 100644 --- a/doc/developper/html/functions.html +++ b/doc/developper/html/functions.html @@ -116,7 +116,7 @@ Here is a list of all struct and union fields with links to the structures/union : Customer
      • $wordSpaceAdjust : Cpdf
      • $y : Cezpdf
      -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/functions_0x61.html b/doc/developper/html/functions_0x61.html index ac0e16c55..ec7a394c9 100644 --- a/doc/developper/html/functions_0x61.html +++ b/doc/developper/html/functions_0x61.html @@ -34,7 +34,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cpdf
    • ARC4_init() : Cpdf
    • Attribut() : Attribut
    -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x62.html b/doc/developper/html/functions_0x62.html index a6657e87e..fbcf70213 100644 --- a/doc/developper/html/functions_0x62.html +++ b/doc/developper/html/functions_0x62.html @@ -15,7 +15,7 @@ Here is a list of all struct and union fields with links to the structures/union
  • Balance() : Balance
  • blank() : fiche -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x63.html b/doc/developper/html/functions_0x63.html index 41846a84f..fd8908794 100644 --- a/doc/developper/html/functions_0x63.html +++ b/doc/developper/html/functions_0x63.html @@ -26,7 +26,7 @@ Here is a list of all struct and union fields with links to the structures/union : Creport
  • curve() : Cpdf
  • Customer() : Customer -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x64.html b/doc/developper/html/functions_0x64.html index 0682ea78c..cbf8a5196 100644 --- a/doc/developper/html/functions_0x64.html +++ b/doc/developper/html/functions_0x64.html @@ -20,7 +20,7 @@ Here is a list of all struct and union fields with links to the structures/union : Document_modele
  • document_type() : Document_type
  • dots() : Creport -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x65.html b/doc/developper/html/functions_0x65.html index f457895a2..a68f7cd45 100644 --- a/doc/developper/html/functions_0x65.html +++ b/doc/developper/html/functions_0x65.html @@ -40,7 +40,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cezpdf
  • ezText() : Cezpdf
  • ezWhatPageNumber() : Cezpdf -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x66.html b/doc/developper/html/functions_0x66.html index ffb8ef221..df34c7b7f 100644 --- a/doc/developper/html/functions_0x66.html +++ b/doc/developper/html/functions_0x66.html @@ -22,7 +22,7 @@ Here is a list of all struct and union fields with links to the structures/union : Document_modele
  • FormAdd() : Invoice
  • FormDelete() : Invoice -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x67.html b/doc/developper/html/functions_0x67.html index 245f06844..eb4b3ba32 100644 --- a/doc/developper/html/functions_0x67.html +++ b/doc/developper/html/functions_0x67.html @@ -38,7 +38,7 @@ Here is a list of all struct and union fields with links to the structures/union : poste
  • GetSoldeDetail() : poste
  • getTextWidth() : Cpdf -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x68.html b/doc/developper/html/functions_0x68.html index 5242e38d3..3abf2db1e 100644 --- a/doc/developper/html/functions_0x68.html +++ b/doc/developper/html/functions_0x68.html @@ -14,7 +14,7 @@ Here is a list of all struct and union fields with links to the structures/union

    - h -

    -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x69.html b/doc/developper/html/functions_0x69.html index 3f1dcd68d..cf945256c 100644 --- a/doc/developper/html/functions_0x69.html +++ b/doc/developper/html/functions_0x69.html @@ -19,7 +19,7 @@ Here is a list of all struct and union fields with links to the structures/union : cl_user
  • Invoice() : Invoice
  • IOValue() : widget -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x6a.html b/doc/developper/html/functions_0x6a.html index deb680e18..d4bc7bd32 100644 --- a/doc/developper/html/functions_0x6a.html +++ b/doc/developper/html/functions_0x6a.html @@ -14,7 +14,7 @@ Here is a list of all struct and union fields with links to the structures/union

    - j -

    -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x6c.html b/doc/developper/html/functions_0x6c.html index 594f73172..96d6e6587 100644 --- a/doc/developper/html/functions_0x6c.html +++ b/doc/developper/html/functions_0x6c.html @@ -16,7 +16,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cpdf
  • LoadAll() : parm_code, fiche_def_ref
  • loadTemplate() : Cezpdf -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x6d.html b/doc/developper/html/functions_0x6d.html index 130b0d8c0..e989a45ac 100644 --- a/doc/developper/html/functions_0x6d.html +++ b/doc/developper/html/functions_0x6d.html @@ -13,9 +13,10 @@ Here is a list of all struct and union fields with links to the structures/union

    - m -

    -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x6e.html b/doc/developper/html/functions_0x6e.html index 9a8355edd..f693251e6 100644 --- a/doc/developper/html/functions_0x6e.html +++ b/doc/developper/html/functions_0x6e.html @@ -15,7 +15,7 @@ Here is a list of all struct and union fields with links to the structures/union
  • newDocument() : Cpdf
  • newPage() : Cpdf -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x6f.html b/doc/developper/html/functions_0x6f.html index c3f80b0d1..9078e1fa9 100644 --- a/doc/developper/html/functions_0x6f.html +++ b/doc/developper/html/functions_0x6f.html @@ -34,7 +34,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cpdf
  • output() : Cpdf
  • Own() : Own -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x70.html b/doc/developper/html/functions_0x70.html index 246077429..1536770ea 100644 --- a/doc/developper/html/functions_0x70.html +++ b/doc/developper/html/functions_0x70.html @@ -23,7 +23,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cpdf
  • PRVTcheckTextDirective1() : Cpdf
  • PRVTgetTextPosition() : Cpdf -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x72.html b/doc/developper/html/functions_0x72.html index 54e334674..ba3f7c6f3 100644 --- a/doc/developper/html/functions_0x72.html +++ b/doc/developper/html/functions_0x72.html @@ -15,13 +15,13 @@ Here is a list of all struct and union fields with links to the structures/union
  • rapport() : rapport
  • rectangle() : Cpdf
  • remove() -: fiche
  • reopenObject() +: fiche, Document
  • reopenObject() : Cpdf
  • Replace() : Document
  • Reset() : widget
  • restoreState() : Cpdf
  • rf() : Creport -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x73.html b/doc/developper/html/functions_0x73.html index bc04813a0..49dc9393b 100644 --- a/doc/developper/html/functions_0x73.html +++ b/doc/developper/html/functions_0x73.html @@ -35,7 +35,7 @@ Here is a list of all struct and union fields with links to the structures/union : Cpdf
  • Submit() : widget
  • Summary() : Customer, contact -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x74.html b/doc/developper/html/functions_0x74.html index 216724d54..11cc064bd 100644 --- a/doc/developper/html/functions_0x74.html +++ b/doc/developper/html/functions_0x74.html @@ -14,7 +14,7 @@ Here is a list of all struct and union fields with links to the structures/union

    - t -

    • transaction() : Cpdf
    -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x75.html b/doc/developper/html/functions_0x75.html index 688326c53..315301dad 100644 --- a/doc/developper/html/functions_0x75.html +++ b/doc/developper/html/functions_0x75.html @@ -18,7 +18,7 @@ Here is a list of all struct and union fields with links to the structures/union : cl_user
  • UpdateRow() : Own
  • Upload() : Document -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x76.html b/doc/developper/html/functions_0x76.html index 1b72ba0b1..d4d3daf19 100644 --- a/doc/developper/html/functions_0x76.html +++ b/doc/developper/html/functions_0x76.html @@ -14,7 +14,7 @@ Here is a list of all struct and union fields with links to the structures/union

    - v -

    -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_0x77.html b/doc/developper/html/functions_0x77.html index cfed66e1b..f84ab389c 100644 --- a/doc/developper/html/functions_0x77.html +++ b/doc/developper/html/functions_0x77.html @@ -14,7 +14,7 @@ Here is a list of all struct and union fields with links to the structures/union

    - w -

    -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/functions_func.html b/doc/developper/html/functions_func.html index bf38cc60b..385c4fc59 100644 --- a/doc/developper/html/functions_func.html +++ b/doc/developper/html/functions_func.html @@ -150,7 +150,8 @@ : Cezpdf

    - m -

    - n -

    • newDocument() @@ -195,7 +196,7 @@
    • rapport() : rapport
    • rectangle() : Cpdf
    • remove() -: fiche
    • reopenObject() +: fiche, Document
    • reopenObject() : Cpdf
    • Replace() : Document
    • Reset() : widget
    • restoreState() @@ -241,7 +242,7 @@

      - w -

      -
      Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/functions_vars.html b/doc/developper/html/functions_vars.html index cc93712bc..b2e595e7c 100644 --- a/doc/developper/html/functions_vars.html +++ b/doc/developper/html/functions_vars.html @@ -116,7 +116,7 @@ : Customer
    • $wordSpaceAdjust : Cpdf
    • $y : Cezpdf
    -
    Generated on Fri Jun 23 00:28:24 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals.html b/doc/developper/html/globals.html index 4a2ab3478..20a7a87e7 100644 --- a/doc/developper/html/globals.html +++ b/doc/developper/html/globals.html @@ -281,7 +281,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : ecrit_ouv.php
  • $xpos : readme.php
  • $year : impress_listing_client.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x5f.html b/doc/developper/html/globals_0x5f.html index ebc718711..24f1d7c6f 100644 --- a/doc/developper/html/globals_0x5f.html +++ b/doc/developper/html/globals_0x5f.html @@ -19,7 +19,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : readme.php
  • __pad4__ : readme.php
  • __pad5__ : readme.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x61.html b/doc/developper/html/globals_0x61.html index 490a374aa..3b385fbdb 100644 --- a/doc/developper/html/globals_0x61.html +++ b/doc/developper/html/globals_0x61.html @@ -38,7 +38,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : constant.php
  • ATTR_DEF_TVA_NON_DEDUCTIBLE : constant.php
  • ATTR_DEF_TVA_NON_DEDUCTIBLE_RECUP : constant.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x62.html b/doc/developper/html/globals_0x62.html index b08a9c242..e75c176fc 100644 --- a/doc/developper/html/globals_0x62.html +++ b/doc/developper/html/globals_0x62.html @@ -20,7 +20,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : user_impress.php
  • BQE : constant.php
  • break : user_impress.php, readme.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x63.html b/doc/developper/html/globals_0x63.html index bf5c7c0bc..7277722bc 100644 --- a/doc/developper/html/globals_0x63.html +++ b/doc/developper/html/globals_0x63.html @@ -33,7 +33,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : jrn.php
  • CountSql() : postgres.php
  • CreatePeriodeCond() : impress_inc.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x64.html b/doc/developper/html/globals_0x64.html index c87ed78c7..a247b8b0d 100644 --- a/doc/developper/html/globals_0x64.html +++ b/doc/developper/html/globals_0x64.html @@ -23,7 +23,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : impress_poste.php
  • DisplayDetailModele() : fiche_inc.php
  • domaine : constant.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x65.html b/doc/developper/html/globals_0x65.html index 072de8834..2a4952b15 100644 --- a/doc/developper/html/globals_0x65.html +++ b/doc/developper/html/globals_0x65.html @@ -29,7 +29,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : postgres.php
  • exit : user_sec.php, user_jrn.php, show_tva.php, show_pj.php, show_document_modele.php, sec_pdf.php, print_balance.php, poste_csv.php, pcmn_update.php, parametre.php, modify_op.php, line_update.php, jrn_update.php, jrn_search.php, jrn_detail.php, jrn_csv.php, jrn_add.php, fiche_csv.php, facturation.php, export_ouv.php, ecrit_ouv.php, bal_csv.php, annulation.php, admin_repo.php, user_update.php, user_action_ven.php, user_action_ods.php, user_action_gl.php, user_action_fin.php, user_action_ach.php, impress_rapport.php, impress_poste.php, impress_jrn.php, balance.php
  • EXP_IMP_ECR : constant.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x66.html b/doc/developper/html/globals_0x66.html index 01e34b5b5..5958e3d53 100644 --- a/doc/developper/html/globals_0x66.html +++ b/doc/developper/html/globals_0x66.html @@ -40,7 +40,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : fiche_def.inc.php
  • frd_id : fiche_def.inc.php
  • frd_text : fiche_def.inc.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x67.html b/doc/developper/html/globals_0x67.html index f73116bcc..9e5cb986e 100644 --- a/doc/developper/html/globals_0x67.html +++ b/doc/developper/html/globals_0x67.html @@ -75,7 +75,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : postgres.php
  • GetVersion() : setup.php
  • GJRN : constant.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x68.html b/doc/developper/html/globals_0x68.html index 1bf071d59..8ad8bd7d7 100644 --- a/doc/developper/html/globals_0x68.html +++ b/doc/developper/html/globals_0x68.html @@ -17,7 +17,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : ac_common.php
  • html_page_start() : ac_common.php
  • html_page_stop() : ac_common.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x69.html b/doc/developper/html/globals_0x69.html index c2f917ccc..650b0d938 100644 --- a/doc/developper/html/globals_0x69.html +++ b/doc/developper/html/globals_0x69.html @@ -30,7 +30,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : fiche_inc.php
  • isNumber() : ac_common.php
  • isValid() : user_common.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x6a.html b/doc/developper/html/globals_0x6a.html index 4e2cfdb93..8770cf157 100644 --- a/doc/developper/html/globals_0x6a.html +++ b/doc/developper/html/globals_0x6a.html @@ -24,7 +24,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : constant.php
  • JS_VIEW_JRN_DETAIL : constant.php
  • JS_VIEW_JRN_MODIFY : constant.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x6c.html b/doc/developper/html/globals_0x6c.html index a09eb9403..a55d038c8 100644 --- a/doc/developper/html/globals_0x6c.html +++ b/doc/developper/html/globals_0x6c.html @@ -17,7 +17,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : constant.php
  • list_client : user_impress.php
  • ListJrn() : user_common.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x6d.html b/doc/developper/html/globals_0x6d.html index f60f3de7e..f3d550120 100644 --- a/doc/developper/html/globals_0x6d.html +++ b/doc/developper/html/globals_0x6d.html @@ -31,7 +31,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : parametre.php
  • MY_STREET : parametre.php
  • MY_TVA : parametre.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x6e.html b/doc/developper/html/globals_0x6e.html index 7d827d05a..9f27fef97 100644 --- a/doc/developper/html/globals_0x6e.html +++ b/doc/developper/html/globals_0x6e.html @@ -24,7 +24,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : constant.php
  • NOTCENTRALIZED : constant.php
  • NOTPERIODE : constant.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x6f.html b/doc/developper/html/globals_0x6f.html index c534a91ab..b58e3cc73 100644 --- a/doc/developper/html/globals_0x6f.html +++ b/doc/developper/html/globals_0x6f.html @@ -15,7 +15,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
  • ODS : constant.php
  • OPEN : constant.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x70.html b/doc/developper/html/globals_0x70.html index a8c37bfc4..eb6ce23a8 100644 --- a/doc/developper/html/globals_0x70.html +++ b/doc/developper/html/globals_0x70.html @@ -24,7 +24,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : user_impress.php
  • PosteForm() : poste.php
  • print : impress_rapport.php, impress_poste.php, impress_listing_client.php, impress_jrn.php, impress_bilan.php, class_operation.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x72.html b/doc/developper/html/globals_0x72.html index eec14ad66..113231ae9 100644 --- a/doc/developper/html/globals_0x72.html +++ b/doc/developper/html/globals_0x72.html @@ -27,7 +27,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : priv_user.php, parametre.php, listing_client.php, jrn_search.php, form.php, fiche_new.php, admin_repo.php, user_action_ach.php, periode.inc.php, impress_listing_client.php
  • Rollback() : postgres.php
  • ros_logo() : readme.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x73.html b/doc/developper/html/globals_0x73.html index dc83d61be..4965da938 100644 --- a/doc/developper/html/globals_0x73.html +++ b/doc/developper/html/globals_0x73.html @@ -46,7 +46,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : constant.php
  • success< br > : test.php, setup.php
  • SyncRight() : postgres.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x74.html b/doc/developper/html/globals_0x74.html index a98b3e3f5..becac9df7 100644 --- a/doc/developper/html/globals_0x74.html +++ b/doc/developper/html/globals_0x74.html @@ -17,7 +17,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : test_smarty.php
  • theme : facturation.php
  • TransferCSV() : import_inc.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x75.html b/doc/developper/html/globals_0x75.html index 84024550c..c1654b303 100644 --- a/doc/developper/html/globals_0x75.html +++ b/doc/developper/html/globals_0x75.html @@ -22,7 +22,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : form_inc.php
  • UpdateJrn() : jrn.php
  • UpdateModele() : fiche_inc.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x76.html b/doc/developper/html/globals_0x76.html index 014488edc..500f32e1b 100644 --- a/doc/developper/html/globals_0x76.html +++ b/doc/developper/html/globals_0x76.html @@ -27,7 +27,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li : jrn.php
  • ViewRecord() : jrn.php
  • ViewStock() : stock_inc.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x77.html b/doc/developper/html/globals_0x77.html index c0f9f9175..ee1934b24 100644 --- a/doc/developper/html/globals_0x77.html +++ b/doc/developper/html/globals_0x77.html @@ -15,7 +15,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
  • width : tva.inc.php
  • withStock() : user_common.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_0x79.html b/doc/developper/html/globals_0x79.html index 6459e0f6e..5c7190dcb 100644 --- a/doc/developper/html/globals_0x79.html +++ b/doc/developper/html/globals_0x79.html @@ -14,7 +14,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li

    - y -

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_enum.html b/doc/developper/html/globals_enum.html index 8e59a539b..d0f4084a0 100644 --- a/doc/developper/html/globals_enum.html +++ b/doc/developper/html/globals_enum.html @@ -132,7 +132,7 @@

    - y -

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_func.html b/doc/developper/html/globals_func.html index 574783766..f61720654 100644 --- a/doc/developper/html/globals_func.html +++ b/doc/developper/html/globals_func.html @@ -239,7 +239,7 @@

    - w -

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars.html b/doc/developper/html/globals_vars.html index 8c087b0c4..33467e078 100644 --- a/doc/developper/html/globals_vars.html +++ b/doc/developper/html/globals_vars.html @@ -281,7 +281,7 @@ : ecrit_ouv.php
  • $xpos : readme.php
  • $year : impress_listing_client.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x5f.html b/doc/developper/html/globals_vars_0x5f.html index 01bd0e040..e21e3378d 100644 --- a/doc/developper/html/globals_vars_0x5f.html +++ b/doc/developper/html/globals_vars_0x5f.html @@ -19,7 +19,7 @@ : readme.php
  • __pad4__ : readme.php
  • __pad5__ : readme.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x61.html b/doc/developper/html/globals_vars_0x61.html index 4af2e5e3c..9e8fca656 100644 --- a/doc/developper/html/globals_vars_0x61.html +++ b/doc/developper/html/globals_vars_0x61.html @@ -14,7 +14,7 @@

    - a -

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x62.html b/doc/developper/html/globals_vars_0x62.html index 9194fdb66..8eeb1900d 100644 --- a/doc/developper/html/globals_vars_0x62.html +++ b/doc/developper/html/globals_vars_0x62.html @@ -16,7 +16,7 @@ : user_impress.php
  • bilan : user_impress.php
  • break : user_impress.php, readme.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x63.html b/doc/developper/html/globals_vars_0x63.html index 5e50f82a3..4adc08f8d 100644 --- a/doc/developper/html/globals_vars_0x63.html +++ b/doc/developper/html/globals_vars_0x63.html @@ -17,7 +17,7 @@ : class_operation.php
  • compile_dir : test_smarty.php
  • config_dir : test_smarty.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x64.html b/doc/developper/html/globals_vars_0x64.html index a66f71a9c..01f1336a1 100644 --- a/doc/developper/html/globals_vars_0x64.html +++ b/doc/developper/html/globals_vars_0x64.html @@ -14,7 +14,7 @@

    - d -

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x65.html b/doc/developper/html/globals_vars_0x65.html index e12a163ee..e440a7e1f 100644 --- a/doc/developper/html/globals_vars_0x65.html +++ b/doc/developper/html/globals_vars_0x65.html @@ -15,7 +15,7 @@
  • else : user_sec.php
  • exit : user_sec.php, user_jrn.php, show_tva.php, show_pj.php, show_document_modele.php, sec_pdf.php, print_balance.php, poste_csv.php, pcmn_update.php, parametre.php, modify_op.php, line_update.php, jrn_update.php, jrn_search.php, jrn_detail.php, jrn_csv.php, jrn_add.php, fiche_csv.php, facturation.php, export_ouv.php, ecrit_ouv.php, bal_csv.php, annulation.php, admin_repo.php, user_update.php, user_action_ven.php, user_action_ods.php, user_action_gl.php, user_action_fin.php, user_action_ach.php, impress_rapport.php, impress_poste.php, impress_jrn.php, balance.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x66.html b/doc/developper/html/globals_vars_0x66.html index c8d6bd350..d43e2d532 100644 --- a/doc/developper/html/globals_vars_0x66.html +++ b/doc/developper/html/globals_vars_0x66.html @@ -18,7 +18,7 @@ : fiche_def.inc.php
  • frd_id : fiche_def.inc.php
  • frd_text : fiche_def.inc.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x68.html b/doc/developper/html/globals_vars_0x68.html index ab92be37e..35ee0ea85 100644 --- a/doc/developper/html/globals_vars_0x68.html +++ b/doc/developper/html/globals_vars_0x68.html @@ -14,7 +14,7 @@

    - h -

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x69.html b/doc/developper/html/globals_vars_0x69.html index fbb6b89fb..33ef576eb 100644 --- a/doc/developper/html/globals_vars_0x69.html +++ b/doc/developper/html/globals_vars_0x69.html @@ -14,7 +14,7 @@

    - i -

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x6c.html b/doc/developper/html/globals_vars_0x6c.html index 149e5f9dc..e4e5b8ebd 100644 --- a/doc/developper/html/globals_vars_0x6c.html +++ b/doc/developper/html/globals_vars_0x6c.html @@ -15,7 +15,7 @@
  • label : ecrit_ouv.php, impress_rapport.php, impress_poste.php, impress_listing_client.php, impress_jrn.php, impress_bilan.php, class_operation.php, balance.php
  • list_client : user_impress.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x6d.html b/doc/developper/html/globals_vars_0x6d.html index 1b0d9abd0..28b4ba5b8 100644 --- a/doc/developper/html/globals_vars_0x6d.html +++ b/doc/developper/html/globals_vars_0x6d.html @@ -23,7 +23,7 @@ : parametre.php
  • MY_STREET : parametre.php
  • MY_TVA : parametre.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x6e.html b/doc/developper/html/globals_vars_0x6e.html index 3baf90f30..1b99e691f 100644 --- a/doc/developper/html/globals_vars_0x6e.html +++ b/doc/developper/html/globals_vars_0x6e.html @@ -14,7 +14,7 @@

    - n -

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x70.html b/doc/developper/html/globals_vars_0x70.html index 047e6752f..24f4aa6cd 100644 --- a/doc/developper/html/globals_vars_0x70.html +++ b/doc/developper/html/globals_vars_0x70.html @@ -17,7 +17,7 @@ : poste.inc.php
  • poste : user_impress.php
  • print : impress_rapport.php, impress_poste.php, impress_listing_client.php, impress_jrn.php, impress_bilan.php, class_operation.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x72.html b/doc/developper/html/globals_vars_0x72.html index d1b0c0776..0b4199740 100644 --- a/doc/developper/html/globals_vars_0x72.html +++ b/doc/developper/html/globals_vars_0x72.html @@ -16,7 +16,7 @@ : user_impress.php
  • readonly : ecrit_ouv.php
  • return : priv_user.php, parametre.php, listing_client.php, jrn_search.php, form.php, fiche_new.php, admin_repo.php, user_action_ach.php, periode.inc.php, impress_listing_client.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x73.html b/doc/developper/html/globals_vars_0x73.html index f01696304..ab7a89e9a 100644 --- a/doc/developper/html/globals_vars_0x73.html +++ b/doc/developper/html/globals_vars_0x73.html @@ -17,7 +17,7 @@ : annulation.php, tva.inc.php
  • start : document_modele.inc.php
  • success< br > : test.php, setup.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x74.html b/doc/developper/html/globals_vars_0x74.html index f660baab7..b84ad56a6 100644 --- a/doc/developper/html/globals_vars_0x74.html +++ b/doc/developper/html/globals_vars_0x74.html @@ -16,7 +16,7 @@ : parametre.php, ecrit_ouv.php, impress_rapport.php, impress_poste.php, impress_listing_client.php, impress_jrn.php, impress_bilan.php, class_operation.php, balance.php
  • template_dir : test_smarty.php
  • theme : facturation.php -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x76.html b/doc/developper/html/globals_vars_0x76.html index 522e43d9c..328fe4623 100644 --- a/doc/developper/html/globals_vars_0x76.html +++ b/doc/developper/html/globals_vars_0x76.html @@ -14,7 +14,7 @@

    - v -

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/globals_vars_0x77.html b/doc/developper/html/globals_vars_0x77.html index 3ce2f9e70..efe07de20 100644 --- a/doc/developper/html/globals_vars_0x77.html +++ b/doc/developper/html/globals_vars_0x77.html @@ -14,7 +14,7 @@

    - w -

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/hierarchy.html b/doc/developper/html/hierarchy.html index dc2ee8fea..e2c8e8ad6 100644 --- a/doc/developper/html/hierarchy.html +++ b/doc/developper/html/hierarchy.html @@ -35,7 +35,7 @@
  • rapport
  • widget -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/import_8php-source.html b/doc/developper/html/import_8php-source.html index a8a2a953a..3f43ffb10 100644 --- a/doc/developper/html/import_8php-source.html +++ b/doc/developper/html/import_8php-source.html @@ -102,7 +102,7 @@ 00097 00098 html_page_stop(); 00099 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/import_8php.html b/doc/developper/html/import_8php.html index 75098f884..1106b484b 100644 --- a/doc/developper/html/import_8php.html +++ b/doc/developper/html/import_8php.html @@ -75,7 +75,7 @@ Definition at line 52 of Definition at line 38 of file import.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/import__inc_8php-source.html b/doc/developper/html/import__inc_8php-source.html index 6f113671a..4335b07b4 100644 --- a/doc/developper/html/import__inc_8php-source.html +++ b/doc/developper/html/import__inc_8php-source.html @@ -166,7 +166,7 @@ 00190 echo '</FORM>'; 00191 } 00192 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/import__inc_8php.html b/doc/developper/html/import__inc_8php.html index 298c27c42..09e4380dd 100644 --- a/doc/developper/html/import__inc_8php.html +++ b/doc/developper/html/import__inc_8php.html @@ -174,7 +174,7 @@ Transfert data into the ledger.

    Definition at line 90 of file import_inc.php.

    -References $_SESSION, $code, $date_exec, $end, $jrn, $Max, $montant, $poste_comptable, $r, $Res, $Res2, $seq, $sql, $start, $val, Commit(), ExecSql(), exit, InsertJrn(), InsertJrnx(), NextSequence(), Rollback(), SetInternalCode(), and StartSql(). +References $_SESSION, $code, $date_exec, $end, $jrn, $Max, $montant, $poste_comptable, $r, $Res, $Res2, $seq, $sql, $start, $val, Commit(), ExecSql(), exit, InsertJrn(), InsertJrnx(), NextSequence(), Rollback(), SetInternalCode(), and StartSql().

    @@ -261,7 +261,7 @@ Definition at line 67$i, $Num, $Res, $sql, $val, ExecSql(), METHOD, name, size, table, value, and width. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__bilan_8php-source.html b/doc/developper/html/impress__bilan_8php-source.html index d0cc86af2..3c742bf0a 100644 --- a/doc/developper/html/impress__bilan_8php-source.html +++ b/doc/developper/html/impress__bilan_8php-source.html @@ -55,7 +55,7 @@ 00053 echo '</FORM>'; 00054 echo '</div>'; 00055 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__bilan_8php.html b/doc/developper/html/impress__bilan_8php.html index be583867c..34da7e144 100644 --- a/doc/developper/html/impress__bilan_8php.html +++ b/doc/developper/html/impress__bilan_8php.html @@ -213,7 +213,7 @@ Definition at line 3 Definition at line 36 of file impress_bilan.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__fiche_8php-source.html b/doc/developper/html/impress__fiche_8php-source.html index 613c66839..18bae1da2 100644 --- a/doc/developper/html/impress__fiche_8php-source.html +++ b/doc/developper/html/impress__fiche_8php-source.html @@ -147,7 +147,7 @@ 00139 } 00140 00141 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__fiche_8php.html b/doc/developper/html/impress__fiche_8php.html index 7c0297d00..0b878b275 100644 --- a/doc/developper/html/impress__fiche_8php.html +++ b/doc/developper/html/impress__fiche_8php.html @@ -93,7 +93,7 @@ Referenced by cl_user::

    Definition at line 79 of file impress_fiche.php.

    -Referenced by fiche::getAttribut(), jrn_navigation_bar(), ParseFormula(), RecordFin(), RecordInvoice(), RecordJrn(), RecordODS(), RecordSell(), fiche::strAttribut(), Customer::Summary(), and Customer::VatListing(). +Referenced by fiche::getAttribut(), jrn_navigation_bar(), ParseFormula(), RecordFin(), RecordInvoice(), RecordJrn(), RecordODS(), RecordSell(), fiche::strAttribut(), Customer::Summary(), and Customer::VatListing().

    @@ -407,7 +407,7 @@ Definition at line 5 Definition at line 63 of file impress_fiche.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__inc_8php-source.html b/doc/developper/html/impress__inc_8php-source.html index 6bdb60309..080f05214 100644 --- a/doc/developper/html/impress__inc_8php-source.html +++ b/doc/developper/html/impress__inc_8php-source.html @@ -723,7 +723,7 @@ 00876 } 00877 00878 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__inc_8php.html b/doc/developper/html/impress__inc_8php.html index cff456645..53bb5db76 100644 --- a/doc/developper/html/impress__inc_8php.html +++ b/doc/developper/html/impress__inc_8php.html @@ -699,7 +699,7 @@ Definition at line 36< References $centr, echo_debug(), FormPeriodeMult(), METHOD, name, PosteForm(), and value. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__jrn_8php-source.html b/doc/developper/html/impress__jrn_8php-source.html index ccca71a6e..70bdcb6f1 100644 --- a/doc/developper/html/impress__jrn_8php-source.html +++ b/doc/developper/html/impress__jrn_8php-source.html @@ -228,7 +228,7 @@ 00229 echo '</FORM>'; 00230 echo '</div>'; 00231 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__jrn_8php.html b/doc/developper/html/impress__jrn_8php.html index bdd8d5d6a..a0757edfc 100644 --- a/doc/developper/html/impress__jrn_8php.html +++ b/doc/developper/html/impress__jrn_8php.html @@ -486,7 +486,7 @@ Definition at line 223 Definition at line 203 of file impress_jrn.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__listing__client_8php-source.html b/doc/developper/html/impress__listing__client_8php-source.html index ad5d04a5d..a894e5cc7 100644 --- a/doc/developper/html/impress__listing__client_8php-source.html +++ b/doc/developper/html/impress__listing__client_8php-source.html @@ -84,7 +84,7 @@ 00084 echo '</div>'; 00085 00086 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__listing__client_8php.html b/doc/developper/html/impress__listing__client_8php.html index 7e1a26c49..f1045bed7 100644 --- a/doc/developper/html/impress__listing__client_8php.html +++ b/doc/developper/html/impress__listing__client_8php.html @@ -241,7 +241,7 @@ Referenced by fiche_de Definition at line 68 of file impress_listing_client.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__poste_8php-source.html b/doc/developper/html/impress__poste_8php-source.html index d7a095d96..bc3eb18fe 100644 --- a/doc/developper/html/impress__poste_8php-source.html +++ b/doc/developper/html/impress__poste_8php-source.html @@ -141,7 +141,7 @@ 00141 echo '</FORM>'; 00142 echo '</div>'; 00143 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__poste_8php.html b/doc/developper/html/impress__poste_8php.html index 9188de4d6..9a37b3700 100644 --- a/doc/developper/html/impress__poste_8php.html +++ b/doc/developper/html/impress__poste_8php.html @@ -404,7 +404,7 @@ Definition at line 1 Definition at line 121 of file impress_poste.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__rapport_8php-source.html b/doc/developper/html/impress__rapport_8php-source.html index be57bf92f..123ba8dcb 100644 --- a/doc/developper/html/impress__rapport_8php-source.html +++ b/doc/developper/html/impress__rapport_8php-source.html @@ -177,7 +177,7 @@ 00179 } 00180 00181 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/impress__rapport_8php.html b/doc/developper/html/impress__rapport_8php.html index bf1e1de14..d7d3b6131 100644 --- a/doc/developper/html/impress__rapport_8php.html +++ b/doc/developper/html/impress__rapport_8php.html @@ -287,7 +287,7 @@ Definition at line Definition at line 58 of file impress_rapport.php.

    -Referenced by Cpdf::ARC4(), Cpdf::ARC4_init(), Cezpdf::ezTable(), Document_modele::form(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), fiche_def_ref::Input(), RecordInvoice(), SortAttributeById(), and Customer::VatListing(). +Referenced by Cpdf::ARC4(), Cpdf::ARC4_init(), Cezpdf::ezTable(), Document_modele::form(), fiche::getAttribut(), fiche_def::GetAttribut(), fiche::GetByDef(), fiche::GetByType(), fiche_def_ref::Input(), RecordInvoice(), SortAttributeById(), and Customer::VatListing().

    @@ -390,7 +390,7 @@ Definition at line 132 of file impress_rapport.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/index.html b/doc/developper/html/index.html index a39ed5f4f..b8bde2585 100644 --- a/doc/developper/html/index.html +++ b/doc/developper/html/index.html @@ -11,7 +11,15 @@ Introduction Cette partie contient de la documentation pour les développeurs.

    Convention de codage

    -Tant que ce peut réutiliser ce qui existe déjà, Documenter avec les tags doxygen votre nouveau code, Les noms de fichiers sont *.inc.php pour les fichiers à include et class_*.php pour les fichiers contenant des classes.
    Generated on Fri Jun 23 00:28:21 2006 for phpcompta by  +Tant que ce peut réutiliser ce qui existe déjà,
      +
    1. +Documenter avec les tags doxygen votre nouveau code,
    2. +
    3. +Les noms de fichiers sont *.inc.php pour les fichiers à include
    4. +
    5. +et class_*.php pour les fichiers contenant des classes.
    6. +
    +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/index_8php-source.html b/doc/developper/html/index_8php-source.html index c81a4c204..3551eb37d 100644 --- a/doc/developper/html/index_8php-source.html +++ b/doc/developper/html/index_8php-source.html @@ -9,76 +9,76 @@ developpement » phpcompta-dev » phpcompta » html

    index.php

    Go to the documentation of this file.
    00001 
     00002 <?
    -00019 ?>
    -00020 echo '<!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 3.2 FINAL//EN">
    -00021 <HTML>
    -00022 <head>
    -00023 <TITLE> PhpCompta </TITLE>
    -00024 <style>
    -00025 BODY {
    -00026   background-color:white;
    -00027   font-size:12px;
    -00028   font-family:sans-serif;
    -00029   color:blue;
    -00030 }
    -00031 .remark {
    -00032         border: solid black 1px;
    -00033         font-family:sans-serif;
    -00034         font-size: 9px;
    -00035         color:blue;
    -00036         width:200px;
    -00037         padding:3px;
    -00038 }
    -00039 .gras {
    -00040   font-size:12px;
    -00041   font-family:sans-serif;
    -00042   color:red;
    -00043 
    -00044 }
    -00045 </style>
    -00046 <script src="scripts.js" type="text/javascript"></script>
    -00047 </head>
    -00048 <BODY onLoad="SetFocus(\'login\',0)">
    -00049 Version  developpement 1.2.2 patch 5
    -00050 <div class="remark">
    -00051  <p class="gras">Il est conseill&eacute; de ne PAS utiliser Internet Explorer.
    -00052  </p><p>
    -00053  Vous pouvez utiliser un autre browser: firefox, mozilla, netscape, Konqueror, opera...
    -00054  </p>
    -00055  <p>
    -00056  <a href="https://savannah.nongnu.org/projects/phpcompta">
    -00057  Si vous avez envie de nous rejoindre, vous êtes les bienvenus
    -00058  </a>   .
    -00059  </p>
    -00060 </div>
    -00061 
    -00062 <center>
    -00063         <IMG SRC="image/logo7.jpg" alt="Logo">
    -00064 <BR>
    -00065 
    -00066 <form action="login.php" method="post" name="loginform">
    -00067 <TABLE><TR><TD>
    -00068 <TABLE  BORDER=0 CELLSPACING=0>
    -00069 <TR>
    -00070 <TD class="cell">Login</TD>
    -00071 <TD><input type="text" name="p_user" tabindex="1"></TD>
    -00072 </TR>
    -00073 <TR>
    -00074 <TD> Password</TD>
    -00075 <TD><INPUT TYPE="PASSWORD" NAME="p_pass" tabindex="2"></TD>
    -00076 </TR>
    -00077 <TR>
    -00078 <TD COLSPAN=2 ALIGN=CENTER><INPUT TYPE=SUBMIT  NAME="login" value="Log in"></TD>
    +00022 echo '<!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 3.2 FINAL//EN">
    +00023 
    +00024 <HTML>
    +00025 <head>
    +00026 <TITLE> PhpCompta </TITLE>
    +00027 <style>
    +00028 BODY {
    +00029   background-color:white;
    +00030   font-size:12px;
    +00031   font-family:sans-serif;
    +00032   color:blue;
    +00033 }
    +00034 .remark {
    +00035         border: solid black 1px;
    +00036         font-family:sans-serif;
    +00037         font-size: 9px;
    +00038         color:blue;
    +00039         width:200px;
    +00040         padding:3px;
    +00041 }
    +00042 .gras {
    +00043   font-size:12px;
    +00044   font-family:sans-serif;
    +00045   color:red;
    +00046 
    +00047 }
    +00048 </style>
    +00049 <script src="scripts.js" type="text/javascript"></script>
    +00050 </head>
    +00051 <BODY onLoad="SetFocus(\'login\',0)">
    +00052 Version  developpement 1.2.2 patch 5
    +00053 <div class="remark">
    +00054  <p class="gras">Il est conseill&eacute; de ne PAS utiliser Internet Explorer.
    +00055  </p><p>
    +00056  Vous pouvez utiliser un autre browser: firefox, mozilla, netscape, Konqueror, opera...
    +00057  </p>
    +00058  <p>
    +00059  <a href="https://savannah.nongnu.org/projects/phpcompta">
    +00060  Si vous avez envie de nous rejoindre, vous êtes les bienvenus
    +00061  </a>   .
    +00062  </p>
    +00063 </div>
    +00064 
    +00065 <center>
    +00066         <IMG SRC="image/logo7.jpg" alt="Logo">
    +00067 <BR>
    +00068 
    +00069 <form action="login.php" method="post" name="loginform">
    +00070 <TABLE><TR><TD>
    +00071 <TABLE  BORDER=0 CELLSPACING=0>
    +00072 <TR>
    +00073 <TD class="cell">Login</TD>
    +00074 <TD><input type="text" name="p_user" tabindex="1"></TD>
    +00075 </TR>
    +00076 <TR>
    +00077 <TD> Password</TD>
    +00078 <TD><INPUT TYPE="PASSWORD" NAME="p_pass" tabindex="2"></TD>
     00079 </TR>
    -00080 </table>
    -00081 </TD></TR></TABLE>
    -00082 </form> 
    -00083 </Center>
    -00084 </body>
    -00085 </html>';
    -00086 
    -00087 ?>
    -

    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +00080 <TR> +00081 <TD COLSPAN=2 ALIGN=CENTER><INPUT TYPE=SUBMIT NAME="login" value="Log in"></TD> +00082 </TR> +00083 </table> +00084 </TD></TR></TABLE> +00085 </form> +00086 </Center> +00087 </body> +00088 </html>'; +00089 +00090 ?> +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/index_8php.html b/doc/developper/html/index_8php.html index 56e446832..09a538c35 100644 --- a/doc/developper/html/index_8php.html +++ b/doc/developper/html/index_8php.html @@ -19,7 +19,7 @@ default page where user access

    -Definition in file index.php.


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file index.php.
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/info_8php-source.html b/doc/developper/html/info_8php-source.html index 3a00f1a85..10ff47400 100644 --- a/doc/developper/html/info_8php-source.html +++ b/doc/developper/html/info_8php-source.html @@ -10,7 +10,7 @@

    info.php

    Go to the documentation of this file.
    00001 <?
     00002 phpinfo();
     00003 ?>
    -

    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/info_8php.html b/doc/developper/html/info_8php.html index 93e2f37a7..3e2da917a 100644 --- a/doc/developper/html/info_8php.html +++ b/doc/developper/html/info_8php.html @@ -12,7 +12,7 @@ Go to the source code of this file.
    -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/ing__be_8inc_8php-source.html b/doc/developper/html/ing__be_8inc_8php-source.html index c49f67820..bea79d84c 100644 --- a/doc/developper/html/ing__be_8inc_8php-source.html +++ b/doc/developper/html/ing__be_8inc_8php-source.html @@ -123,7 +123,7 @@ 00119 } // file is read 00120 fclose($handle); 00121 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/ing__be_8inc_8php.html b/doc/developper/html/ing__be_8inc_8php.html index 60e23cd80..df9b46846 100644 --- a/doc/developper/html/ing__be_8inc_8php.html +++ b/doc/developper/html/ing__be_8inc_8php.html @@ -318,7 +318,7 @@ Definition at line 29< Definition at line 83 of file ing_be.inc.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn_8php-source.html b/doc/developper/html/jrn_8php-source.html index a24cf3ead..aafe4bcdb 100644 --- a/doc/developper/html/jrn_8php-source.html +++ b/doc/developper/html/jrn_8php-source.html @@ -805,7 +805,7 @@ 01020 return $ret_array; 01021 } 01022 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/jrn_8php.html b/doc/developper/html/jrn_8php.html index 27a4eaa13..9d48eb613 100644 --- a/doc/developper/html/jrn_8php.html +++ b/doc/developper/html/jrn_8php.html @@ -342,7 +342,7 @@ Definition at line 793 of f

    References $l_line, $Res, and ExecSql().

    -Referenced by ListJrn(), and UpdateJrn(). +Referenced by ListJrn(), and UpdateJrn().

    @@ -446,7 +446,7 @@ Definition at line 549 of f

    References $cn, $Res, DbConnect(), and ExecSql().

    -Referenced by ListJrn(), ViewJrn(), and ViewRecord(). +Referenced by ListJrn(), ViewJrn(), and ViewRecord().

    @@ -684,7 +684,7 @@ Definition at line 949 of f

    References $num, $Res, ExecSql(), GetJrnProperty(), and NextSequence().

    -Referenced by RecordFin(), RecordInvoice(), RecordSell(), and TransferCSV(). +Referenced by RecordFin(), RecordInvoice(), RecordSell(), and TransferCSV().

    @@ -734,7 +734,7 @@ p_jrn

      Definition at line 282 of file jrn.php.

      -References $a, $check, $col_vide, $file, $i, $r, $search, $sessid, echo_debug(), echo_error(), GetConcerned(), GetDataJrnJrId(), GetGrpt(), GetInternal(), name, return, and value. +References $a, $check, $col_vide, $file, $i, $r, $search, $sessid, echo_debug(), echo_error(), GetConcerned(), GetDataJrnJrId(), GetGrpt(), GetInternal(), name, return, and value.

      @@ -971,7 +971,7 @@ Definition at line 457 of f References $col_vide, echo_debug(), GetJrnProp(), GetPosteLibelle(), and table. -


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__add_8php-source.html b/doc/developper/html/jrn__add_8php-source.html index 133448895..1fa15d488 100644 --- a/doc/developper/html/jrn__add_8php-source.html +++ b/doc/developper/html/jrn__add_8php-source.html @@ -208,7 +208,7 @@ 00203 echo "</DIV>"; 00204 html_page_stop(); 00205 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__add_8php.html b/doc/developper/html/jrn__add_8php.html index b15214689..6e2537f89 100644 --- a/doc/developper/html/jrn__add_8php.html +++ b/doc/developper/html/jrn__add_8php.html @@ -517,7 +517,7 @@ Definition at line 37 Definition at line 52 of file jrn_add.php. -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__csv_8php-source.html b/doc/developper/html/jrn__csv_8php-source.html index 732def332..f639373ff 100644 --- a/doc/developper/html/jrn__csv_8php-source.html +++ b/doc/developper/html/jrn__csv_8php-source.html @@ -124,7 +124,7 @@ 00120 00122 } 00123 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__csv_8php.html b/doc/developper/html/jrn__csv_8php.html index fb3bb80cb..68143c793 100644 --- a/doc/developper/html/jrn__csv_8php.html +++ b/doc/developper/html/jrn__csv_8php.html @@ -210,7 +210,7 @@ Definition at line 36 Definition at line 80 of file jrn_csv.php. -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__detail_8php-source.html b/doc/developper/html/jrn__detail_8php-source.html index 54f8e2b0a..f57077661 100644 --- a/doc/developper/html/jrn__detail_8php-source.html +++ b/doc/developper/html/jrn__detail_8php-source.html @@ -249,7 +249,7 @@ 00244 echo "</DIV>"; 00245 html_page_stop(); 00246 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__detail_8php.html b/doc/developper/html/jrn__detail_8php.html index 45b13f0f9..b1e7914e8 100644 --- a/doc/developper/html/jrn__detail_8php.html +++ b/doc/developper/html/jrn__detail_8php.html @@ -546,7 +546,7 @@ Definition at line 3552 of file jrn_detail.php. -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__op__detail_8php-source.html b/doc/developper/html/jrn__op__detail_8php-source.html index 3233dccc4..11b1f723a 100644 --- a/doc/developper/html/jrn__op__detail_8php-source.html +++ b/doc/developper/html/jrn__op__detail_8php-source.html @@ -98,7 +98,7 @@ 00093 <? 00094 html_page_stop(); 00095 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__op__detail_8php.html b/doc/developper/html/jrn__op__detail_8php.html index ba6cab143..b6c2ce73d 100644 --- a/doc/developper/html/jrn__op__detail_8php.html +++ b/doc/developper/html/jrn__op__detail_8php.html @@ -129,7 +129,7 @@ Definition at line Definition at line 38 of file jrn_op_detail.php. -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__pdf_8php-source.html b/doc/developper/html/jrn__pdf_8php-source.html index ddf4be998..6007634b2 100644 --- a/doc/developper/html/jrn__pdf_8php-source.html +++ b/doc/developper/html/jrn__pdf_8php-source.html @@ -165,7 +165,7 @@ 00160 $pdf->ezStream(); 00161 00162 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__pdf_8php.html b/doc/developper/html/jrn__pdf_8php.html index 6b2dd8120..aa019c370 100644 --- a/doc/developper/html/jrn__pdf_8php.html +++ b/doc/developper/html/jrn__pdf_8php.html @@ -366,7 +366,7 @@ Definition at line 127

      Definition at line 71 of file jrn_pdf.php.

      -Referenced by fiche::GetByDef(), ListJrn(), and action::myList(). +Referenced by fiche::GetByDef(), ListJrn(), and action::myList().

      @@ -594,7 +594,7 @@ Definition at line 132 Definition at line 54 of file jrn_pdf.php. -


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__search_8php-source.html b/doc/developper/html/jrn__search_8php-source.html index 5e11122dd..c5922db6b 100644 --- a/doc/developper/html/jrn__search_8php-source.html +++ b/doc/developper/html/jrn__search_8php-source.html @@ -238,7 +238,7 @@ 00233 <? 00234 html_page_stop(); 00235 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__search_8php.html b/doc/developper/html/jrn__search_8php.html index 998fc4f91..bc2c53ec7 100644 --- a/doc/developper/html/jrn__search_8php.html +++ b/doc/developper/html/jrn__search_8php.html @@ -679,7 +679,7 @@ Definition at line 39163 of file jrn_search.php. -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__update_8php-source.html b/doc/developper/html/jrn__update_8php-source.html index ef9f2511a..b60551f86 100644 --- a/doc/developper/html/jrn__update_8php-source.html +++ b/doc/developper/html/jrn__update_8php-source.html @@ -64,7 +64,7 @@ 00058 echo '</div>'; 00059 html_page_stop(); 00060 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/jrn__update_8php.html b/doc/developper/html/jrn__update_8php.html index 15921039c..17c556bac 100644 --- a/doc/developper/html/jrn__update_8php.html +++ b/doc/developper/html/jrn__update_8php.html @@ -129,7 +129,7 @@ Definition at line 3450 of file jrn_update.php. -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/line__update_8php-source.html b/doc/developper/html/line__update_8php-source.html index 20929fc0d..03082ae1a 100644 --- a/doc/developper/html/line__update_8php-source.html +++ b/doc/developper/html/line__update_8php-source.html @@ -122,7 +122,7 @@ 00116 <? 00117 html_page_stop(); 00118 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/line__update_8php.html b/doc/developper/html/line__update_8php.html index c90ce2814..0f6d359b0 100644 --- a/doc/developper/html/line__update_8php.html +++ b/doc/developper/html/line__update_8php.html @@ -351,7 +351,7 @@ Definition at line 36< Definition at line 43 of file line_update.php. -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/listing__client_8php-source.html b/doc/developper/html/listing__client_8php-source.html index 634f695a6..47f094d91 100644 --- a/doc/developper/html/listing__client_8php-source.html +++ b/doc/developper/html/listing__client_8php-source.html @@ -61,7 +61,7 @@ 00057 return; 00058 } 00059 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/listing__client_8php.html b/doc/developper/html/listing__client_8php.html index 032b793ea..e82881baf 100644 --- a/doc/developper/html/listing__client_8php.html +++ b/doc/developper/html/listing__client_8php.html @@ -183,7 +183,7 @@ Definition at line Definition at line 56 of file listing_client.php. -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/login_8php-source.html b/doc/developper/html/login_8php-source.html index 54e35ca11..1afa55a43 100644 --- a/doc/developper/html/login_8php-source.html +++ b/doc/developper/html/login_8php-source.html @@ -61,7 +61,7 @@ 00055 } 00056 html_page_stop(); 00057 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/login_8php.html b/doc/developper/html/login_8php.html index 88657cfc4..e955953d8 100644 --- a/doc/developper/html/login_8php.html +++ b/doc/developper/html/login_8php.html @@ -156,7 +156,7 @@ Definition at line 39 of Definition at line 41 of file login.php. -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/logout_8php-source.html b/doc/developper/html/logout_8php-source.html index a8ca20e42..76533a762 100644 --- a/doc/developper/html/logout_8php-source.html +++ b/doc/developper/html/logout_8php-source.html @@ -36,7 +36,7 @@ 00030 00031 html_page_stop(); 00032 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/logout_8php.html b/doc/developper/html/logout_8php.html index 69630d964..f55469dba 100644 --- a/doc/developper/html/logout_8php.html +++ b/doc/developper/html/logout_8php.html @@ -19,7 +19,7 @@ Logout.

      -Definition in file logout.php.


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +Definition in file logout.php.
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/modify__op_8php-source.html b/doc/developper/html/modify__op_8php-source.html index 4532bed12..d291d0b70 100644 --- a/doc/developper/html/modify__op_8php-source.html +++ b/doc/developper/html/modify__op_8php-source.html @@ -151,7 +151,7 @@ 00147 } 00148 html_page_stop(); 00149 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/modify__op_8php.html b/doc/developper/html/modify__op_8php.html index a950efa1c..3a9b0ebbf 100644 --- a/doc/developper/html/modify__op_8php.html +++ b/doc/developper/html/modify__op_8php.html @@ -111,7 +111,7 @@ Definition at line 80 Definition at line 54 of file modify_op.php.

      -Referenced by FormAchInput(), FormFin(), FormODS(), FormVenInput(), and ListJrn(). +Referenced by FormAchInput(), FormFin(), FormODS(), FormVenInput(), and ListJrn().

      @@ -214,7 +214,7 @@ Definition at line 3776 of file modify_op.php. -


      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/namespaceCpdf.html b/doc/developper/html/namespaceCpdf.html index d5d81baad..976a4827a 100644 --- a/doc/developper/html/namespaceCpdf.html +++ b/doc/developper/html/namespaceCpdf.html @@ -21,7 +21,7 @@ LICENCE This code has been placed in the Public Domain for all to enjoy.

      Version:
      009

      -


      Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/namespaces.html b/doc/developper/html/namespaces.html index b7e71c49d..53430149b 100644 --- a/doc/developper/html/namespaces.html +++ b/doc/developper/html/namespaces.html @@ -8,7 +8,7 @@

      phpcompta Namespace List

      Here is a list of all namespaces with brief descriptions:
      Cpdf
      -
      Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/not__implemented_8php-source.html b/doc/developper/html/not__implemented_8php-source.html index 5bc128df8..b4761ebb5 100644 --- a/doc/developper/html/not__implemented_8php-source.html +++ b/doc/developper/html/not__implemented_8php-source.html @@ -32,7 +32,7 @@ 00023 echo '<H1 class="info"> Not Implemented</H1>'; 00024 html_page_stop(); 00025 ?> -
      Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/not__implemented_8php.html b/doc/developper/html/not__implemented_8php.html index 3b88dc61b..52fbbe5a7 100644 --- a/doc/developper/html/not__implemented_8php.html +++ b/doc/developper/html/not__implemented_8php.html @@ -12,7 +12,7 @@ Go to the source code of this file.
      -
      Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
      Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
      diff --git a/doc/developper/html/p_8php-source.html b/doc/developper/html/p_8php-source.html deleted file mode 100644 index 94e876ea5..000000000 --- a/doc/developper/html/p_8php-source.html +++ /dev/null @@ -1,46 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/p.php Source File - - - - - -

      p.php

      Go to the documentation of this file.
      00001 <?php
      -00008 function db_connect() {
      -00009   $database_name = 'dossier1'; // Set this to your Database Name
      -00010   $database_username = 'phpcompta'; // Set this to your MySQL username
      -00011   $database_password = ''; // Set this to your MySQL password
      -00012   $result = pg_connect("host=localhost dbname=dossier1 user=phpcompta");
      -00013   if (!$result) return false;
      -00014   return $result;
      -00015 }
      -00016 $conn = db_connect(); // Connect to database
      -00017 
      -00018 if ($conn) {
      -00019   $zipcode = $_GET['param']; // The parameter passed to us
      -00020   $query = "select * from zipcodes where zipcode = '$zipcode'";
      -00021   $result = pg_query($conn,$query);
      -00022   $count = pg_numrows($result);
      -00023   if ($count > 0) {
      -00024     $row=pg_fetch_array($result,0);
      -00025     $city = $row['city'];
      -00026     $state = $row['state'];
      -00027   }
      -00028 }
      -00029 if (isset($city) && isset($state)) { 
      -00030   // $return_value = $city . "," . $state; 
      -00031   $return_value = '<?xml version="1.0" standalone="yes"?><zip><city>'.$city.'</city><state>'.$state.'</state></zip>';
      -00032 }
      -00033 else {  
      -00034   $return_value = "invalid".",".$_GET['param']; // Include Zip for debugging purposes
      -00035 }
      -00036 header('Content-Type: text/xml'); 
      -00037 echo $return_value; // This will become the response value for the XMLHttpRequest object
      -00038 ?>
      -

      Generated on Wed May 31 21:39:15 2006 for phpcompta by  - -doxygen 1.4.4
      - - diff --git a/doc/developper/html/p_8php.html b/doc/developper/html/p_8php.html deleted file mode 100644 index eed11321f..000000000 --- a/doc/developper/html/p_8php.html +++ /dev/null @@ -1,164 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/p.php File Reference - - - - - -

      p.php File Reference

      -

      -Go to the source code of this file. - - - - - - - - - - - - - -

      Functions

       db_connect ()

      Variables

       $conn = db_connect()
       $count = pg_numrows($result)
       $city = $row['city']
       $state = $row['state']
      -


      Function Documentation

      -

      - - - - -
      - - - - - - - - -
      db_connect  ) 
      -
      - - - - - -
      -   - - -

      -Connects to the database. Return false if connection failed. Be sure to change the $database_name. $database_username , and $database_password values to reflect your database settings. -

      -Definition at line 8 of file p.php. -

      -References $result.

      -


      Variable Documentation

      -

      - - - - -
      - - - - -
      $city = $row['city']
      -
      - - - - - -
      -   - - -

      - -

      -Definition at line 25 of file p.php.

      -

      - - - - -
      - - - - -
      $conn = db_connect()
      -
      - - - - - -
      -   - - -

      - -

      -Definition at line 16 of file p.php.

      -

      - - - - -
      - - - - -
      $count = pg_numrows($result)
      -
      - - - - - -
      -   - - -

      - -

      -Definition at line 22 of file p.php.

      -

      - - - - -
      - - - - -
      $state = $row['state']
      -
      - - - - - -
      -   - - -

      - -

      -Definition at line 26 of file p.php.

      -


      Generated on Wed May 31 21:39:15 2006 for phpcompta by  - -doxygen 1.4.4
      - - diff --git a/doc/developper/html/pages.html b/doc/developper/html/pages.html index 991aaf00c..c2f648f2e 100644 --- a/doc/developper/html/pages.html +++ b/doc/developper/html/pages.html @@ -9,7 +9,7 @@
    • Todo List
    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:12 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/parametre_8php-source.html b/doc/developper/html/parametre_8php-source.html index 241d0df53..e3310f0ca 100644 --- a/doc/developper/html/parametre_8php-source.html +++ b/doc/developper/html/parametre_8php-source.html @@ -184,7 +184,7 @@ 00191 00192 html_page_stop(); 00193 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/parametre_8php.html b/doc/developper/html/parametre_8php.html index 4f2cfc085..4309388fa 100644 --- a/doc/developper/html/parametre_8php.html +++ b/doc/developper/html/parametre_8php.html @@ -521,7 +521,7 @@ Definition at line 101166 of file parametre.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/pcmn__update_8php-source.html b/doc/developper/html/pcmn__update_8php-source.html index 6f26595af..79b0eca00 100644 --- a/doc/developper/html/pcmn__update_8php-source.html +++ b/doc/developper/html/pcmn__update_8php-source.html @@ -76,120 +76,132 @@ 00070 /* Analyse ce qui est demandé */ 00071 /* Effacement d'une ligne */ 00072 if (isset ($_GET['action'])) { -00073 if ( $_GET['action']=="del" ) { -00074 if ( isset ($_GET['l']) ) { -00075 /* Ligne a enfant*/ -00076 $R=ExecSql($cn,"select pcm_val from tmp_pcmn where pcm_val_parent=".$_GET['l']); -00077 if ( pg_NumRows($R) != 0 ) { -00078 echo "<SCRIPT> alert(\"Ne peut pas effacer le poste: d'autres postes en dépendent\");</SCRIPT>"; -00079 } else { -00080 /* Vérifier que le poste n'est pas utilisé qq part dans les journaux */ -00081 $Res=ExecSql($cn,"select * from jrnx where j_poste=".$_GET['l']); -00082 if ( pg_NumRows($R) != 0 ) { -00083 echo "<SCRIPT> alert(\"Ne peut pas effacer le poste: il est utilisé dans les journaux\");</SCRIPT>"; -00084 } -00085 else { -00086 $Del=ExecSql($cn,"delete from tmp_pcmn where pcm_val=".$_GET['l']); -00087 } // if pg_NumRows -00088 } // if pg_NumRows -00089 } // isset ($l) -00090 } //$action == del -00091 } // isset action -00092 /* Ajout d'une ligne */ -00093 if ( isset ( $_POST["Add"] ) ) { -00094 extract ($_POST); -00095 if ( isset ( $p_val) && isset ( $p_lib ) ) { -00096 $p_val=trim($p_val); -00097 $p_lib=FormatString(trim($p_lib)); -00098 $p_parent=$_POST["p_parent"]; -00099 if ( strlen ($p_val) != 0 && strlen ($p_lib) != 0 ) { -00100 if (strlen ($p_val) == 1 ) { -00101 $p_parent=0; -00102 } else { -00103 if ( strlen(trim($p_parent))==0 && -00104 (string) $p_parent != (string)(int) $p_parent) { -00105 $p_parent=substr($p_val,0,strlen($p_val)-1); -00106 } -00107 echo_debug('pcmn_update.php',__LINE__,"Ajout valeur = $p_val parent = $p_parent"); -00108 } -00109 /* Parent existe */ -00110 $Ret=ExecSql($cn,"select pcm_val from tmp_pcmn where pcm_val=$p_parent"); -00111 if ( pg_NumRows($Ret) == 0 ) { -00112 echo '<SCRIPT> alert(" Ne peut pas modifier; aucune poste parent"); </SCRIPT>'; -00113 } else { -00114 $Ret=ExecSql($cn,"insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent) values ('$p_val','$p_lib',$p_parent)"); -00115 } -00116 } else { -00117 echo '<H2 class="error"> Valeurs invalides </H3>'; -00118 } -00119 } -00120 } -00121 -00122 $Ret=ExecSql($cn,"select pcm_val,pcm_lib,pcm_val_parent from tmp_pcmn where substr(pcm_val::text,1,1)='".$_SESSION['g_start']."' order by pcm_val::text"); -00123 $MaxRow=pg_NumRows($Ret); +00074 // Action == remove a line +00075 if ( $_GET['action']=="del" ) { +00076 if ( isset ($_GET['l']) ) { +00077 /* Ligne a enfant*/ +00078 $R=ExecSql($cn,"select pcm_val from tmp_pcmn where pcm_val_parent=".$_GET['l']); +00079 if ( pg_NumRows($R) != 0 ) { +00080 echo "<SCRIPT> alert(\"Ne peut pas effacer le poste: d'autres postes en dépendent\");</SCRIPT>"; +00081 } else { +00082 /* Vérifier que le poste n'est pas utilisé qq part dans les journaux */ +00083 $Res=ExecSql($cn,"select * from jrnx where j_poste=".$_GET['l']); +00084 if ( pg_NumRows($R) != 0 ) { +00085 echo "<SCRIPT> alert(\"Ne peut pas effacer le poste: il est utilisé dans les journaux\");</SCRIPT>"; +00086 } +00087 else { +00088 $Del=ExecSql($cn,"delete from tmp_pcmn where pcm_val=".$_GET['l']); +00089 } // if pg_NumRows +00090 } // if pg_NumRows +00091 } // isset ($l) +00092 } //$action == del +00093 } // isset action +00095 /* Ajout d'une ligne */ +00096 if ( isset ( $_POST["Add"] ) ) { +00097 extract ($_POST); +00098 if ( isset ( $p_val) && isset ( $p_lib ) && isNumber(trim($p_val)) && isNumber(trim($p_parent)) ) { +00099 $p_val=trim($p_val); +00100 $p_lib=FormatString(trim($p_lib)); +00101 $p_parent=$_POST["p_parent"]; +00102 if ( strlen ($p_val) != 0 && strlen ($p_lib) != 0 ) { +00103 if (strlen ($p_val) == 1 ) { +00104 $p_parent=0; +00105 } else { +00106 if ( strlen(trim($p_parent))==0 && +00107 (string) $p_parent != (string)(int) $p_parent) { +00108 $p_parent=substr($p_val,0,strlen($p_val)-1); +00109 } +00110 echo_debug('pcmn_update.php',__LINE__,"Ajout valeur = $p_val parent = $p_parent"); +00111 } +00112 /* Parent existe */ +00113 $Ret=ExecSql($cn,"select pcm_val from tmp_pcmn where pcm_val=$p_parent"); +00114 if ( pg_NumRows($Ret) == 0 ) { +00115 echo '<SCRIPT> alert(" Ne peut pas modifier; aucune poste parent"); </SCRIPT>'; +00116 } else { +00117 // Check if the account already exists +00118 +00119 $Count=CountSql($cn,"select * from tmp_pcmn where pcm_val='".$p_val."'"); +00120 if ( $Count != 0 ) +00121 { +00122 // Alert message account already exists +00123 echo '<SCRIPT> alert(" Ce poste existe déjà "); </SCRIPT>'; 00124 -00125 ?> -00126 -00127 <FORM ACTION="pcmn_update.php" METHOD="POST"> -00128 <TABLE ALIGN="center" BORDER=0 CELLPADDING=0 CELLSPACING=0> -00129 <TR> -00130 <TH> Classe </TH> -00131 <TH> Libellé </TH> -00132 <TH> Parent </TH> -00133 </TR> -00134 <TR> -00135 <TD> -00136 <INPUT TYPE="TEXT" NAME="p_val" SIZE=7> -00137 </TD> -00138 <TD> -00139 <INPUT TYPE="TEXT" NAME="p_lib" size=50> -00140 </TD> -00141 <TD> -00142 <INPUT TYPE="TEXT" NAME="p_parent" size=5> -00143 </TD> -00144 <TD> -00145 <INPUT TYPE="SUBMIT" Value="Add" Name="Add"> -00146 </TD> +00125 } else +00126 { +00127 $Ret=ExecSql($cn,"insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent) values ('$p_val','$p_lib',$p_parent)"); +00128 } +00129 } +00130 } else { +00131 echo '<H2 class="error"> Valeurs invalides </H3>'; +00132 } +00133 } +00134 } +00135 +00136 $Ret=ExecSql($cn,"select pcm_val,pcm_lib,pcm_val_parent from tmp_pcmn where substr(pcm_val::text,1,1)='".$_SESSION['g_start']."' order by pcm_val::text"); +00137 $MaxRow=pg_NumRows($Ret); +00138 +00139 ?> +00140 +00141 <FORM ACTION="pcmn_update.php" METHOD="POST"> +00142 <TABLE ALIGN="center" BORDER=0 CELLPADDING=0 CELLSPACING=0> +00143 <TR> +00144 <TH> Classe </TH> +00145 <TH> Libellé </TH> +00146 <TH> Parent </TH> 00147 </TR> -00148 <? -00149 for ($i=0; $i <$MaxRow; $i++) { -00150 $A=pg_fetch_array($Ret,$i); -00151 -00152 if ( $i%2 == 0 ) { -00153 $td ='<TD class="odd">'; -00154 } else { -00155 $td='<TD class="even">'; -00156 } -00157 echo "<TR> $td"; -00158 echo $A['pcm_val']; -00159 -00160 echo "</td> $td"; -00161 // printf ("<A HREF=line_update.php?l=%d&n=%s&p=%s>",$A['pcm_val'],urlencode($A['pcm_lib']),$A['pcm_val_parent']); -00162 printf ("<A HREF=\"javascript:PcmnUpdate(%d,'%s','%s','%s')\">", -00163 $A['pcm_val'], -00164 FormatString($A['pcm_lib']), -00165 $A['pcm_val_parent'], -00166 $_REQUEST['PHPSESSID']); -00167 echo $A['pcm_lib']; -00168 echo '</A>'; -00169 echo "</TD>"; -00170 -00171 echo $td; -00172 echo $A['pcm_val_parent']; -00173 echo '</TD>'; -00174 -00175 echo $td; -00176 printf ('<A href="pcmn_update.php?l=%d&action=del">Delete</A>',$A['pcm_val']); -00177 echo "</TD>"; -00178 -00179 echo "</TR>"; -00180 } -00181 echo "</TABLE>"; -00182 echo "</FORM>"; -00183 echo "</DIV>"; -00184 html_page_stop(); -00185 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +00148 <TR> +00149 <TD> +00150 <INPUT TYPE="TEXT" NAME="p_val" SIZE=7> +00151 </TD> +00152 <TD> +00153 <INPUT TYPE="TEXT" NAME="p_lib" size=50> +00154 </TD> +00155 <TD> +00156 <INPUT TYPE="TEXT" NAME="p_parent" size=5> +00157 </TD> +00158 <TD> +00159 <INPUT TYPE="SUBMIT" Value="Add" Name="Add"> +00160 </TD> +00161 </TR> +00162 <? +00163 for ($i=0; $i <$MaxRow; $i++) { +00164 $A=pg_fetch_array($Ret,$i); +00165 +00166 if ( $i%2 == 0 ) { +00167 $td ='<TD class="odd">'; +00168 } else { +00169 $td='<TD class="even">'; +00170 } +00171 echo "<TR> $td"; +00172 echo $A['pcm_val']; +00173 +00174 echo "</td> $td"; +00175 // printf ("<A HREF=line_update.php?l=%d&n=%s&p=%s>",$A['pcm_val'],urlencode($A['pcm_lib']),$A['pcm_val_parent']); +00176 printf ("<A HREF=\"javascript:PcmnUpdate(%d,'%s','%s','%s')\">", +00177 $A['pcm_val'], +00178 FormatString($A['pcm_lib']), +00179 $A['pcm_val_parent'], +00180 $_REQUEST['PHPSESSID']); +00181 echo $A['pcm_lib']; +00182 echo '</A>'; +00183 echo "</TD>"; +00184 +00185 echo $td; +00186 echo $A['pcm_val_parent']; +00187 echo '</TD>'; +00188 +00189 echo $td; +00190 printf ('<A href="pcmn_update.php?l=%d&action=del">Delete</A>',$A['pcm_val']); +00191 echo "</TD>"; +00192 +00193 echo "</TR>"; +00194 } +00195 echo "</TABLE>"; +00196 echo "</FORM>"; +00197 echo "</DIV>"; +00198 html_page_stop(); +00199 ?> +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/pcmn__update_8php.html b/doc/developper/html/pcmn__update_8php.html index f99da4ed9..647c17c74 100644 --- a/doc/developper/html/pcmn__update_8php.html +++ b/doc/developper/html/pcmn__update_8php.html @@ -78,7 +78,7 @@ Definition at line 45<

    -Definition at line 123 of file pcmn_update.php. +Definition at line 137 of file pcmn_update.php.

    @@ -156,7 +156,7 @@ Definition at line 36< Definition at line 49 of file pcmn_update.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/periode_8inc_8php-source.html b/doc/developper/html/periode_8inc_8php-source.html index 6488f623c..bf5ee42ff 100644 --- a/doc/developper/html/periode_8inc_8php-source.html +++ b/doc/developper/html/periode_8inc_8php-source.html @@ -112,7 +112,7 @@ 00110 ShowPeriode($cn); 00111 00112 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/periode_8inc_8php.html b/doc/developper/html/periode_8inc_8php.html index c9f743b3c..6480de328 100644 --- a/doc/developper/html/periode_8inc_8php.html +++ b/doc/developper/html/periode_8inc_8php.html @@ -137,7 +137,7 @@ Definition at line 61< Definition at line 59 of file periode.inc.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste_8inc_8php-source.html b/doc/developper/html/poste_8inc_8php-source.html index db64858e2..4d104eb1e 100644 --- a/doc/developper/html/poste_8inc_8php-source.html +++ b/doc/developper/html/poste_8inc_8php-source.html @@ -79,7 +79,7 @@ 00076 echo "</div>"; 00077 00078 } -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste_8inc_8php.html b/doc/developper/html/poste_8inc_8php.html index 4560f8fe4..75e5868a6 100644 --- a/doc/developper/html/poste_8inc_8php.html +++ b/doc/developper/html/poste_8inc_8php.html @@ -88,7 +88,7 @@ Definition at line 39 Definition at line 69 of file poste.inc.php.

    -Referenced by Document_modele::form(), FormAchInput(), FormAchView(), FormFin(), Cpdf::getFontDecender(), Cpdf::getFontHeight(), fiche_def_ref::Input(), ListJrn(), Document::ParseDocument(), and ros_logo(). +Referenced by Document_modele::form(), FormAchInput(), FormAchView(), FormFin(), Cpdf::getFontDecender(), Cpdf::getFontHeight(), fiche_def_ref::Input(), ListJrn(), Document::ParseDocument(), and ros_logo().

    @@ -215,7 +215,7 @@ Definition at line 47 Definition at line 33 of file poste.inc.php.

    -Referenced by parm_code::Get(), parm_code::Input(), InsertJrn(), parm_code::Save(), and UpdateComment(). +Referenced by parm_code::Get(), parm_code::Input(), InsertJrn(), parm_code::Save(), and UpdateComment().

    @@ -270,7 +270,7 @@ Referenced by par Definition at line 48 of file poste.inc.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste_8php-source.html b/doc/developper/html/poste_8php-source.html index 494cc2145..d85eba60e 100644 --- a/doc/developper/html/poste_8php-source.html +++ b/doc/developper/html/poste_8php-source.html @@ -91,7 +91,7 @@ 00128 } 00129 00130 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste_8php.html b/doc/developper/html/poste_8php.html index c3e76025b..4f3b2e253 100644 --- a/doc/developper/html/poste_8php.html +++ b/doc/developper/html/poste_8php.html @@ -238,7 +238,7 @@ References $Max, ViewImp(). -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__csv_8php-source.html b/doc/developper/html/poste__csv_8php-source.html index be735fdce..41e6ead5c 100644 --- a/doc/developper/html/poste__csv_8php-source.html +++ b/doc/developper/html/poste__csv_8php-source.html @@ -78,7 +78,7 @@ 00072 00073 exit; 00074 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__csv_8php.html b/doc/developper/html/poste__csv_8php.html index 46c05f15e..a1094f25c 100644 --- a/doc/developper/html/poste__csv_8php.html +++ b/doc/developper/html/poste__csv_8php.html @@ -185,7 +185,7 @@ Definition at line 3573 of file poste_csv.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__pdf_8php-source.html b/doc/developper/html/poste__pdf_8php-source.html index d96eb9f13..3b05e294f 100644 --- a/doc/developper/html/poste__pdf_8php-source.html +++ b/doc/developper/html/poste__pdf_8php-source.html @@ -100,7 +100,7 @@ 00094 $pdf->ezStream(); 00095 00096 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__pdf_8php.html b/doc/developper/html/poste__pdf_8php.html index 59d724ccc..ee265e9fa 100644 --- a/doc/developper/html/poste__pdf_8php.html +++ b/doc/developper/html/poste__pdf_8php.html @@ -183,7 +183,7 @@ Definition at line 7574 of file poste_pdf.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__search_8php-source.html b/doc/developper/html/poste__search_8php-source.html index fd026681c..69a7bd574 100644 --- a/doc/developper/html/poste__search_8php-source.html +++ b/doc/developper/html/poste__search_8php-source.html @@ -189,7 +189,7 @@ 00183 echo '<INPUT TYPE="BUTTON" Value="Close" onClick=\'GetIt()\'>'; 00184 html_page_stop(); 00185 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/poste__search_8php.html b/doc/developper/html/poste__search_8php.html index cb42bd16c..3193400aa 100644 --- a/doc/developper/html/poste__search_8php.html +++ b/doc/developper/html/poste__search_8php.html @@ -239,7 +239,7 @@ Definition at line 68 Definition at line 31 of file poste_search.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/postgres_8php-source.html b/doc/developper/html/postgres_8php-source.html index d8d515327..dbad9fd7a 100644 --- a/doc/developper/html/postgres_8php-source.html +++ b/doc/developper/html/postgres_8php-source.html @@ -326,7 +326,7 @@ 00404 00405 00406 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/postgres_8php.html b/doc/developper/html/postgres_8php.html index 35838555a..efe42a0c2 100644 --- a/doc/developper/html/postgres_8php.html +++ b/doc/developper/html/postgres_8php.html @@ -162,7 +162,7 @@ Definition at line 263

    References $Res, and ExecSql().

    -Referenced by Centralise(), Document_modele::Delete(), Document::Generate(), Invoice::Get(), Document_modele::Get(), Document::Get(), ImportCSV(), fiche::insert(), RecordInvoice(), RecordSell(), Document_modele::Save(), Document::SaveGenerated(), TransferCSV(), and Document::Upload(). +Referenced by Centralise(), Document_modele::Delete(), Document::Generate(), Invoice::Get(), Document_modele::Get(), Document::Get(), ImportCSV(), fiche::insert(), RecordInvoice(), RecordSell(), Document_modele::Save(), Document::SaveGenerated(), TransferCSV(), and Document::Upload().

    @@ -205,7 +205,7 @@ Definition at line 222

    References ExecSql().

    -Referenced by cl_user::AccessJrn(), AddFiche(), cl_user::Admin(), CheckDossier(), CheckIsAdmin(), CheckJrn(), DeleteRapt(), form_verify_input(), FormODS(), FormVenteView(), GetParent(), GetRappel(), fiche_def::HasAttribute(), fiche::insert(), InsertRapt(), ListJrn(), action::myList(), NextJrn(), Remove(), ShowDossier(), fiche::update(), UpdateFiche(), and ViewFiche(). +Referenced by cl_user::AccessJrn(), AddFiche(), cl_user::Admin(), CheckDossier(), CheckIsAdmin(), CheckJrn(), DeleteRapt(), form_verify_input(), FormODS(), FormVenteView(), GetParent(), GetRappel(), fiche_def::HasAttribute(), fiche::insert(), InsertRapt(), ListJrn(), action::myList(), NextJrn(), Remove(), ShowDossier(), fiche::update(), UpdateFiche(), and ViewFiche().

    @@ -256,7 +256,7 @@ Definition at line 72

    References $a, and echo_debug().

    -Referenced by cl_user::Admin(), cl_user::Check(), CheckAction(), CheckDossier(), CheckIsAdmin(), CheckJrn(), cl_user::cl_user(), ExisteJnt(), ExistePriv(), GetAllUser(), GetAvailableFolder(), GetDbId(), GetDossierName(), GetFirstJrnIdForJrnType(), GetJnt(), GetJrnProp(), GetLogin(), GetNumberLine(), GetPosteLibelle(), GetPriv(), GetUid(), html_page_start(), ListJrn(), MenuJrn(), RecordJrn(), ShowDossier(), ShowMenuComptaForm(), ShowMenuFiche(), ShowMenuJrnUser(), SyncRight(), and ViewJrn(). +Referenced by cl_user::Admin(), cl_user::Check(), CheckAction(), CheckDossier(), CheckIsAdmin(), CheckJrn(), cl_user::cl_user(), ExisteJnt(), ExistePriv(), GetAllUser(), GetAvailableFolder(), GetDbId(), GetDossierName(), GetFirstJrnIdForJrnType(), GetJnt(), GetJrnProp(), GetLogin(), GetNumberLine(), GetPosteLibelle(), GetPriv(), GetUid(), html_page_start(), ListJrn(), MenuJrn(), RecordJrn(), ShowDossier(), ShowMenuComptaForm(), ShowMenuFiche(), ShowMenuJrnUser(), SyncRight(), and ViewJrn().

    @@ -342,7 +342,7 @@ Definition at line 99

    References $ret, echo_debug(), echo_error(), and exit.

    -Referenced by AddFiche(), AddForm(), AddModele(), AlterSequence(), fiche::blank(), Centralise(), cl_user::CheckAction(), CheckAction(), CheckJrn(), Commit(), action::Confirm(), fiche::CountByDef(), CountSql(), Document_modele::Delete(), DeleteForm(), DeleteRapt(), fiche::Display(), action::Display(), DisplayDetailModele(), EncodeFiche(), EndSql(), ExecuteScript(), ExisteJnt(), ExistePriv(), FormPeriode(), FormPeriodeMult(), Document::Generate(), parm_code::Get(), Invoice::Get(), fiche_def_ref::Get(), fiche_def::Get(), Document_type::get(), Document_modele::Get(), Document::Get(), Get_attr_def(), Get_attr_min(), Get_fiche_def_ref(), fiche_def::GetAll(), GetAllUser(), GetAmount(), GetArray(), fiche::getAttribut(), fiche_def::GetAttribut(), GetAvailableFolder(), GetBaseFiche(), GetBaseFicheDefault(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetClass(), GetConcerned(), GetCreateAccount(), GetData(), GetDataForm(), GetDataGrpt(), GetDataJrn(), GetDataJrnJrId(), GetDataJrnPdf(), GetDataModele(), GetDataPoste(), GetDbId(), jrn::GetDefLine(), GetDossierName(), GetExercice(), getFicheAttribut(), GetFicheDef(), getFicheDefName(), GetFicheDefRef(), GetFicheJrn(), getFicheName(), getFicheNameById(), getFicheNameCode(), GetFirstJrnIdForJrnType(), GetFormName(), GetFormulaValue(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), GetGrpt(), GetInternal(), GetJnt(), GetJrnName(), GetJrnProp(), GetJrnProperty(), GetLogin(), GetModeleId(), jrn::GetName(), fiche::getName(), GetNextFiche(), GetNumberLine(), GetPeriode(), getPeriodeFromDate(), getPeriodeFromMonth(), GetPosteLibelle(), cl_user::GetPreferences(), GetPriv(), GetQuantity(), GetRappel(), rapport::GetRow(), poste::GetRow(), jrn::GetRow(), Balance::GetRow(), jrn::GetRowSimple(), GetSequence(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), GetTvaPoste(), GetTvaRate(), GetUid(), GetUserProperty(), GetVersion(), html_page_start(), ImpHtml(), fiche::insert(), cl_user::insert_default_global_pref(), InsertJrn(), InsertJrnx(), InsertModeleLine(), InsertRapt(), InsertStockGoods(), isCentralize(), IsFicheOfJrn(), isValid(), ListJrn(), parm_code::LoadAll(), fiche_def_ref::LoadAll(), MenuJrn(), Invoice::myList(), Document_modele::myList(), action::myList(), new_fiche(), NextSequence(), Own::Own(), PeriodeClosed(), PosteForm(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), Remove(), fiche::remove(), Rollback(), parm_code::Save(), Invoice::Save(), fiche_def_ref::Save(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), SaveModeleName(), action::SaveStage2(), SetInternalCode(), cl_user::SetPeriode(), ShowDevise(), ShowDossier(), ShowMenuComptaForm(), ShowMenuFiche(), ShowMenuJrn(), ShowMenuJrnUser(), ShowPeriode(), StartSql(), fiche::strAttribut(), SyncRight(), TransferCSV(), fiche::update(), cl_user::update_global_pref(), UpdateComment(), UpdateCSV(), UpdateFiche(), UpdateForm(), Document::Upload(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFiche(), ViewFicheDetail(), ViewJrn(), and ViewStock(). +Referenced by AddFiche(), AddForm(), AddModele(), AlterSequence(), fiche::blank(), Centralise(), cl_user::CheckAction(), CheckAction(), CheckJrn(), Commit(), action::Confirm(), fiche::CountByDef(), CountSql(), Document_modele::Delete(), DeleteForm(), DeleteRapt(), fiche::Display(), action::Display(), DisplayDetailModele(), EncodeFiche(), EndSql(), ExecuteScript(), ExisteJnt(), ExistePriv(), FormPeriode(), FormPeriodeMult(), Document::Generate(), parm_code::Get(), Invoice::Get(), fiche_def_ref::Get(), fiche_def::Get(), Document_type::get(), Document_modele::Get(), Document::Get(), Get_attr_def(), Get_attr_min(), Get_fiche_def_ref(), fiche_def::GetAll(), GetAllUser(), GetAmount(), GetArray(), fiche::getAttribut(), fiche_def::GetAttribut(), GetAvailableFolder(), GetBaseFiche(), GetBaseFicheDefault(), fiche::GetByDef(), fiche::GetByQCode(), fiche::GetByType(), GetClass(), GetConcerned(), GetCreateAccount(), GetData(), GetDataForm(), GetDataGrpt(), GetDataJrn(), GetDataJrnJrId(), GetDataJrnPdf(), GetDataModele(), GetDataPoste(), GetDbId(), jrn::GetDefLine(), GetDossierName(), GetExercice(), getFicheAttribut(), GetFicheDef(), getFicheDefName(), GetFicheDefRef(), GetFicheJrn(), getFicheName(), getFicheNameById(), getFicheNameCode(), GetFirstJrnIdForJrnType(), GetFormName(), GetFormulaValue(), Customer::GetFromPoste(), cl_user::GetGlobalPref(), GetGrpt(), GetInternal(), GetJnt(), GetJrnName(), GetJrnProp(), GetJrnProperty(), GetLogin(), GetModeleId(), jrn::GetName(), fiche::getName(), GetNextFiche(), GetNumberLine(), GetPeriode(), getPeriodeFromDate(), getPeriodeFromMonth(), GetPosteLibelle(), cl_user::GetPreferences(), GetPriv(), GetQuantity(), GetRappel(), rapport::GetRow(), poste::GetRow(), jrn::GetRow(), Balance::GetRow(), jrn::GetRowSimple(), GetSequence(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), GetTvaPoste(), GetTvaRate(), GetUid(), GetUserProperty(), GetVersion(), html_page_start(), ImpHtml(), fiche::insert(), cl_user::insert_default_global_pref(), InsertJrn(), InsertJrnx(), InsertModeleLine(), InsertRapt(), InsertStockGoods(), isCentralize(), IsFicheOfJrn(), isValid(), ListJrn(), parm_code::LoadAll(), fiche_def_ref::LoadAll(), MenuJrn(), Document::MoveDocumentPj(), Invoice::myList(), Document_modele::myList(), action::myList(), new_fiche(), NextSequence(), Own::Own(), PeriodeClosed(), PosteForm(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), Remove(), fiche::remove(), Document::remove(), Rollback(), parm_code::Save(), Invoice::Save(), fiche_def_ref::Save(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), SaveModeleName(), action::SaveStage2(), SetInternalCode(), cl_user::SetPeriode(), ShowDevise(), ShowDossier(), ShowMenuComptaForm(), ShowMenuFiche(), ShowMenuJrn(), ShowMenuJrnUser(), ShowPeriode(), StartSql(), fiche::strAttribut(), SyncRight(), TransferCSV(), fiche::update(), cl_user::update_global_pref(), UpdateComment(), UpdateCSV(), UpdateFiche(), UpdateForm(), Document::Upload(), Customer::VatListing(), VerifImport(), ViewDetailStock(), ViewFiche(), ViewFicheDetail(), ViewJrn(), and ViewStock().

    @@ -784,7 +784,7 @@ Definition at line 242

    References $Res, $seq, and ExecSql().

    -Referenced by AddFiche(), AddForm(), AddModele(), InsertJrn(), InsertJrnx(), Document::SaveGenerated(), and action::SaveStage2(). +Referenced by AddFiche(), AddForm(), AddModele(), InsertJrn(), InsertJrnx(), Document::SaveGenerated(), and action::SaveStage2().

    @@ -915,7 +915,7 @@ Definition at line 251

    References $Res, $seq, and ExecSql().

    -Referenced by Document::Generate(), fiche::insert(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Document_modele::Save(), SetInternalCode(), and TransferCSV(). +Referenced by Document::Generate(), fiche::insert(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Document_modele::Save(), SetInternalCode(), and TransferCSV().

    @@ -949,7 +949,7 @@ Definition at line 266

    References $Res, and ExecSql().

    -Referenced by ExecuteScript(), RecordFin(), RecordInvoice(), RecordSell(), Invoice::Save(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), TransferCSV(), and Document::Upload(). +Referenced by ExecuteScript(), RecordFin(), RecordInvoice(), RecordSell(), Invoice::Save(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), TransferCSV(), and Document::Upload().

    @@ -1001,7 +1001,7 @@ Definition at line 368

    References $old_oid, $r, $ret, echo_debug(), echo_error(), ExecSql(), exit, name, and Rollback().

    -Referenced by RecordInvoice(), and RecordSell(). +Referenced by RecordInvoice(), and RecordSell().

    @@ -1093,7 +1093,7 @@ Definition at line 257

    References $Res, and ExecSql().

    -Referenced by Centralise(), Document_modele::Delete(), Document::Generate(), Invoice::Get(), Document_modele::Get(), Document::Get(), ImportCSV(), fiche::insert(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Invoice::Save(), Document_modele::Save(), Document::SaveGenerated(), TransferCSV(), and Document::Upload(). +Referenced by Centralise(), Document_modele::Delete(), Document::Generate(), Invoice::Get(), Document_modele::Get(), Document::Get(), ImportCSV(), fiche::insert(), RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), Invoice::Save(), Document_modele::Save(), Document::SaveGenerated(), TransferCSV(), and Document::Upload().

    @@ -1145,7 +1145,7 @@ Definition at line 289 References $cn, $priv, $Res, $right, $sql, DbConnect(), ExecSql(), and GetPriv(). -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/pref_8inc_8php-source.html b/doc/developper/html/pref_8inc_8php-source.html index 78b1a9545..aadf26dca 100644 --- a/doc/developper/html/pref_8inc_8php-source.html +++ b/doc/developper/html/pref_8inc_8php-source.html @@ -149,7 +149,7 @@ 00140 00141 echo "</DIV>"; 00142 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/pref_8inc_8php.html b/doc/developper/html/pref_8inc_8php.html index ea07fafbb..1873d74ad 100644 --- a/doc/developper/html/pref_8inc_8php.html +++ b/doc/developper/html/pref_8inc_8php.html @@ -222,7 +222,7 @@ Definition at line 45 Referenced by DefModele(), EncodeModele(), FormAchView(), Invoice::FormAdd(), FormVenteView(), RecordJrn(), ShowDevise(), ShowFormTransfert(), ShowPeriode(), u_ShowMenuRecherche(), VerifImport(), ViewFiche(), and ViewImp(). -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/preference_8php-source.html b/doc/developper/html/preference_8php-source.html index 63e2a1b6d..cb9008a63 100644 --- a/doc/developper/html/preference_8php-source.html +++ b/doc/developper/html/preference_8php-source.html @@ -208,7 +208,7 @@ 00276 } 00277 00278 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/preference_8php.html b/doc/developper/html/preference_8php.html index 3f215f054..0de7e85ec 100644 --- a/doc/developper/html/preference_8php.html +++ b/doc/developper/html/preference_8php.html @@ -249,7 +249,7 @@ Definition at line 122 References $Res, $sql, and ExecSql().

    -Referenced by FormAchInput(), FormFin(), FormODS(), FormVenInput(), RecordJrn(), VerifData(), and VerifyOperationDate(). +Referenced by FormAchInput(), FormFin(), FormODS(), FormVenInput(), RecordJrn(), VerifData(), and VerifyOperationDate().

    @@ -301,7 +301,7 @@ Definition at line 143 References $l_line, $Res, $sql, and ExecSql().

    -Referenced by VerifData(), and VerifyOperationDate(). +Referenced by VerifData(), and VerifyOperationDate().

    @@ -384,7 +384,7 @@ Definition at line 221$l_line, $Max, $Res, echo_debug(), ExecSql(), and METHOD. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/print__balance_8php-source.html b/doc/developper/html/print__balance_8php-source.html index 3c3791607..61223f2b7 100644 --- a/doc/developper/html/print__balance_8php-source.html +++ b/doc/developper/html/print__balance_8php-source.html @@ -87,7 +87,7 @@ 00090 00091 00092 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/print__balance_8php.html b/doc/developper/html/print__balance_8php.html index 517863761..2f667cc15 100644 --- a/doc/developper/html/print__balance_8php.html +++ b/doc/developper/html/print__balance_8php.html @@ -304,7 +304,7 @@ Definition at line 4 Definition at line 52 of file print_balance.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/print__invoice_8php-source.html b/doc/developper/html/print__invoice_8php-source.html index aab72417a..050d67a38 100644 --- a/doc/developper/html/print__invoice_8php-source.html +++ b/doc/developper/html/print__invoice_8php-source.html @@ -142,7 +142,7 @@ 00147 00148 00149 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/print__invoice_8php.html b/doc/developper/html/print__invoice_8php.html index 1655ce3a4..3c12f80ae 100644 --- a/doc/developper/html/print__invoice_8php.html +++ b/doc/developper/html/print__invoice_8php.html @@ -142,7 +142,7 @@ Definition at line 1

    Definition at line 78 of file print_invoice.php.

    -Referenced by ComputeTotalVat(), ComputeVat(), FormAchView(), FormVenteView(), RecordInvoice(), and RecordSell(). +Referenced by ComputeTotalVat(), ComputeVat(), FormAchView(), FormVenteView(), RecordInvoice(), and RecordSell().

    @@ -169,7 +169,7 @@ Referenced by ComputeT

    Definition at line 51 of file print_invoice.php.

    -Referenced by RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), and Customer::VatListing(). +Referenced by RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), and Customer::VatListing().

    @@ -348,7 +348,7 @@ Definition at line 1

    Definition at line 79 of file print_invoice.php.

    -Referenced by RecordInvoice(). +Referenced by RecordInvoice().

    @@ -405,7 +405,7 @@ Definition at line 6 Referenced by Document::Replace(), and Customer::VatListing(). -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/priv__user_8php-source.html b/doc/developper/html/priv__user_8php-source.html index f25ed34da..c42edd810 100644 --- a/doc/developper/html/priv__user_8php-source.html +++ b/doc/developper/html/priv__user_8php-source.html @@ -248,7 +248,7 @@ 00242 ?> 00243 00244 -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/priv__user_8php.html b/doc/developper/html/priv__user_8php.html index fc4ffb92f..ba20b73d2 100644 --- a/doc/developper/html/priv__user_8php.html +++ b/doc/developper/html/priv__user_8php.html @@ -404,7 +404,7 @@ Definition at line 3338 of file priv_user.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/readme_8php-source.html b/doc/developper/html/readme_8php-source.html index 519a76a29..49151ac69 100644 --- a/doc/developper/html/readme_8php-source.html +++ b/doc/developper/html/readme_8php-source.html @@ -303,7 +303,7 @@ 00294 $pdf->ezStream(); 00295 } 00296 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/readme_8php.html b/doc/developper/html/readme_8php.html index bc62f0d16..6519750f5 100644 --- a/doc/developper/html/readme_8php.html +++ b/doc/developper/html/readme_8php.html @@ -777,7 +777,7 @@ Definition at line 200 o Referenced by Document::Replace(). -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/recherche_8php-source.html b/doc/developper/html/recherche_8php-source.html index 70849704e..6cfbb668a 100644 --- a/doc/developper/html/recherche_8php-source.html +++ b/doc/developper/html/recherche_8php-source.html @@ -80,7 +80,7 @@ 00077 echo '</DIV>'; 00078 00079 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/recherche_8php.html b/doc/developper/html/recherche_8php.html index fa8c4997f..049bb2977 100644 --- a/doc/developper/html/recherche_8php.html +++ b/doc/developper/html/recherche_8php.html @@ -185,7 +185,7 @@ Definition at line 48 Definition at line 42 of file recherche.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/sec__pdf_8php-source.html b/doc/developper/html/sec__pdf_8php-source.html index e93019108..db5a56ec4 100644 --- a/doc/developper/html/sec__pdf_8php-source.html +++ b/doc/developper/html/sec__pdf_8php-source.html @@ -131,7 +131,7 @@ 00131 $pdf->ezStream(); 00132 00133 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/sec__pdf_8php.html b/doc/developper/html/sec__pdf_8php.html index 38454e606..c376bf1d7 100644 --- a/doc/developper/html/sec__pdf_8php.html +++ b/doc/developper/html/sec__pdf_8php.html @@ -296,7 +296,7 @@ Definition at line 43 Definition at line 49 of file sec_pdf.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/send__jrn__pdf_8php-source.html b/doc/developper/html/send__jrn__pdf_8php-source.html index 5e4de9e6f..6c52dce76 100644 --- a/doc/developper/html/send__jrn__pdf_8php-source.html +++ b/doc/developper/html/send__jrn__pdf_8php-source.html @@ -155,7 +155,7 @@ 00150 $pdf->ezStream(); 00151 00152 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/send__jrn__pdf_8php.html b/doc/developper/html/send__jrn__pdf_8php.html index abece17d5..43a48f855 100644 --- a/doc/developper/html/send__jrn__pdf_8php.html +++ b/doc/developper/html/send__jrn__pdf_8php.html @@ -507,7 +507,7 @@ Definition at line 8 Definition at line 122 of file send_jrn_pdf.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/send__poste__pdf_8php-source.html b/doc/developper/html/send__poste__pdf_8php-source.html index 4112479ac..c18066f01 100644 --- a/doc/developper/html/send__poste__pdf_8php-source.html +++ b/doc/developper/html/send__poste__pdf_8php-source.html @@ -100,7 +100,7 @@ 00095 $pdf->ezStream(); 00096 00097 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/send__poste__pdf_8php.html b/doc/developper/html/send__poste__pdf_8php.html index d068b43fa..db75413e1 100644 --- a/doc/developper/html/send__poste__pdf_8php.html +++ b/doc/developper/html/send__poste__pdf_8php.html @@ -192,7 +192,7 @@ Definition at line Definition at line 44 of file send_poste_pdf.php.

    -Referenced by form_verify_input(), ImpHtml(), parm_code::Input(), RecordFin(), RecordInvoice(), RecordJrn(), and RecordSell(). +Referenced by form_verify_input(), ImpHtml(), parm_code::Input(), RecordFin(), RecordInvoice(), RecordJrn(), and RecordSell().

    @@ -270,7 +270,7 @@ Definition at line 75 of file send_poste_pdf.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/setup_8php-source.html b/doc/developper/html/setup_8php-source.html index 12bfa7506..b04cabdcd 100644 --- a/doc/developper/html/setup_8php-source.html +++ b/doc/developper/html/setup_8php-source.html @@ -517,7 +517,7 @@ 00508 } 00509 if (DEBUG=='false') ob_end_clean(); 00510 echo "<h2 class=\"info\">Voilà tout est installé ;-)</h2>"; -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/setup_8php.html b/doc/developper/html/setup_8php.html index 4ae58eafd..cea72c409 100644 --- a/doc/developper/html/setup_8php.html +++ b/doc/developper/html/setup_8php.html @@ -224,7 +224,7 @@ Referenced by ViewJrn().

    Definition at line 255 of file setup.php.

    -Referenced by AddFiche(), ComputeTotalVat(), FormFin(), FormODS(), and fiche::getAttribut(). +Referenced by AddFiche(), ComputeTotalVat(), FormFin(), FormODS(), and fiche::getAttribut().

    @@ -328,7 +328,7 @@ Referenced by DisplayDet

    Definition at line 374 of file setup.php.

    -Referenced by EncodeFiche(), FormPeriode(), FormPeriodeMult(), Get_fiche_def_ref(), fiche::getAttribut(), GetDataForm(), GetDataGrpt(), GetDataJrn(), GetDataJrnPdf(), GetDataModele(), GetDataPoste(), GetFicheJrn(), cl_user::GetGlobalPref(), GetJrnName(), jrn::GetName(), GetNextFiche(), rapport::GetRow(), poste::GetRow(), jrn::GetRow(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), ImpHtml(), IsFicheOfJrn(), ListJrn(), MenuJrn(), new_fiche(), PosteForm(), ShowDevise(), ShowDossier(), ShowMenuComptaForm(), ShowMenuFiche(), ShowMenuJrnUser(), ShowPeriode(), TransferCSV(), and ViewFiche(). +Referenced by EncodeFiche(), FormPeriode(), FormPeriodeMult(), Get_fiche_def_ref(), fiche::getAttribut(), GetDataForm(), GetDataGrpt(), GetDataJrn(), GetDataJrnPdf(), GetDataModele(), GetDataPoste(), GetFicheJrn(), cl_user::GetGlobalPref(), GetJrnName(), jrn::GetName(), GetNextFiche(), rapport::GetRow(), poste::GetRow(), jrn::GetRow(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), ImpHtml(), IsFicheOfJrn(), ListJrn(), MenuJrn(), new_fiche(), PosteForm(), ShowDevise(), ShowDossier(), ShowMenuComptaForm(), ShowMenuFiche(), ShowMenuJrnUser(), ShowPeriode(), TransferCSV(), and ViewFiche().

    @@ -508,7 +508,7 @@ Definition at line 238 of Definition at line 355 of file setup.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__document_8php-source.html b/doc/developper/html/show__document_8php-source.html index 0e1a7acef..a35040339 100644 --- a/doc/developper/html/show__document_8php-source.html +++ b/doc/developper/html/show__document_8php-source.html @@ -41,7 +41,7 @@ 00038 // retrieve the document 00039 $doc=new Document($cn,$_REQUEST['d_id']); 00040 $doc->Get(); -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__document_8php.html b/doc/developper/html/show__document_8php.html index fc01600df..951a10cc0 100644 --- a/doc/developper/html/show__document_8php.html +++ b/doc/developper/html/show__document_8php.html @@ -102,7 +102,7 @@ Definition at line 3 Definition at line 34 of file show_document.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__document__modele_8php-source.html b/doc/developper/html/show__document__modele_8php-source.html index 8556edca0..09463d862 100644 --- a/doc/developper/html/show__document__modele_8php-source.html +++ b/doc/developper/html/show__document__modele_8php-source.html @@ -69,7 +69,7 @@ 00066 unlink ($tmp); 00067 00068 Commit($cn); -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__document__modele_8php.html b/doc/developper/html/show__document__modele_8php.html index ff2223977..14ec1da0c 100644 --- a/doc/developper/html/show__document__modele_8php.html +++ b/doc/developper/html/show__document__modele_8php.html @@ -216,7 +216,7 @@ Definition at line 43 of file show_document_modele.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__pj_8php-source.html b/doc/developper/html/show__pj_8php-source.html index 04c15aa28..fc00dd941 100644 --- a/doc/developper/html/show__pj_8php-source.html +++ b/doc/developper/html/show__pj_8php-source.html @@ -84,7 +84,7 @@ 00075 unlink ($tmp); 00076 00077 Commit($cn); -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__pj_8php.html b/doc/developper/html/show__pj_8php.html index e4282d719..eba54b7df 100644 --- a/doc/developper/html/show__pj_8php.html +++ b/doc/developper/html/show__pj_8php.html @@ -313,7 +313,7 @@ Definition at line 37 Definition at line 43 of file show_pj.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__tva_8php-source.html b/doc/developper/html/show__tva_8php-source.html index c26d64661..95f8eec51 100644 --- a/doc/developper/html/show__tva_8php-source.html +++ b/doc/developper/html/show__tva_8php-source.html @@ -72,7 +72,7 @@ 00067 <? 00068 html_page_stop(); 00069 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/show__tva_8php.html b/doc/developper/html/show__tva_8php.html index 78ffcbfe4..e1766c110 100644 --- a/doc/developper/html/show__tva_8php.html +++ b/doc/developper/html/show__tva_8php.html @@ -239,7 +239,7 @@ Definition at line 30 Definition at line 38 of file show_tva.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/stock_8php-source.html b/doc/developper/html/stock_8php-source.html index 543e31ff4..332031d7f 100644 --- a/doc/developper/html/stock_8php-source.html +++ b/doc/developper/html/stock_8php-source.html @@ -180,7 +180,7 @@ 00175 echo '</div>'; 00176 html_page_stop(); 00177 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/stock_8php.html b/doc/developper/html/stock_8php.html index bfe9cd321..b3b415f43 100644 --- a/doc/developper/html/stock_8php.html +++ b/doc/developper/html/stock_8php.html @@ -212,7 +212,7 @@ Definition at line 153 of Definition at line 43 of file stock.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/stock__inc_8php-source.html b/doc/developper/html/stock__inc_8php-source.html index 44517155c..d2a17636a 100644 --- a/doc/developper/html/stock__inc_8php-source.html +++ b/doc/developper/html/stock__inc_8php-source.html @@ -248,7 +248,7 @@ 00288 return $value['result']; 00289 00290 } -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/stock__inc_8php.html b/doc/developper/html/stock__inc_8php.html index 8a277c86b..c0ad06257 100644 --- a/doc/developper/html/stock__inc_8php.html +++ b/doc/developper/html/stock__inc_8php.html @@ -132,7 +132,7 @@ return an array of f_id and f_name

    Definition at line 111 of file stock_inc.php.

    -References $a, $i, $r, $Res, $result, $sql, ExecSql(), and f_id. +References $a, $i, $r, $Res, $result, $sql, ExecSql(), and f_id.

    Referenced by ViewDetailStock(), and ViewStock(). @@ -303,7 +303,7 @@ Definition at line 35$diff, $r, $Res, $result, $sql, ExecSql(), getFicheNameCode(), and GetQuantity(). -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/t_8php-source.html b/doc/developper/html/t_8php-source.html deleted file mode 100644 index cceb2b601..000000000 --- a/doc/developper/html/t_8php-source.html +++ /dev/null @@ -1,25 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/t.php Source File - - - - - -

    t.php

    Go to the documentation of this file.
    00001 <?
    -00002 include_once ("class_parm_code.php");
    -00003 include_once("postgres.php");
    -00004 include_once("ac_common.php");
    -00005 include_once("debug.php");
    -00006 $cn=DbConnect(1);
    -00007 $a=new parm_code($cn);
    -00008 
    -00009 $p=$a->LoadAll();
    -00010 var_dump($p);
    -00011 ?>
    -

    Generated on Wed May 31 21:39:15 2006 for phpcompta by  - -doxygen 1.4.4
    - - diff --git a/doc/developper/html/t_8php.html b/doc/developper/html/t_8php.html deleted file mode 100644 index ce833cce0..000000000 --- a/doc/developper/html/t_8php.html +++ /dev/null @@ -1,102 +0,0 @@ - - -phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/t.php File Reference - - - - - -

    t.php File Reference

    -

    -Go to the source code of this file. - - - - - - - - -

    Variables

     $cn = DbConnect(1)
     $a = new parm_code($cn)
     $p = $a->LoadAll()
    -


    Variable Documentation

    -

    - - - - -
    - - - - -
    $a = new parm_code($cn)
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 7 of file t.php.

    -

    - - - - -
    - - - - -
    $cn = DbConnect(1)
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 6 of file t.php.

    -

    - - - - -
    - - - - -
    $p = $a->LoadAll()
    -
    - - - - - -
    -   - - -

    - -

    -Definition at line 9 of file t.php.

    -


    Generated on Wed May 31 21:39:16 2006 for phpcompta by  - -doxygen 1.4.4
    - - diff --git a/doc/developper/html/test_8php-source.html b/doc/developper/html/test_8php-source.html index 328f2feb3..25238cd1e 100644 --- a/doc/developper/html/test_8php-source.html +++ b/doc/developper/html/test_8php-source.html @@ -75,7 +75,7 @@ 00066 echo "<h2 class=\"info\"> Congratulation : Test successfull</h2>"; 00067 00068 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/test_8php.html b/doc/developper/html/test_8php.html index dbb64676c..27bcea26b 100644 --- a/doc/developper/html/test_8php.html +++ b/doc/developper/html/test_8php.html @@ -68,7 +68,7 @@ Definition at line 37 of f Definition at line 45 of file test.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/test__smarty_8php-source.html b/doc/developper/html/test__smarty_8php-source.html index e972dcc55..ec0795fe4 100644 --- a/doc/developper/html/test__smarty_8php-source.html +++ b/doc/developper/html/test__smarty_8php-source.html @@ -22,7 +22,7 @@ 00013 00014 ?> 00015 -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/test__smarty_8php.html b/doc/developper/html/test__smarty_8php.html index fd9363b6a..a777e16b0 100644 --- a/doc/developper/html/test__smarty_8php.html +++ b/doc/developper/html/test__smarty_8php.html @@ -149,7 +149,7 @@ Definition at line 96 of file test_smarty.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/todo.html b/doc/developper/html/todo.html index 1f5529439..07654fd7d 100644 --- a/doc/developper/html/todo.html +++ b/doc/developper/html/todo.html @@ -108,7 +108,7 @@
    clean $p_check

    -
    Generated on Fri Jun 23 00:28:25 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:11 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/tva_8inc_8php-source.html b/doc/developper/html/tva_8inc_8php-source.html index a31f15097..affe25550 100644 --- a/doc/developper/html/tva_8inc_8php-source.html +++ b/doc/developper/html/tva_8inc_8php-source.html @@ -256,7 +256,7 @@ 00256 } 00257 00258 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/tva_8inc_8php.html b/doc/developper/html/tva_8inc_8php.html index ec65e8e45..fc65c350b 100644 --- a/doc/developper/html/tva_8inc_8php.html +++ b/doc/developper/html/tva_8inc_8php.html @@ -258,7 +258,7 @@ Definition at line 39

    Definition at line 36 of file tva.inc.php.

    -Referenced by ComputeTotalVat(), and ComputeVat(). +Referenced by ComputeTotalVat(), and ComputeVat().

    @@ -464,7 +464,7 @@ Definition at line 133

    Definition at line 212 of file tva.inc.php.

    -Referenced by Cezpdf::Cezpdf(), Creport::dots(), EncodeForm(), Cezpdf::ezPRVTaddPageNumbers(), Cezpdf::ezPrvtGetTextWidth(), Cezpdf::ezPrvtTableColumnHeadings(), Cezpdf::ezStartPageNumbers(), Cezpdf::ezText(), jrn_navigation_bar(), ShowFormTransfert(), u_ShowMenuRecherche(), VerifImport(), and widget::widget(). +Referenced by Cezpdf::Cezpdf(), Creport::dots(), EncodeForm(), Cezpdf::ezPRVTaddPageNumbers(), Cezpdf::ezPrvtGetTextWidth(), Cezpdf::ezPrvtTableColumnHeadings(), Cezpdf::ezStartPageNumbers(), Cezpdf::ezText(), jrn_navigation_bar(), ShowFormTransfert(), u_ShowMenuRecherche(), VerifImport(), and widget::widget().

    @@ -519,7 +519,7 @@ Definition at line 215 Referenced by Cezpdf::ezColumnsStart(), Cezpdf::ezImage(), Cezpdf::ezNewPage(), Cezpdf::ezTable(), Cpdf::filledRectangle(), Cpdf::rectangle(), Cpdf::selectFont(), Cpdf::setLineStyle(), ShowMenuCompta(), ShowMenuParam(), VerifImport(), and widget::widget(). -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ach_8php-source.html b/doc/developper/html/user__action__ach_8php-source.html index 23ec62eea..058d4f6e7 100644 --- a/doc/developper/html/user__action__ach_8php-source.html +++ b/doc/developper/html/user__action__ach_8php-source.html @@ -55,7 +55,7 @@ 00049 $submit='<INPUT TYPE="SUBMIT" NAME="add_item" VALUE="Ajout article"> 00050 <INPUT TYPE="SUBMIT" NAME="view_invoice" VALUE="Sauver" ID="SubmitButton">'; 00051 $jrn=new jrn($cn, $_GET['p_jrn']); -00052 $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false,$jrn->getDefLine('deb')); +00052 $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false,$jrn->getDefLine('cred')); 00053 echo '<div class="u_redcontent">'; 00054 echo $r; 00055 echo "<div><h4>On-line calculator</h4>".JS_CALC_LINE."<div>"; @@ -321,7 +321,7 @@ 00315 } 00316 include("user_update.php"); 00317 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ach_8php.html b/doc/developper/html/user__action__ach_8php.html index 7221a6b1c..f83331256 100644 --- a/doc/developper/html/user__action__ach_8php.html +++ b/doc/developper/html/user__action__ach_8php.html @@ -18,7 +18,7 @@  exit$r = FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false,$jrn->getDefLine('deb')) + $r = FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false,$jrn->getDefLine('cred'))  return @@ -323,7 +323,7 @@ Definition at line - +
    $r = FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false,$jrn->getDefLine('deb')) $r = FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false,$jrn->getDefLine('cred'))
    @@ -341,7 +341,7 @@ Definition at line
    52 of file user_action_ach.php.

    -Referenced by Document::a_ref(), fiche::blank(), ChangeStock(), cl_user::Check(), ComputeTotalVat(), action::Confirm(), Document_modele::Delete(), parm_code::Display(), fiche_def_ref::Display(), fiche::Display(), fiche_def::Display(), action::Display(), Document_modele::form(), FormAchInput(), FormAchView(), Invoice::FormAdd(), FormFin(), FormODS(), FormVenInput(), FormVenteView(), fiche_def_ref::Get(), Document_type::get(), GetArray(), fiche::GetByQCode(), GetConcerned(), jrn::GetDefLine(), GetDossierName(), getFicheNameCode(), GetGrpt(), poste::GetName(), fiche::getName(), Balance::GetRow(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), GetTvaRate(), parm_code::Input(), fiche_def_ref::Input(), InsertStockGoods(), widget::IOValue(), jrn_navigation_bar(), ListJrn(), parm_code::LoadAll(), make_array(), Document_modele::myList(), action::myList(), new_fiche(), RecordInvoice(), RecordSell(), Document::Replace(), Invoice::Save(), Document_modele::Save(), save_upload_document(), action::SaveStage2(), ShowMenuAdvanced(), ShowMenuCompta(), Customer::Summary(), contact::Summary(), TransferCSV(), u_ShowMenuRecherche(), UpdateJrn(), Document::Upload(), ViewDetailStock(), and ViewStock(). +Referenced by Document::a_ref(), fiche::blank(), ChangeStock(), cl_user::Check(), ComputeTotalVat(), action::Confirm(), Document_modele::Delete(), parm_code::Display(), fiche_def_ref::Display(), fiche::Display(), fiche_def::Display(), action::Display(), Document_modele::form(), FormAchInput(), FormAchView(), Invoice::FormAdd(), FormFin(), FormODS(), FormVenInput(), FormVenteView(), fiche_def_ref::Get(), Document_type::get(), GetArray(), fiche::GetByQCode(), GetConcerned(), jrn::GetDefLine(), GetDossierName(), getFicheNameCode(), GetGrpt(), poste::GetName(), fiche::getName(), Balance::GetRow(), GetSolde(), poste::GetSolde(), poste::GetSoldeDetail(), GetTvaRate(), parm_code::Input(), fiche_def_ref::Input(), InsertStockGoods(), widget::IOValue(), jrn_navigation_bar(), ListJrn(), parm_code::LoadAll(), make_array(), Document_modele::myList(), action::myList(), new_fiche(), RecordInvoice(), RecordSell(), Document::Replace(), Invoice::Save(), Document_modele::Save(), save_upload_document(), action::SaveStage2(), ShowMenuAdvanced(), ShowMenuCompta(), Customer::Summary(), contact::Summary(), TransferCSV(), u_ShowMenuRecherche(), UpdateJrn(), Document::Upload(), ViewDetailStock(), and ViewStock().

    @@ -495,7 +495,7 @@ Definition at line 164 of file user_action_ach.php.

    -Referenced by GetAllUser(), ListJrn(), and ShowMenuJrnUser(). +Referenced by GetAllUser(), ListJrn(), and ShowMenuJrnUser().

    @@ -648,7 +648,7 @@ Definition at line 149 of file user_action_ach.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__fin_8php-source.html b/doc/developper/html/user__action__fin_8php-source.html index e4d0f8eb6..676dd272b 100644 --- a/doc/developper/html/user__action__fin_8php-source.html +++ b/doc/developper/html/user__action__fin_8php-source.html @@ -248,7 +248,7 @@ 00250 00251 00252 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__fin_8php.html b/doc/developper/html/user__action__fin_8php.html index 141787b5b..b6900c3a1 100644 --- a/doc/developper/html/user__action__fin_8php.html +++ b/doc/developper/html/user__action__fin_8php.html @@ -701,7 +701,7 @@ Definition at line 164 of file user_action_fin.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__gl_8php-source.html b/doc/developper/html/user__action__gl_8php-source.html index d07b35ca8..fd22678da 100644 --- a/doc/developper/html/user__action__gl_8php-source.html +++ b/doc/developper/html/user__action__gl_8php-source.html @@ -80,7 +80,7 @@ 00075 00076 ?> 00077 </div> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__gl_8php.html b/doc/developper/html/user__action__gl_8php.html index 4297e5b6d..9de099a3d 100644 --- a/doc/developper/html/user__action__gl_8php.html +++ b/doc/developper/html/user__action__gl_8php.html @@ -426,7 +426,7 @@ Definition at line 44 of file user_action_gl.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ods_8php-source.html b/doc/developper/html/user__action__ods_8php-source.html index 53f5b09c4..5b5896244 100644 --- a/doc/developper/html/user__action__ods_8php-source.html +++ b/doc/developper/html/user__action__ods_8php-source.html @@ -223,7 +223,7 @@ 00218 } 00219 include("user_update.php"); 00220 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ods_8php.html b/doc/developper/html/user__action__ods_8php.html index dc280b7b7..05042f874 100644 --- a/doc/developper/html/user__action__ods_8php.html +++ b/doc/developper/html/user__action__ods_8php.html @@ -588,7 +588,7 @@ Definition at line 160 of file user_action_ods.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ven_8php-source.html b/doc/developper/html/user__action__ven_8php-source.html index da093a207..51459c793 100644 --- a/doc/developper/html/user__action__ven_8php-source.html +++ b/doc/developper/html/user__action__ven_8php-source.html @@ -78,7 +78,7 @@ 00072 $jrn=new jrn($cn, $_GET['p_jrn']); 00073 echo_debug('user_action_ven.php',__LINE__,"Blank form"); 00074 // Show an empty form of invoice -00075 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),null,false,$jrn->GetDefLine('cred')); +00075 $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),null,false,$jrn->GetDefLine('deb')); 00076 echo '<div class="u_redcontent">'; 00077 echo $form; 00078 echo '</div>'; @@ -327,7 +327,7 @@ 00321 00322 include("user_update.php"); 00323 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__action__ven_8php.html b/doc/developper/html/user__action__ven_8php.html index 8cac379e6..74f7180c0 100644 --- a/doc/developper/html/user__action__ven_8php.html +++ b/doc/developper/html/user__action__ven_8php.html @@ -166,7 +166,7 @@ Definition at line 118 of file user_action_ven.php.

    -Referenced by parm_code::Input(), RecordInvoice(), and RecordSell(). +Referenced by parm_code::Input(), RecordInvoice(), and RecordSell().

    @@ -644,7 +644,7 @@ Definition at line 153 of file user_action_ven.php. -


    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__advanced_8php-source.html b/doc/developper/html/user__advanced_8php-source.html index 3b2a541ae..c7481275d 100644 --- a/doc/developper/html/user__advanced_8php-source.html +++ b/doc/developper/html/user__advanced_8php-source.html @@ -71,7 +71,7 @@ 00067 00068 html_page_stop(); 00069 ?> -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__advanced_8php.html b/doc/developper/html/user__advanced_8php.html index 5ef2da0b7..98e2065d5 100644 --- a/doc/developper/html/user__advanced_8php.html +++ b/doc/developper/html/user__advanced_8php.html @@ -76,7 +76,7 @@ Definition at line 3 Definition at line 36 of file user_advanced.php. -
    Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__common_8php-source.html b/doc/developper/html/user__common_8php-source.html index 105cfc686..c33be1cd9 100644 --- a/doc/developper/html/user__common_8php-source.html +++ b/doc/developper/html/user__common_8php-source.html @@ -29,675 +29,676 @@ 00020 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr 00021 00022 include_once("postgres.php"); -00039 function GetTvaRate($p_cn,$p_tva_id) { -00040 // $p_tva_id is an empty string, returns 0 -00041 if (strlen(trim($p_tva_id))==0) return 0; -00042 -00043 // Get vat info from the database -00044 $Res=ExecSql($p_cn,"select tva_id,tva_rate,tva_label from tva_rate where tva_id=".$p_tva_id); -00045 if (pg_NumRows($Res) == 0 ) return null; -00046 -00047 $r=pg_fetch_array($Res,0); -00048 return $r; -00049 -00050 } -00068 function ComputeTotalVat($p_cn, $a_fiche,$a_quant,$a_price,$ap_vat,$all=false ) { -00069 echo_debug('user_common.php',__LINE__,"ComputeTotalVat $a_fiche $a_quant $a_price"); -00070 foreach ( $a_fiche as $t=>$el) { -00071 echo_debug('user_common.php',__LINE__,"t $t e $el"); -00072 } -00073 $r=null; -00074 // foreach goods -00075 //-- -00076 foreach ( $a_fiche as $idx=>$element) { -00077 echo_debug ('user_common.php',__LINE__,"idx $idx element $element"); -00078 // if the card id is null or empty -00079 if ( strlen(trim($element))==0) continue; -00080 -00081 // Get the tva_id -00082 if ( $ap_vat != null and -00083 isNumber($ap_vat[$idx])== 1 and $ap_vat[$idx] != -1 ) -00084 { -00085 $tva_id=$ap_vat[$idx]; -00086 echo_debug('user_common',__LINE__,' tva_id is given'); -00087 echo_debug('user_common',__LINE__,$ap_vat); -00088 } -00089 else -00090 { -00091 $tva_id=GetFicheAttribut($p_cn,$element,ATTR_DEF_TVA); -00092 echo_debug('user_common',__LINE__,'retrieve tva_id'); -00093 } -00094 echo_debug('user_common',__LINE__,"tva id $tva_id"); -00095 if ( $tva_id == null ) continue; -00096 // for each fiche find the tva_rate and tva_id -00097 $a_vat=GetTvaRate($p_cn,$tva_id); -00098 -00099 // Get the attribut price of the card(fiche) -00100 if ( $a_vat != null and $a_vat['tva_id'] != "" ) -00101 { -00102 $flag=true; -00103 $a=$a_vat['tva_id']; -00104 // Compute vat for this item -00105 $vat_amount=round($a_price[$idx]*$a_vat['tva_rate']*$a_quant[$idx],2); -00106 -00107 // only the deductible vat -00108 if ( $all == false ) -00109 { -00110 //variable containing the nd part -00111 // used when a card has both special rule for vat -00112 $nd1=0; -00113 // if a part is not deductible then reduce vat_amount -00114 $nd=GetFicheAttribut($p_cn,$a_fiche[$idx],ATTR_DEF_TVA_NON_DEDUCTIBLE); -00115 if ( $nd != null && strlen(trim($nd)) != 0 && $nd != 0 ) -00116 { -00117 $nd_amount=round($a_price[$idx]*$a_vat['tva_rate']*$a_quant[$idx]*$nd,2); -00118 // problem with round -00119 $vat_amount=$vat_amount-$nd_amount; -00120 echo_debug('user_common.php',__LINE__, -00121 "A - TVA Attr fiche [$nd] nd amount [ $nd_amount ]". -00122 "vat amount [ $vat_amount]"); -00123 $flag=false; -00124 // save nd into nd1 -00125 $nd1=$nd; -00126 } -00127 // if a part is not deductible then reduce vat_amount -00128 $nd=GetFicheAttribut($p_cn,$a_fiche[$idx],ATTR_DEF_TVA_NON_DEDUCTIBLE_RECUP); -00129 if ( $nd != null && strlen(trim($nd)) != 0 && $nd != 0 ) -00130 { -00131 $nd_amount2=round($a_price[$idx]*$a_vat['tva_rate']*$a_quant[$idx]*$nd,2); -00132 -00133 $vat_amount=$vat_amount-$nd_amount2; -00134 // when using both vat, their sum cannot exceed 1, if = 1 then vat = 0 -00135 if ( ($nd+$nd1) == 1) -00136 $vat_amount=0; -00137 echo_debug('user_common.php',__LINE__, -00138 "B - TVA Attr fiche [$nd] nd amount [ $nd_amount2 ]". -00139 "vat amount [ $vat_amount]"); -00140 -00141 $flag=false; -00142 } -00143 } -00144 -00145 $r[$a]=isset ( $r[$a] )?$r[$a]+$vat_amount:$vat_amount; -00146 } -00147 -00148 } -00149 echo_debug('user_common.php',__LINE__," return ".var_export($r,true)); -00150 return $r; -00151 +00023 require_once("class_document.php"); +00040 function GetTvaRate($p_cn,$p_tva_id) { +00041 // $p_tva_id is an empty string, returns 0 +00042 if (strlen(trim($p_tva_id))==0) return 0; +00043 +00044 // Get vat info from the database +00045 $Res=ExecSql($p_cn,"select tva_id,tva_rate,tva_label from tva_rate where tva_id=".$p_tva_id); +00046 if (pg_NumRows($Res) == 0 ) return null; +00047 +00048 $r=pg_fetch_array($Res,0); +00049 return $r; +00050 +00051 } +00069 function ComputeTotalVat($p_cn, $a_fiche,$a_quant,$a_price,$ap_vat,$all=false ) { +00070 echo_debug('user_common.php',__LINE__,"ComputeTotalVat $a_fiche $a_quant $a_price"); +00071 foreach ( $a_fiche as $t=>$el) { +00072 echo_debug('user_common.php',__LINE__,"t $t e $el"); +00073 } +00074 $r=null; +00075 // foreach goods +00076 //-- +00077 foreach ( $a_fiche as $idx=>$element) { +00078 echo_debug ('user_common.php',__LINE__,"idx $idx element $element"); +00079 // if the card id is null or empty +00080 if ( strlen(trim($element))==0) continue; +00081 +00082 // Get the tva_id +00083 if ( $ap_vat != null and +00084 isNumber($ap_vat[$idx])== 1 and $ap_vat[$idx] != -1 ) +00085 { +00086 $tva_id=$ap_vat[$idx]; +00087 echo_debug('user_common',__LINE__,' tva_id is given'); +00088 echo_debug('user_common',__LINE__,$ap_vat); +00089 } +00090 else +00091 { +00092 $tva_id=GetFicheAttribut($p_cn,$element,ATTR_DEF_TVA); +00093 echo_debug('user_common',__LINE__,'retrieve tva_id'); +00094 } +00095 echo_debug('user_common',__LINE__,"tva id $tva_id"); +00096 if ( $tva_id == null ) continue; +00097 // for each fiche find the tva_rate and tva_id +00098 $a_vat=GetTvaRate($p_cn,$tva_id); +00099 +00100 // Get the attribut price of the card(fiche) +00101 if ( $a_vat != null and $a_vat['tva_id'] != "" ) +00102 { +00103 $flag=true; +00104 $a=$a_vat['tva_id']; +00105 // Compute vat for this item +00106 $vat_amount=round($a_price[$idx]*$a_vat['tva_rate']*$a_quant[$idx],2); +00107 +00108 // only the deductible vat +00109 if ( $all == false ) +00110 { +00111 //variable containing the nd part +00112 // used when a card has both special rule for vat +00113 $nd1=0; +00114 // if a part is not deductible then reduce vat_amount +00115 $nd=GetFicheAttribut($p_cn,$a_fiche[$idx],ATTR_DEF_TVA_NON_DEDUCTIBLE); +00116 if ( $nd != null && strlen(trim($nd)) != 0 && $nd != 0 ) +00117 { +00118 $nd_amount=round($a_price[$idx]*$a_vat['tva_rate']*$a_quant[$idx]*$nd,2); +00119 // problem with round +00120 $vat_amount=$vat_amount-$nd_amount; +00121 echo_debug('user_common.php',__LINE__, +00122 "A - TVA Attr fiche [$nd] nd amount [ $nd_amount ]". +00123 "vat amount [ $vat_amount]"); +00124 $flag=false; +00125 // save nd into nd1 +00126 $nd1=$nd; +00127 } +00128 // if a part is not deductible then reduce vat_amount +00129 $nd=GetFicheAttribut($p_cn,$a_fiche[$idx],ATTR_DEF_TVA_NON_DEDUCTIBLE_RECUP); +00130 if ( $nd != null && strlen(trim($nd)) != 0 && $nd != 0 ) +00131 { +00132 $nd_amount2=round($a_price[$idx]*$a_vat['tva_rate']*$a_quant[$idx]*$nd,2); +00133 +00134 $vat_amount=$vat_amount-$nd_amount2; +00135 // when using both vat, their sum cannot exceed 1, if = 1 then vat = 0 +00136 if ( ($nd+$nd1) == 1) +00137 $vat_amount=0; +00138 echo_debug('user_common.php',__LINE__, +00139 "B - TVA Attr fiche [$nd] nd amount [ $nd_amount2 ]". +00140 "vat amount [ $vat_amount]"); +00141 +00142 $flag=false; +00143 } +00144 } +00145 +00146 $r[$a]=isset ( $r[$a] )?$r[$a]+$vat_amount:$vat_amount; +00147 } +00148 +00149 } +00150 echo_debug('user_common.php',__LINE__," return ".var_export($r,true)); +00151 return $r; 00152 -00153 } -00154 -00171 function ComputeVat($p_cn, $p_fiche,$p_quant,$p_price,$p_vat ) -00172 { -00173 echo_debug('user_common.php',__LINE__,"function ComputeVat($p_cn,$p_fiche,$p_quant,$p_price,$p_vat )"); -00174 // Get the tva_id -00175 if ( $p_vat != null and isNumber($p_vat)== 1 and $p_vat != -1) -00176 $tva_id=$p_vat; -00177 else -00178 $tva_id=GetFicheAttribut($p_cn,$p_fiche,ATTR_DEF_TVA); -00179 -00180 echo_debug('user_common',__LINE__,"ComputeVat tva id = $tva_id"); -00181 if ( $tva_id == null ) return -1; -00182 // find the tva_rate and tva_id -00183 $a_vat=GetTvaRate($p_cn,$tva_id); -00184 $vat_amount=null; -00185 // Get the attribut price of the card(fiche) -00186 if ( $a_vat != null and $a_vat['tva_id'] != "" ) -00187 { -00188 $a=$a_vat['tva_id']; -00189 $vat_amount=$p_price*$a_vat['tva_rate']*$p_quant; -00190 } -00191 echo_debug('user_common',__LINE__,'return '.round($vat_amount,2)); -00192 return round($vat_amount,2); -00193 +00153 +00154 } +00155 +00172 function ComputeVat($p_cn, $p_fiche,$p_quant,$p_price,$p_vat ) +00173 { +00174 echo_debug('user_common.php',__LINE__,"function ComputeVat($p_cn,$p_fiche,$p_quant,$p_price,$p_vat )"); +00175 // Get the tva_id +00176 if ( $p_vat != null and isNumber($p_vat)== 1 and $p_vat != -1) +00177 $tva_id=$p_vat; +00178 else +00179 $tva_id=GetFicheAttribut($p_cn,$p_fiche,ATTR_DEF_TVA); +00180 +00181 echo_debug('user_common',__LINE__,"ComputeVat tva id = $tva_id"); +00182 if ( $tva_id == null ) return -1; +00183 // find the tva_rate and tva_id +00184 $a_vat=GetTvaRate($p_cn,$tva_id); +00185 $vat_amount=null; +00186 // Get the attribut price of the card(fiche) +00187 if ( $a_vat != null and $a_vat['tva_id'] != "" ) +00188 { +00189 $a=$a_vat['tva_id']; +00190 $vat_amount=$p_price*$a_vat['tva_rate']*$p_quant; +00191 } +00192 echo_debug('user_common',__LINE__,'return '.round($vat_amount,2)); +00193 return round($vat_amount,2); 00194 -00195 } -00196 +00195 +00196 } 00197 -00210 function GetTvaPoste($p_cn,$p_tva_id,$p_cred) { -00211 $Res=ExecSql($p_cn,"select tva_poste from tva_rate where tva_id=$p_tva_id"); -00212 if ( pg_NumRows($Res) == 0 ) return null; -00213 $a=pg_fetch_array($Res,0); -00214 list ($deb,$cred)=split(",",$a['tva_poste']); -00215 if ( $p_cred=='c' ) return $cred; -00216 if ($p_cred=='d') return $deb; -00217 echo_error ("Invalid $p_cred in GetTvaRate"); -00218 return null; -00219 } -00220 +00198 +00211 function GetTvaPoste($p_cn,$p_tva_id,$p_cred) { +00212 $Res=ExecSql($p_cn,"select tva_poste from tva_rate where tva_id=$p_tva_id"); +00213 if ( pg_NumRows($Res) == 0 ) return null; +00214 $a=pg_fetch_array($Res,0); +00215 list ($deb,$cred)=split(",",$a['tva_poste']); +00216 if ( $p_cred=='c' ) return $cred; +00217 if ($p_cred=='d') return $deb; +00218 echo_error ("Invalid $p_cred in GetTvaRate"); +00219 return null; +00220 } 00221 00222 00223 -00243 function InsertJrnx($p_cn,$p_type,$p_user,$p_jrn,$p_poste,$p_date,$p_amount,$p_grpt,$p_periode,$p_qcode="") -00244 { -00245 echo_debug ('user_common.php',__LINE__,"InsertJrnx param -00246 type = $p_type p_user $p_user -00247 p_date $p_date p_poste $p_poste -00248 p_amount $p_amount p_grpt = $p_grpt p_periode = $p_periode"); -00249 -00250 if ( $p_amount == 0) return true; -00251 -00252 $debit=($p_type=='c')?'false':'true'; -00253 -00254 // if negative value the operation is inversed -00255 if ( $p_amount < 0 ) { -00256 $debit=($debit=='false')?'true':'false'; -00257 } -00258 -00259 $sql=sprintf("select insert_jrnx -00260 ('%s',abs(%.2f),%d,%d,%d,%s,'%s',%d,'%s')", -00261 $p_date,round($p_amount,2),$p_poste,$p_grpt,$p_jrn,$debit,$p_user,$p_periode,$p_qcode); -00262 -00263 echo_debug('user_common.php',__LINE__,"InsertJrnx $sql"); -00264 $Res=ExecSql($p_cn,$sql); -00265 if ( $Res==false) return $Res; -00266 return GetSequence($p_cn,'s_jrn_op'); -00267 -00268 } -00287 function InsertJrn($p_cn,$p_date,$p_echeance,$p_jrn,$p_comment,$p_amount,$p_grpt,$p_periode) -00288 { -00289 echo_debug ('user_common.php',__LINE__,"InsertJrn param -00290 p_date $p_date p_poste $p_comment p_amount $p_amount p_grpt = $p_grpt p_periode = $p_periode p_echeance = $p_echeance -00291 comment = $p_comment"); -00292 $p_comment=FormatString($p_comment); -00293 -00294 if ( $p_echeance == "" or $p_echeance==null) { -00295 $p_echeance='null'; -00296 } else { -00297 $p_echeance=sprintf("to_date('%s','DD.MM.YYYY')",$p_echeance); -00298 } -00299 $sql=sprintf("insert into jrn (jr_def_id,jr_montant,jr_comment,jr_date,jr_ech,jr_grpt_id,jr_tech_per) -00300 values ( %d,abs(%.2f),'%s',to_date('%s','DD.MM.YYYY'),%s,%d,%d)", -00301 $p_jrn, round($p_amount,2),$p_comment,$p_date,$p_echeance,$p_grpt,$p_periode); -00302 echo_debug('user_common.php',__LINE__,"InsertJrn $sql"); -00303 $Res=ExecSql($p_cn,$sql); -00304 if ( $Res == false) return false; -00305 return GetSequence($p_cn,'s_jrn'); -00306 } -00321 function ListJrn($p_cn,$p_jrn,$p_where="",$p_array=null,$p_value=0,$p_paid=0) -00322 { -00323 -00324 include_once("central_inc.php"); -00325 $limit=($_SESSION['g_pagesize']!=-1)?" LIMIT ".$_SESSION['g_pagesize']:""; -00326 $offset=($_SESSION['g_pagesize']!=-1)?" OFFSET ".$p_value:""; -00327 if ( $p_array == null ) { -00328 -00329 //que fait cette requête??? -00330 -00331 $sql="select jr_id , -00332 jr_montant, -00333 jr_comment, -00334 jr_ech, -00335 to_char(jr_date,'DD.MM.YYYY') as jr_date, -00336 jr_date as jr_date_order, -00337 jr_grpt_id, -00338 jr_rapt, -00339 jr_internal, -00340 jrn_def_id, -00341 jrn_def_name, -00342 jrn_def_ech, -00343 jrn_def_type, -00344 jr_valid, -00345 jr_tech_per, -00346 jr_pj_name, -00347 p_closed -00348 from -00349 jrn -00350 join jrn_def on jrn_def_id=jr_def_id -00351 join parm_periode on p_id=jr_tech_per -00352 $p_where -00353 order by jr_date_order asc,jr_internal asc"; -00354 } -00355 if ( $p_array != null ) { -00356 // Construction Query -00357 foreach ( $p_array as $key=>$element) { -00358 ${"l_$key"}=$element; -00359 } -00360 $sql="select jr_id , -00361 jr_montant, -00362 jr_comment, -00363 jr_ech, -00364 to_char(jr_date,'DD.MM.YYYY') as jr_date, -00365 jr_date as jr_date_order, -00366 jr_grpt_id, -00367 jr_rapt, -00368 jr_internal, -00369 jrn_def_id, -00370 jrn_def_name, -00371 jrn_def_ech, -00372 jrn_def_type, -00373 jr_valid, -00374 jr_tech_per, -00375 jr_pj_name, -00376 p_closed -00377 from -00378 jrn join jrn_def on jrn_def_id=jr_def_id -00379 join parm_periode on p_id=jr_tech_per -00380 "; -00381 $jrn_sql=($p_jrn =0)?"1=1":"jrn_def_id=$p_jrn "; -00382 $l_and=" where "; -00383 // amount -00384 if ( ereg("^[0-9]+$", $l_s_montant) || ereg ("^[0-9]+\.[0-9]+$", $l_s_montant) ) -00385 { -00386 $sql.=$l_and." jr_montant $l_mont_sel $l_s_montant"; -00387 $l_and=" and "; -00388 } -00389 // date -00390 if ( isDate($l_date_start) != null ) -00391 { -00392 $sql.=$l_and." jr_date >= to_date('".$l_date_start."','DD.MM.YYYY')"; -00393 $l_and=" and "; -00394 } -00395 if ( isDate($l_date_end) != null ) { -00396 $sql.=$l_and." jr_date <= to_date('".$l_date_end."','DD.MM.YYYY')"; -00397 $l_and=" and "; -00398 } -00399 // comment -00400 $l_s_comment=FormatString($l_s_comment); -00401 if ( $l_s_comment != null ) -00402 { -00403 $sql.=$l_and." upper(jr_comment) like upper('%".$l_s_comment."%') "; -00404 $l_and=" and "; -00405 } -00406 // internal -00407 $l_s_internal=FormatString($l_s_internal); -00408 if ( $l_s_internal != null ) { -00409 $sql.=$l_and." jr_internal like ('%$l_s_internal%') "; -00410 $l_and=" and "; -00411 } -00412 // Poste -00413 $l_poste=FormatString($l_poste); -00414 if ( $l_poste != null ) { -00415 $sql.=$l_and." jr_grpt_id in (select j_grpt -00416 from jrnx where j_poste = $l_poste) "; -00417 $l_and=" and "; -00418 } -00419 // Quick Code -00420 if ( $l_qcode != null ) -00421 { -00422 $sql.=$l_and." jr_grpt_id in ( select j_grpt from -00423 jrnx where j_qcode = '$l_qcode')"; -00424 $l_and=" and "; -00425 } -00426 // if not admin check filter -00427 $User=new cl_user(DbConnect()); -00428 $User->Check(); -00429 if ( $User->admin == 0 ) -00430 { -00431 $sql.=$l_and." jr_def_id in ( select uj_jrn_id ". -00432 " from user_sec_jrn where ". -00433 " uj_login='".$_SESSION['g_user']."'". -00434 " and uj_priv in ('R','W'))"; -00435 } -00436 $sql.=" order by jr_date_order asc"; -00437 }// p_array != null -00438 // Count -00439 $count=CountSql($p_cn,$sql); -00440 // Add the limit -00441 $sql.=$limit.$offset; -00442 -00443 // Execute SQL stmt -00444 $Res=ExecSql($p_cn,$sql); -00445 -00446 //starting from here we can refactor, so that instead of returning the generated HTML, -00447 //this function returns a tree structure. -00448 -00449 $r=""; -00450 $r.=JS_VIEW_JRN_DETAIL; -00451 $r.=JS_VIEW_JRN_CANCEL; -00452 $r.=JS_VIEW_JRN_MODIFY; -00453 -00454 $Max=pg_NumRows($Res); -00455 -00456 //TODO: correct this message. -00457 if ($Max==0) return array(0,"Aucun enregistrement trouvé"); -00458 -00459 $r.='<table style="width:100%;border:solid blue 2px ;border-style:outset;">'; -00460 $l_sessid=$_REQUEST['PHPSESSID']; -00461 $r.="<tr class=\"even\">"; -00462 $r.="<th> Internal </th>"; -00463 $r.="<th> Date </th>"; -00464 $r.="<th> Echéance </th>"; -00465 $r.="<th> Description</th>"; -00466 $r.="<th> Montant </th>"; -00467 // if $p_paid is not equal to 0 then we have a paid column -00468 if ( $p_paid != 0 ) -00469 { -00470 $r.="<th> Pay&eacute;</th>"; -00471 } -00472 $r.="<th>Op. Concernée</th>"; -00473 $r.="<th>Document</th>"; -00474 $r.="</tr>"; -00475 -00476 for ($i=0; $i < $Max;$i++) { -00477 -00478 //STAN the rows here must be stored in an array -00479 -00480 $row=pg_fetch_array($Res,$i); -00481 -00482 if ( $i % 2 == 0 ) $tr='<TR class="odd">'; -00483 else $tr='<TR class="even">'; -00484 $r.=$tr; -00485 //internal code -00486 // button modify -00487 $r.="<TD>"; -00488 $r.=sprintf('<A class="detail" HREF="javascript:modifyOperation(\'%s\',\'%s\',\'%s\')" >%s</A>', -00489 $row['jr_id'], $l_sessid, $p_jrn, $row['jr_internal']); -00490 $r.="</TD>"; -00491 // date -00492 $r.="<TD>"; -00493 $r.=$row['jr_date']; -00494 $r.="</TD>"; -00495 // echeance -00496 $r.="<TD>"; -00497 $r.=$row['jr_ech']; -00498 $r.="</TD>"; -00499 -00500 // comment -00501 $r.="<TD>"; -00502 $r.=$row['jr_comment']; -00503 $r.="</TD>"; -00504 -00505 // Amount -00506 // If the ledger is financial : -00507 // the credit must be negative and written in red -00508 // Get the jrn type -00509 $jrn_prop=GetJrnProp($p_cn,$row['jrn_def_id'],1); -00510 $positive=0; -00511 -00512 // Check ledger type -00513 if ( $jrn_prop['jrn_def_type'] == 'FIN' ) -00514 { -00515 $positive = CountSql($p_cn,"select * from jrn inner join jrnx on jr_grpt_id=j_grpt ". -00516 " where jr_id=".$row['jr_id']." and (j_poste like '55%' or j_poste like '57%' )". -00517 " and j_debit='f'"); -00518 } -00519 $r.="<TD align=\"right\">"; -00520 //STAN $positive always == 0 -00521 $r.=( $positive != 0 )?"<font color=\"red\"> - ".sprintf("%8.2f",$row['jr_montant'])."</font>":sprintf("%8.2f",$row['jr_montant']); -00522 $r.="</TD>"; -00523 +00224 +00244 function InsertJrnx($p_cn,$p_type,$p_user,$p_jrn,$p_poste,$p_date,$p_amount,$p_grpt,$p_periode,$p_qcode="") +00245 { +00246 echo_debug ('user_common.php',__LINE__,"InsertJrnx param +00247 type = $p_type p_user $p_user +00248 p_date $p_date p_poste $p_poste +00249 p_amount $p_amount p_grpt = $p_grpt p_periode = $p_periode"); +00250 +00251 if ( $p_amount == 0) return true; +00252 +00253 $debit=($p_type=='c')?'false':'true'; +00254 +00255 // if negative value the operation is inversed +00256 if ( $p_amount < 0 ) { +00257 $debit=($debit=='false')?'true':'false'; +00258 } +00259 +00260 $sql=sprintf("select insert_jrnx +00261 ('%s',abs(%.2f),%d,%d,%d,%s,'%s',%d,'%s')", +00262 $p_date,round($p_amount,2),$p_poste,$p_grpt,$p_jrn,$debit,$p_user,$p_periode,$p_qcode); +00263 +00264 echo_debug('user_common.php',__LINE__,"InsertJrnx $sql"); +00265 $Res=ExecSql($p_cn,$sql); +00266 if ( $Res==false) return $Res; +00267 return GetSequence($p_cn,'s_jrn_op'); +00268 +00269 } +00288 function InsertJrn($p_cn,$p_date,$p_echeance,$p_jrn,$p_comment,$p_amount,$p_grpt,$p_periode) +00289 { +00290 echo_debug ('user_common.php',__LINE__,"InsertJrn param +00291 p_date $p_date p_poste $p_comment p_amount $p_amount p_grpt = $p_grpt p_periode = $p_periode p_echeance = $p_echeance +00292 comment = $p_comment"); +00293 $p_comment=FormatString($p_comment); +00294 +00295 if ( $p_echeance == "" or $p_echeance==null) { +00296 $p_echeance='null'; +00297 } else { +00298 $p_echeance=sprintf("to_date('%s','DD.MM.YYYY')",$p_echeance); +00299 } +00300 $sql=sprintf("insert into jrn (jr_def_id,jr_montant,jr_comment,jr_date,jr_ech,jr_grpt_id,jr_tech_per) +00301 values ( %d,abs(%.2f),'%s',to_date('%s','DD.MM.YYYY'),%s,%d,%d)", +00302 $p_jrn, round($p_amount,2),$p_comment,$p_date,$p_echeance,$p_grpt,$p_periode); +00303 echo_debug('user_common.php',__LINE__,"InsertJrn $sql"); +00304 $Res=ExecSql($p_cn,$sql); +00305 if ( $Res == false) return false; +00306 return GetSequence($p_cn,'s_jrn'); +00307 } +00322 function ListJrn($p_cn,$p_jrn,$p_where="",$p_array=null,$p_value=0,$p_paid=0) +00323 { +00324 +00325 include_once("central_inc.php"); +00326 $limit=($_SESSION['g_pagesize']!=-1)?" LIMIT ".$_SESSION['g_pagesize']:""; +00327 $offset=($_SESSION['g_pagesize']!=-1)?" OFFSET ".$p_value:""; +00328 if ( $p_array == null ) { +00329 +00330 //que fait cette requête??? +00331 +00332 $sql="select jr_id , +00333 jr_montant, +00334 jr_comment, +00335 jr_ech, +00336 to_char(jr_date,'DD.MM.YYYY') as jr_date, +00337 jr_date as jr_date_order, +00338 jr_grpt_id, +00339 jr_rapt, +00340 jr_internal, +00341 jrn_def_id, +00342 jrn_def_name, +00343 jrn_def_ech, +00344 jrn_def_type, +00345 jr_valid, +00346 jr_tech_per, +00347 jr_pj_name, +00348 p_closed +00349 from +00350 jrn +00351 join jrn_def on jrn_def_id=jr_def_id +00352 join parm_periode on p_id=jr_tech_per +00353 $p_where +00354 order by jr_date_order asc,jr_internal asc"; +00355 } +00356 if ( $p_array != null ) { +00357 // Construction Query +00358 foreach ( $p_array as $key=>$element) { +00359 ${"l_$key"}=$element; +00360 } +00361 $sql="select jr_id , +00362 jr_montant, +00363 jr_comment, +00364 jr_ech, +00365 to_char(jr_date,'DD.MM.YYYY') as jr_date, +00366 jr_date as jr_date_order, +00367 jr_grpt_id, +00368 jr_rapt, +00369 jr_internal, +00370 jrn_def_id, +00371 jrn_def_name, +00372 jrn_def_ech, +00373 jrn_def_type, +00374 jr_valid, +00375 jr_tech_per, +00376 jr_pj_name, +00377 p_closed +00378 from +00379 jrn join jrn_def on jrn_def_id=jr_def_id +00380 join parm_periode on p_id=jr_tech_per +00381 "; +00382 $jrn_sql=($p_jrn =0)?"1=1":"jrn_def_id=$p_jrn "; +00383 $l_and=" where "; +00384 // amount +00385 if ( ereg("^[0-9]+$", $l_s_montant) || ereg ("^[0-9]+\.[0-9]+$", $l_s_montant) ) +00386 { +00387 $sql.=$l_and." jr_montant $l_mont_sel $l_s_montant"; +00388 $l_and=" and "; +00389 } +00390 // date +00391 if ( isDate($l_date_start) != null ) +00392 { +00393 $sql.=$l_and." jr_date >= to_date('".$l_date_start."','DD.MM.YYYY')"; +00394 $l_and=" and "; +00395 } +00396 if ( isDate($l_date_end) != null ) { +00397 $sql.=$l_and." jr_date <= to_date('".$l_date_end."','DD.MM.YYYY')"; +00398 $l_and=" and "; +00399 } +00400 // comment +00401 $l_s_comment=FormatString($l_s_comment); +00402 if ( $l_s_comment != null ) +00403 { +00404 $sql.=$l_and." upper(jr_comment) like upper('%".$l_s_comment."%') "; +00405 $l_and=" and "; +00406 } +00407 // internal +00408 $l_s_internal=FormatString($l_s_internal); +00409 if ( $l_s_internal != null ) { +00410 $sql.=$l_and." jr_internal like ('%$l_s_internal%') "; +00411 $l_and=" and "; +00412 } +00413 // Poste +00414 $l_poste=FormatString($l_poste); +00415 if ( $l_poste != null ) { +00416 $sql.=$l_and." jr_grpt_id in (select j_grpt +00417 from jrnx where j_poste = $l_poste) "; +00418 $l_and=" and "; +00419 } +00420 // Quick Code +00421 if ( $l_qcode != null ) +00422 { +00423 $sql.=$l_and." jr_grpt_id in ( select j_grpt from +00424 jrnx where j_qcode = '$l_qcode')"; +00425 $l_and=" and "; +00426 } +00427 // if not admin check filter +00428 $User=new cl_user(DbConnect()); +00429 $User->Check(); +00430 if ( $User->admin == 0 ) +00431 { +00432 $sql.=$l_and." jr_def_id in ( select uj_jrn_id ". +00433 " from user_sec_jrn where ". +00434 " uj_login='".$_SESSION['g_user']."'". +00435 " and uj_priv in ('R','W'))"; +00436 } +00437 $sql.=" order by jr_date_order asc"; +00438 }// p_array != null +00439 // Count +00440 $count=CountSql($p_cn,$sql); +00441 // Add the limit +00442 $sql.=$limit.$offset; +00443 +00444 // Execute SQL stmt +00445 $Res=ExecSql($p_cn,$sql); +00446 +00447 //starting from here we can refactor, so that instead of returning the generated HTML, +00448 //this function returns a tree structure. +00449 +00450 $r=""; +00451 $r.=JS_VIEW_JRN_DETAIL; +00452 $r.=JS_VIEW_JRN_CANCEL; +00453 $r.=JS_VIEW_JRN_MODIFY; +00454 +00455 $Max=pg_NumRows($Res); +00456 +00457 //TODO: correct this message. +00458 if ($Max==0) return array(0,"Aucun enregistrement trouvé"); +00459 +00460 $r.='<table style="width:100%;border:solid blue 2px ;border-style:outset;">'; +00461 $l_sessid=$_REQUEST['PHPSESSID']; +00462 $r.="<tr class=\"even\">"; +00463 $r.="<th> Internal </th>"; +00464 $r.="<th> Date </th>"; +00465 $r.="<th> Echéance </th>"; +00466 $r.="<th> Description</th>"; +00467 $r.="<th> Montant </th>"; +00468 // if $p_paid is not equal to 0 then we have a paid column +00469 if ( $p_paid != 0 ) +00470 { +00471 $r.="<th> Pay&eacute;</th>"; +00472 } +00473 $r.="<th>Op. Concernée</th>"; +00474 $r.="<th>Document</th>"; +00475 $r.="</tr>"; +00476 +00477 for ($i=0; $i < $Max;$i++) { +00478 +00479 //STAN the rows here must be stored in an array +00480 +00481 $row=pg_fetch_array($Res,$i); +00482 +00483 if ( $i % 2 == 0 ) $tr='<TR class="odd">'; +00484 else $tr='<TR class="even">'; +00485 $r.=$tr; +00486 //internal code +00487 // button modify +00488 $r.="<TD>"; +00489 $r.=sprintf('<A class="detail" HREF="javascript:modifyOperation(\'%s\',\'%s\',\'%s\')" >%s</A>', +00490 $row['jr_id'], $l_sessid, $p_jrn, $row['jr_internal']); +00491 $r.="</TD>"; +00492 // date +00493 $r.="<TD>"; +00494 $r.=$row['jr_date']; +00495 $r.="</TD>"; +00496 // echeance +00497 $r.="<TD>"; +00498 $r.=$row['jr_ech']; +00499 $r.="</TD>"; +00500 +00501 // comment +00502 $r.="<TD>"; +00503 $r.=$row['jr_comment']; +00504 $r.="</TD>"; +00505 +00506 // Amount +00507 // If the ledger is financial : +00508 // the credit must be negative and written in red +00509 // Get the jrn type +00510 $jrn_prop=GetJrnProp($p_cn,$row['jrn_def_id'],1); +00511 $positive=0; +00512 +00513 // Check ledger type +00514 if ( $jrn_prop['jrn_def_type'] == 'FIN' ) +00515 { +00516 $positive = CountSql($p_cn,"select * from jrn inner join jrnx on jr_grpt_id=j_grpt ". +00517 " where jr_id=".$row['jr_id']." and (j_poste like '55%' or j_poste like '57%' )". +00518 " and j_debit='f'"); +00519 } +00520 $r.="<TD align=\"right\">"; +00521 //STAN $positive always == 0 +00522 $r.=( $positive != 0 )?"<font color=\"red\"> - ".sprintf("%8.2f",$row['jr_montant'])."</font>":sprintf("%8.2f",$row['jr_montant']); +00523 $r.="</TD>"; 00524 -00525 // Show the paid column if p_paid is not null -00526 if ( $p_paid !=0 ) -00527 { -00528 $w=new widget("checkbox"); -00529 $w->name="rd_paid".$row['jr_id']; -00530 $w->selected=($row['jr_rapt']=='paid')?true:false; -00531 // if p_paid == 2 then readonly -00532 $w->readonly=( $p_paid == 2)?true:false; -00533 $h=new widget("hidden"); -00534 $h->name="set_jr_id".$row['jr_id']; -00535 $r.='<TD>'.$w->IOValue().$h->IOValue().'</TD>'; -00536 } -00537 -00538 // Rapprochement -00539 $a=GetConcerned($p_cn,$row['jr_id']); -00540 $r.="<TD>"; -00541 if ( $a != null ) { -00542 // $r.="operation concernée "; -00543 -00544 foreach ($a as $key => $element) -00545 { -00546 $r.= "<A class=\"detail\" HREF=\"javascript:viewDetail('".GetGrpt($p_cn,$element)."','$l_sessid')\" > ".GetInternal($p_cn,$element)."</A>"; -00547 }//for -00548 }// if ( $a != null ) { -00549 $r.="</TD>"; -00550 -00551 if ( $row['jr_valid'] == 'f' ) { -00552 $r.="<TD> Opération annulée</TD>"; -00553 } else { -00554 // all operations can be removed either by setting to 0 the amount -00555 // or by writing the opposite operation if the period is closed -00556 $r.="<TD>"; -00557 // cancel operation -00558 $r.=sprintf('<input TYPE="BUTTON" VALUE="%s" onClick="cancelOperation(\'%s\',\'%s\',\'%s\')">', -00559 "Annuler",$row['jr_grpt_id'],$l_sessid,$p_jrn); -00560 $r.="</TD>"; -00561 } // else -00562 //document -00563 $r.="<TD>".sprintf('<A class="detail" HREF="show_pj.php?jrn=%s&jr_grpt_id=%s">%s</A>', -00564 $p_jrn, -00565 $row['jr_grpt_id'], -00566 $row['jr_pj_name'])."</TD>"; -00567 -00568 // end row -00569 $r.="</tr>"; -00570 -00571 } -00572 $r.="</table>"; -00573 -00574 return array ($count,$r); -00575 } -00576 +00525 +00526 // Show the paid column if p_paid is not null +00527 if ( $p_paid !=0 ) +00528 { +00529 $w=new widget("checkbox"); +00530 $w->name="rd_paid".$row['jr_id']; +00531 $w->selected=($row['jr_rapt']=='paid')?true:false; +00532 // if p_paid == 2 then readonly +00533 $w->readonly=( $p_paid == 2)?true:false; +00534 $h=new widget("hidden"); +00535 $h->name="set_jr_id".$row['jr_id']; +00536 $r.='<TD>'.$w->IOValue().$h->IOValue().'</TD>'; +00537 } +00538 +00539 // Rapprochement +00540 $a=GetConcerned($p_cn,$row['jr_id']); +00541 $r.="<TD>"; +00542 if ( $a != null ) { +00543 // $r.="operation concernée "; +00544 +00545 foreach ($a as $key => $element) +00546 { +00547 $r.= "<A class=\"detail\" HREF=\"javascript:viewDetail('".GetGrpt($p_cn,$element)."','$l_sessid')\" > ".GetInternal($p_cn,$element)."</A>"; +00548 }//for +00549 }// if ( $a != null ) { +00550 $r.="</TD>"; +00551 +00552 if ( $row['jr_valid'] == 'f' ) { +00553 $r.="<TD> Opération annulée</TD>"; +00554 } else { +00555 // all operations can be removed either by setting to 0 the amount +00556 // or by writing the opposite operation if the period is closed +00557 $r.="<TD>"; +00558 // cancel operation +00559 $r.=sprintf('<input TYPE="BUTTON" VALUE="%s" onClick="cancelOperation(\'%s\',\'%s\',\'%s\')">', +00560 "Annuler",$row['jr_grpt_id'],$l_sessid,$p_jrn); +00561 $r.="</TD>"; +00562 } // else +00563 //document +00564 $r.="<TD>".sprintf('<A class="detail" HREF="show_pj.php?jrn=%s&jr_grpt_id=%s">%s</A>', +00565 $p_jrn, +00566 $row['jr_grpt_id'], +00567 $row['jr_pj_name'])."</TD>"; +00568 +00569 // end row +00570 $r.="</tr>"; +00571 +00572 } +00573 $r.="</table>"; +00574 +00575 return array ($count,$r); +00576 } 00577 00578 -00595 function InsertStockGoods($p_cn,$p_j_id,$p_good,$p_quant,$p_type) -00596 { -00597 echo_debug('user_common.php',__LINE__,"function InsertStockGoods($p_cn,$p_j_id,$p_good,$p_quant,$p_type)"); -00598 // Retrieve the good account for stock -00599 $code_marchandise=GetFicheAttribut($p_cn,$p_good,ATTR_DEF_STOCK); -00600 $sql="select f_id from vw_poste_qcode where j_qcode='$p_good'"; -00601 $Res=ExecSql($p_cn,$sql); -00602 $r=pg_fetch_array($Res,0); -00603 $f_id=$r['f_id']; -00604 $Res=ExecSql($p_cn,"insert into stock_goods ( -00605 j_id, -00606 f_id, -00607 sg_code, -00608 sg_quantity, -00609 sg_type ) values ( -00610 $p_j_id, -00611 $f_id, -00612 '$code_marchandise', -00613 $p_quant, '$p_type') -00614 "); -00615 return $Res; -00616 } -00630 function withStock($p_cn,$p_f_id) -00631 { -00632 $a=getFicheAttribut($p_cn,$p_f_id, ATTR_DEF_STOCK); -00633 if ( $a == "1" ) return true; -00634 return false; -00635 -00636 } -00653 function VerifyOperationDate($p_cn,$p_periode,$p_date) { -00654 -00655 // Verify the date -00656 if ( isDate($p_date) == null ) { -00657 echo_error("Invalid date $p_date"); -00658 echo_debug('user_common.php',__LINE__,"Invalid date $p_date"); -00659 echo "<SCRIPT> alert('INVALID DATE $p_date !!!!');</SCRIPT>"; -00660 return null; -00661 } -00662 // userPref contient la periode par default -00663 list ($l_date_start,$l_date_end)=GetPeriode($p_cn,$p_periode); -00664 -00665 // Date dans la periode active -00666 echo_debug ("date start periode $l_date_start date fin periode $l_date_end date demandée $p_date"); -00667 if ( cmpDate($p_date,$l_date_start)<0 || -00668 cmpDate($p_date,$l_date_end)>0 ) -00669 { -00670 $msg="Not in the active periode please change your preference"; -00671 echo_error($msg); echo_error($msg); -00672 echo "<SCRIPT>alert('$msg');</SCRIPT>"; -00673 return null; -00674 } -00675 // Periode fermée -00676 if ( PeriodeClosed ($p_cn,$p_periode)=='t' ) -00677 { -00678 $msg="This periode is closed please change your preference"; -00679 echo_error($msg); echo_error($msg); -00680 echo "<SCRIPT>alert('$msg');</SCRIPT>"; -00681 return null; -00682 } -00683 return $p_date; -00684 } -00685 -00699 function InsertRapt($p_cn,$jr_id,$jr_id2) { -00700 if ( isNumber($jr_id) == 0 or -00701 isNumber($jr_id2) == 0 ) -00702 { -00703 echo_error(" InsertRapt : invalid jr_id $jr_id, jr_id2 $jr_id2"); -00704 echo_debug('user_common.php',__LINE__," InsertRapt : invalid jr_id $jr_id, jr_id2 $jr_id2"); -00705 return false; -00706 } -00707 // verify if exists -00708 if ( CountSql($p_cn,"select jra_id from jrn_rapt where jra_concerned=$jr_id and jr_id=$jr_id2 -00709 union -00710 select jra_id from jrn_rapt where jra_concerned=$jr_id2 and jr_id=$jr_id ") ==0) -00711 { -00712 // Ok we can insert -00713 $Res=ExecSql($p_cn,"insert into jrn_rapt(jr_id,jra_concerned) values ($jr_id,$jr_id2)"); -00714 } -00715 return true; -00716 } -00730 function DeleteRapt($p_cn,$jr_id,$jr_id2) { -00731 echo_debug('user_common.php',__LINE__,"DeleteRapt($p_cn,$jr_id,$jr_id2) "); -00732 if ( isNumber($jr_id) == 0 or -00733 isNumber($jr_id2) == 0 ) -00734 { -00735 echo_error(" InsertRapt : invalid jr_id jr_id = $jr_id jr_id2 = $jr_id2"); -00736 return; -00737 } -00738 // verify if exists -00739 if ( CountSql($p_cn,"select jra_id from jrn_rapt where jra_concerned=$jr_id and jr_id=$jr_id2 -00740 union -00741 select jra_id from jrn_rapt where jra_concerned=$jr_id2 and jr_id=$jr_id ") !=0) -00742 { -00743 // Ok we can insert -00744 $Res=ExecSql($p_cn,"delete from jrn_rapt where (jra_concerned=$jr_id2 and jr_id=$jr_id) or -00745 (jra_concerned=$jr_id and jr_id=$jr_id2) "); -00746 } -00747 } -00748 -00761 function GetConcerned ($p_cn, $jr_id) { -00762 $sql=" select jr_id as cn from jrn_rapt where jra_concerned=$jr_id -00763 union -00764 select jra_concerned as cn from jrn_rapt where jr_id=$jr_id"; -00765 $Res=ExecSql($p_cn,$sql); -00766 -00767 // If nothing is found return null -00768 $n=pg_NumRows($Res); -00769 -00770 if ($n ==0 ) return null; -00771 -00772 // put everything in an array -00773 for ($i=0;$i<$n;$i++) { -00774 $l=pg_fetch_array($Res,$i); -00775 $r[$i]=$l['cn']; -00776 } -00777 return $r; -00778 } -00792 function GetGrpt($p_cn,$p_jr_id) -00793 { -00794 $Res=ExecSql($p_cn,"select jr_grpt_id from jrn where jr_id=".$p_jr_id); -00795 if ( pg_NumRows($Res) == 0 ) { -00796 return null; -00797 } -00798 $r=pg_fetch_array($Res,0); -00799 return $r['jr_grpt_id']; -00800 } -00814 function UpdateComment ($p_cn,$p_jr_id,$p_comment) { -00815 $p_comment=FormatString($p_comment); -00816 $Res=ExecSql($p_cn,"update jrn set jr_comment='".$p_comment."' -00817 where jr_id = $p_jr_id"); -00818 -00819 } -00820 -00834 function isValid ($p_cn,$p_grpt_id) { -00835 $Res=ExecSql($p_cn,"select jr_valid from jrn where jr_grpt_id=$p_grpt_id"); -00836 -00837 if ( ( $M = pg_NumRows($Res)) == 0 ) return 0; -00838 -00839 $a=pg_fetch_array($Res,0); -00840 -00841 if ( $a['jr_valid'] == 't') return 1; -00842 if ( $a['jr_valid'] == 'f') return 0; -00843 -00844 echo_error ("Invalid result = ".$a['result']); -00845 +00579 +00596 function InsertStockGoods($p_cn,$p_j_id,$p_good,$p_quant,$p_type) +00597 { +00598 echo_debug('user_common.php',__LINE__,"function InsertStockGoods($p_cn,$p_j_id,$p_good,$p_quant,$p_type)"); +00599 // Retrieve the good account for stock +00600 $code_marchandise=GetFicheAttribut($p_cn,$p_good,ATTR_DEF_STOCK); +00601 $sql="select f_id from vw_poste_qcode where j_qcode='$p_good'"; +00602 $Res=ExecSql($p_cn,$sql); +00603 $r=pg_fetch_array($Res,0); +00604 $f_id=$r['f_id']; +00605 $Res=ExecSql($p_cn,"insert into stock_goods ( +00606 j_id, +00607 f_id, +00608 sg_code, +00609 sg_quantity, +00610 sg_type ) values ( +00611 $p_j_id, +00612 $f_id, +00613 '$code_marchandise', +00614 $p_quant, '$p_type') +00615 "); +00616 return $Res; +00617 } +00631 function withStock($p_cn,$p_f_id) +00632 { +00633 $a=getFicheAttribut($p_cn,$p_f_id, ATTR_DEF_STOCK); +00634 if ( $a == "1" ) return true; +00635 return false; +00636 +00637 } +00654 function VerifyOperationDate($p_cn,$p_periode,$p_date) { +00655 +00656 // Verify the date +00657 if ( isDate($p_date) == null ) { +00658 echo_error("Invalid date $p_date"); +00659 echo_debug('user_common.php',__LINE__,"Invalid date $p_date"); +00660 echo "<SCRIPT> alert('INVALID DATE $p_date !!!!');</SCRIPT>"; +00661 return null; +00662 } +00663 // userPref contient la periode par default +00664 list ($l_date_start,$l_date_end)=GetPeriode($p_cn,$p_periode); +00665 +00666 // Date dans la periode active +00667 echo_debug ("date start periode $l_date_start date fin periode $l_date_end date demandée $p_date"); +00668 if ( cmpDate($p_date,$l_date_start)<0 || +00669 cmpDate($p_date,$l_date_end)>0 ) +00670 { +00671 $msg="Not in the active periode please change your preference"; +00672 echo_error($msg); echo_error($msg); +00673 echo "<SCRIPT>alert('$msg');</SCRIPT>"; +00674 return null; +00675 } +00676 // Periode fermée +00677 if ( PeriodeClosed ($p_cn,$p_periode)=='t' ) +00678 { +00679 $msg="This periode is closed please change your preference"; +00680 echo_error($msg); echo_error($msg); +00681 echo "<SCRIPT>alert('$msg');</SCRIPT>"; +00682 return null; +00683 } +00684 return $p_date; +00685 } +00686 +00700 function InsertRapt($p_cn,$jr_id,$jr_id2) { +00701 if ( isNumber($jr_id) == 0 or +00702 isNumber($jr_id2) == 0 ) +00703 { +00704 echo_error(" InsertRapt : invalid jr_id $jr_id, jr_id2 $jr_id2"); +00705 echo_debug('user_common.php',__LINE__," InsertRapt : invalid jr_id $jr_id, jr_id2 $jr_id2"); +00706 return false; +00707 } +00708 // verify if exists +00709 if ( CountSql($p_cn,"select jra_id from jrn_rapt where jra_concerned=$jr_id and jr_id=$jr_id2 +00710 union +00711 select jra_id from jrn_rapt where jra_concerned=$jr_id2 and jr_id=$jr_id ") ==0) +00712 { +00713 // Ok we can insert +00714 $Res=ExecSql($p_cn,"insert into jrn_rapt(jr_id,jra_concerned) values ($jr_id,$jr_id2)"); +00715 } +00716 return true; +00717 } +00731 function DeleteRapt($p_cn,$jr_id,$jr_id2) { +00732 echo_debug('user_common.php',__LINE__,"DeleteRapt($p_cn,$jr_id,$jr_id2) "); +00733 if ( isNumber($jr_id) == 0 or +00734 isNumber($jr_id2) == 0 ) +00735 { +00736 echo_error(" InsertRapt : invalid jr_id jr_id = $jr_id jr_id2 = $jr_id2"); +00737 return; +00738 } +00739 // verify if exists +00740 if ( CountSql($p_cn,"select jra_id from jrn_rapt where jra_concerned=$jr_id and jr_id=$jr_id2 +00741 union +00742 select jra_id from jrn_rapt where jra_concerned=$jr_id2 and jr_id=$jr_id ") !=0) +00743 { +00744 // Ok we can insert +00745 $Res=ExecSql($p_cn,"delete from jrn_rapt where (jra_concerned=$jr_id2 and jr_id=$jr_id) or +00746 (jra_concerned=$jr_id and jr_id=$jr_id2) "); +00747 } +00748 } +00749 +00762 function GetConcerned ($p_cn, $jr_id) { +00763 $sql=" select jr_id as cn from jrn_rapt where jra_concerned=$jr_id +00764 union +00765 select jra_concerned as cn from jrn_rapt where jr_id=$jr_id"; +00766 $Res=ExecSql($p_cn,$sql); +00767 +00768 // If nothing is found return null +00769 $n=pg_NumRows($Res); +00770 +00771 if ($n ==0 ) return null; +00772 +00773 // put everything in an array +00774 for ($i=0;$i<$n;$i++) { +00775 $l=pg_fetch_array($Res,$i); +00776 $r[$i]=$l['cn']; +00777 } +00778 return $r; +00779 } +00793 function GetGrpt($p_cn,$p_jr_id) +00794 { +00795 $Res=ExecSql($p_cn,"select jr_grpt_id from jrn where jr_id=".$p_jr_id); +00796 if ( pg_NumRows($Res) == 0 ) { +00797 return null; +00798 } +00799 $r=pg_fetch_array($Res,0); +00800 return $r['jr_grpt_id']; +00801 } +00815 function UpdateComment ($p_cn,$p_jr_id,$p_comment) { +00816 $p_comment=FormatString($p_comment); +00817 $Res=ExecSql($p_cn,"update jrn set jr_comment='".$p_comment."' +00818 where jr_id = $p_jr_id"); +00819 +00820 } +00821 +00835 function isValid ($p_cn,$p_grpt_id) { +00836 $Res=ExecSql($p_cn,"select jr_valid from jrn where jr_grpt_id=$p_grpt_id"); +00837 +00838 if ( ( $M = pg_NumRows($Res)) == 0 ) return 0; +00839 +00840 $a=pg_fetch_array($Res,0); +00841 +00842 if ( $a['jr_valid'] == 't') return 1; +00843 if ( $a['jr_valid'] == 'f') return 0; +00844 +00845 echo_error ("Invalid result = ".$a['result']); 00846 -00847 } -00848 -00861 function jrn_navigation_bar($p_offset,$p_line,$p_size=0,$p_page=1) -00862 { -00863 // if the pagesize is unlimited return "" -00864 // in that case there is no nav. bar -00865 if ( $_SESSION['g_pagesize'] == -1 ) return ""; -00866 if ( $p_size==0) { -00867 $p_size= $_SESSION['g_pagesize']; -00868 } -00869 // if there is no row return an empty string -00870 if ( $p_line == 0 ) return ""; -00871 -00872 // Compute the url -00873 $url=""; -00874 $and=""; -00875 $get=$_GET; -00876 if ( isset ($get) ) { -00877 foreach ($get as $name=>$value ) { -00878 // we clean the parameter offset, step, page and size -00879 if ( ! in_array($name,array('offset','step','page','size'))) { -00880 $url.=$and.$name."=".$value; -00881 $and="&"; -00882 }// if -00883 }//foreach -00884 }// if -00885 // compute max of page -00886 $nb_page=($p_line-($p_line%$p_size))/$p_size; -00887 -00888 // if something remains -00889 if ( $p_line % $p_size != 0 ) $nb_page+=1; -00890 -00891 // if max page == 1 then return a empty string -00892 if ( $nb_page == 1) return ""; -00893 -00894 $r=""; -00895 // previous -00896 if ($p_page !=1) { -00897 $e=$p_page-1; -00898 $step=$_SESSION['g_pagesize']; -00899 $offset=($e-1)*$step; -00900 -00901 $r='<A class="one" href="'.$_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step".'">'; -00902 $r.="Pr&eacute;c&eacute;dent"; -00903 $r.="</A>&nbsp;&nbsp;"; -00904 } -00905 -00906 // Create the bar -00907 for ($e=1;$e<=$nb_page;$e++) { -00908 // do not included current page -00909 if ( $e != $p_page ) { -00910 $step=$_SESSION['g_pagesize']; -00911 $offset=($e-1)*$step; -00912 $go=sprintf($_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step"); -00913 $r.=sprintf('<A HREF="%s" CLASS="one">%d</A>&nbsp;',$go,$e); -00914 } else { -00915 $r.="<b> $e </b>"; -00916 } //else -00917 // add a break if e > 80 -00918 if ( $e % 57 == 0 ) { -00919 $r.="<br>"; -00920 } -00921 } //for -00922 // next -00923 if ($p_page !=$nb_page) { -00924 $e=$p_page+1; -00925 $step=$_SESSION['g_pagesize']; -00926 $offset=($e-1)*$step; -00927 -00928 $r.='&nbsp;<A class="one" href="'.$_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step".'">'; -00929 $r.="Suivant"; -00930 $r.="</A>"; -00931 } -00932 +00847 +00848 } +00849 +00862 function jrn_navigation_bar($p_offset,$p_line,$p_size=0,$p_page=1) +00863 { +00864 // if the pagesize is unlimited return "" +00865 // in that case there is no nav. bar +00866 if ( $_SESSION['g_pagesize'] == -1 ) return ""; +00867 if ( $p_size==0) { +00868 $p_size= $_SESSION['g_pagesize']; +00869 } +00870 // if there is no row return an empty string +00871 if ( $p_line == 0 ) return ""; +00872 +00873 // Compute the url +00874 $url=""; +00875 $and=""; +00876 $get=$_GET; +00877 if ( isset ($get) ) { +00878 foreach ($get as $name=>$value ) { +00879 // we clean the parameter offset, step, page and size +00880 if ( ! in_array($name,array('offset','step','page','size'))) { +00881 $url.=$and.$name."=".$value; +00882 $and="&"; +00883 }// if +00884 }//foreach +00885 }// if +00886 // compute max of page +00887 $nb_page=($p_line-($p_line%$p_size))/$p_size; +00888 +00889 // if something remains +00890 if ( $p_line % $p_size != 0 ) $nb_page+=1; +00891 +00892 // if max page == 1 then return a empty string +00893 if ( $nb_page == 1) return ""; +00894 +00895 $r=""; +00896 // previous +00897 if ($p_page !=1) { +00898 $e=$p_page-1; +00899 $step=$_SESSION['g_pagesize']; +00900 $offset=($e-1)*$step; +00901 +00902 $r='<A class="one" href="'.$_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step".'">'; +00903 $r.="Pr&eacute;c&eacute;dent"; +00904 $r.="</A>&nbsp;&nbsp;"; +00905 } +00906 +00907 // Create the bar +00908 for ($e=1;$e<=$nb_page;$e++) { +00909 // do not included current page +00910 if ( $e != $p_page ) { +00911 $step=$_SESSION['g_pagesize']; +00912 $offset=($e-1)*$step; +00913 $go=sprintf($_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step"); +00914 $r.=sprintf('<A HREF="%s" CLASS="one">%d</A>&nbsp;',$go,$e); +00915 } else { +00916 $r.="<b> $e </b>"; +00917 } //else +00918 // add a break if e > 80 +00919 if ( $e % 57 == 0 ) { +00920 $r.="<br>"; +00921 } +00922 } //for +00923 // next +00924 if ($p_page !=$nb_page) { +00925 $e=$p_page+1; +00926 $step=$_SESSION['g_pagesize']; +00927 $offset=($e-1)*$step; +00928 +00929 $r.='&nbsp;<A class="one" href="'.$_SERVER['PHP_SELF']."?".$url."&offset=$offset&step=$step&page=$e&size=$step".'">'; +00930 $r.="Suivant"; +00931 $r.="</A>"; +00932 } 00933 -00934 return $r; -00935 +00934 +00935 return $r; 00936 } -
    Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +00937 +
    Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
    diff --git a/doc/developper/html/user__common_8php.html b/doc/developper/html/user__common_8php.html index 7d890558f..c713f5e79 100644 --- a/doc/developper/html/user__common_8php.html +++ b/doc/developper/html/user__common_8php.html @@ -145,11 +145,11 @@ Compute the vat, the fiche.f_id<
    Returns:
    : array a[tva_id] = amount vat

    -Definition at line 68 of file user_common.php. +Definition at line 69 of file user_common.php.

    -References $a, $a_vat, $flag, $idx, $r, $tva_id, echo_debug(), GetTvaRate(), and isNumber(). +References $a, $a_vat, $flag, $idx, $r, $tva_id, echo_debug(), GetTvaRate(), and isNumber().

    -Referenced by RecordInvoice(), and RecordSell(). +Referenced by RecordInvoice(), and RecordSell().

    @@ -220,11 +220,11 @@ Compute the vat for only one elt, the 171 of file user_common.php. +Definition at line 172 of file user_common.php.

    -References $a, $a_vat, $tva_id, echo_debug(), GetTvaRate(), and isNumber(). +References $a, $a_vat, $tva_id, echo_debug(), GetTvaRate(), and isNumber().

    -Referenced by RecordInvoice(), and RecordSell(). +Referenced by RecordInvoice(), and RecordSell().

    @@ -279,7 +279,7 @@ jr_id (jrn.jr_id) => jrn_rapt.jr_id

    • none

    -Definition at line 730 of file user_common.php. +Definition at line 731 of file user_common.php.

    References $Res, CountSql(), echo_debug(), echo_error(), ExecSql(), and isNumber(). @@ -329,11 +329,11 @@ jrn.jr_id gen :

      array if something is found

      -Definition at line 761 of file user_common.php. +Definition at line 762 of file user_common.php.

      References $i, $l, $n, $r, $Res, $sql, and ExecSql().

      -Referenced by ListJrn(), and UpdateJrn(). +Referenced by ListJrn(), and UpdateJrn().

      @@ -381,7 +381,7 @@ $p_cn database connection gen :

        return the jrn.jr_grpt_id or null

        -Definition at line 792 of file user_common.php. +Definition at line 793 of file user_common.php.

        References $r, $Res, and ExecSql().

        @@ -440,11 +440,11 @@ Get the account of tva_rate.tva_poste return the credit or the debit account.

        Returns:
        return the credit or the debit account null if error

        -Definition at line 210 of file user_common.php. +Definition at line 211 of file user_common.php.

        References $a, $Res, echo_error(), and ExecSql().

        -Referenced by RecordInvoice(), and RecordSell(). +Referenced by RecordInvoice(), and RecordSell().

        @@ -492,11 +492,11 @@ Return the rate of the p_tva_id.

        Returns:
        an array containing the rate and the label the tva rate or null if a problem occured

        -Definition at line 39 of file user_common.php. +Definition at line 40 of file user_common.php.

        References $r, $Res, and ExecSql().

        -Referenced by ComputeTotalVat(), ComputeVat(), FormAchView(), FormVenteView(), and Document::Replace(). +Referenced by ComputeTotalVat(), ComputeVat(), FormAchView(), FormVenteView(), and Document::Replace().

        @@ -582,11 +582,11 @@ $p_date date

          nothing

          -Definition at line 287 of file user_common.php. +Definition at line 288 of file user_common.php.

          References $Res, $sql, echo_debug(), ExecSql(), FormatString(), GetSequence(), and p_comment.

          -Referenced by RecordFin(), RecordInvoice(), RecordSell(), and TransferCSV(). +Referenced by RecordFin(), RecordInvoice(), RecordSell(), and TransferCSV().

          @@ -684,11 +684,11 @@ $p_type debit or credit

            nothing

            -Definition at line 243 of file user_common.php. +Definition at line 244 of file user_common.php.

            References $Res, $sql, echo_debug(), ExecSql(), and GetSequence().

            -Referenced by RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), and TransferCSV(). +Referenced by RecordFin(), RecordInvoice(), RecordODS(), RecordSell(), and TransferCSV().

            @@ -743,7 +743,7 @@ jr_id (jrn.jr_id) => jrn_rapt.jr_id

            • none

            -Definition at line 699 of file user_common.php. +Definition at line 700 of file user_common.php.

            References $Res, CountSql(), echo_debug(), echo_error(), ExecSql(), and isNumber().

            @@ -814,11 +814,11 @@ $p_j_id the j_id

            -Definition at line 595 of file user_common.php. +Definition at line 596 of file user_common.php.

            -References $r, $Res, $sql, echo_debug(), ExecSql(), and f_id. +References $r, $Res, $sql, echo_debug(), ExecSql(), and f_id.

            -Referenced by RecordInvoice(), and RecordSell(). +Referenced by RecordInvoice(), and RecordSell().

            @@ -865,7 +865,7 @@ p_grpt_id gen :

            • none return: 1 is valid 0 is not valid

            -Definition at line 834 of file user_common.php. +Definition at line 835 of file user_common.php.

            References $a, $Res, echo_error(), and ExecSql().

            @@ -931,7 +931,7 @@ jrn_navigation_bar

            Returns:
            string

            -Definition at line 861 of file user_common.php. +Definition at line 862 of file user_common.php.

            References $_SESSION, $e, $offset, $r, $step, $url, name, size, and value.

            @@ -1006,9 +1006,9 @@ $p_jrn jrn_id jrn.jrn_def_id

            • $p_where the sql query where clause
            • $p_array param. for a search
            • $p_value offset
            • $p_paid value : 0 nothing is shown, 1 check box; 2 check_box disable return: array (entryCount,generatedHTML);

            -Definition at line 321 of file user_common.php. +Definition at line 322 of file user_common.php.

            -References $_SESSION, $a, $count, $h, $limit, $Max, $offset, $p_jrn, $r, $Res, $row, $sql, $tr, $User, $w, CountSql(), DbConnect(), ExecSql(), FormatString(), GetConcerned(), GetInternal(), GetJrnProp(), isDate(), and table. +References $_SESSION, $a, $count, $h, $limit, $Max, $offset, $p_jrn, $r, $Res, $row, $sql, $tr, $User, $w, CountSql(), DbConnect(), ExecSql(), FormatString(), GetConcerned(), GetInternal(), GetJrnProp(), isDate(), and table.

            @@ -1062,7 +1062,7 @@ parm :

            -Definition at line 814 of file user_common.php. +Definition at line 815 of file user_common.php.

            References $Res, ExecSql(), FormatString(), and p_comment. @@ -1120,7 +1120,7 @@ user

              null if error or date if ok

              -Definition at line 653 of file user_common.php. +Definition at line 654 of file user_common.php.

              References cmpDate(), echo_debug(), echo_error(), GetPeriode(), isDate(), and PeriodeClosed().

              @@ -1171,12 +1171,12 @@ $p_f_id fiche.f_id gen :

              • none return: none

              -Definition at line 630 of file user_common.php. +Definition at line 631 of file user_common.php.

              References $a, and getFicheAttribut(). -


              Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
              Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
              diff --git a/doc/developper/html/user__compta_8php-source.html b/doc/developper/html/user__compta_8php-source.html index 223ee164d..9a1995fe2 100644 --- a/doc/developper/html/user__compta_8php-source.html +++ b/doc/developper/html/user__compta_8php-source.html @@ -74,7 +74,7 @@ 00069 html_page_stop(); 00070 00071 ?> -
              Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
              Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
              diff --git a/doc/developper/html/user__compta_8php.html b/doc/developper/html/user__compta_8php.html index 1411283ed..a45980004 100644 --- a/doc/developper/html/user__compta_8php.html +++ b/doc/developper/html/user__compta_8php.html @@ -129,7 +129,7 @@ Definition at line 28< Definition at line 30 of file user_compta.php. -
              Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
              Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
              diff --git a/doc/developper/html/user__form__ach_8php-source.html b/doc/developper/html/user__form__ach_8php-source.html index de6c99535..610478800 100644 --- a/doc/developper/html/user__form__ach_8php-source.html +++ b/doc/developper/html/user__form__ach_8php-source.html @@ -739,7 +739,7 @@ 00802 } 00803 00804 ?> -
              Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
              Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
              diff --git a/doc/developper/html/user__form__ach_8php.html b/doc/developper/html/user__form__ach_8php.html index 63f318359..6c1c32497 100644 --- a/doc/developper/html/user__form__ach_8php.html +++ b/doc/developper/html/user__form__ach_8php.html @@ -267,7 +267,7 @@ Show the invoice before inserting it the database.

              Definition at line 453 of file user_form_ach.php.

              -References $a_vat, $data, $file, $h, $r, getFicheAttribut(), getFicheName(), GetTvaRate(), isNumber(), METHOD, and name. +References $a_vat, $data, $file, $h, $r, getFicheAttribut(), getFicheName(), GetTvaRate(), isNumber(), METHOD, and name.

              @@ -329,10 +329,10 @@ $p_array contains all the invoice data e_date => e : 01.01.2003 e_client =>

              Definition at line 627 of file user_form_ach.php.

              -References $a_vat, $amount, $comment, $e, $i, $poste, $r, $Res, $seq, Commit(), ComputeTotalVat(), ComputeVat(), echo_debug(), ExecSql(), exit, FormatString(), GetTvaPoste(), InsertJrn(), InsertJrnx(), InsertStockGoods(), isNumber(), NextSequence(), Rollback(), save_upload_document(), SetInternalCode(), and StartSql(). +References $a_vat, $amount, $comment, $e, $i, $poste, $r, $Res, $seq, Commit(), ComputeTotalVat(), ComputeVat(), echo_debug(), ExecSql(), exit, FormatString(), GetTvaPoste(), InsertJrn(), InsertJrnx(), InsertStockGoods(), isNumber(), NextSequence(), Rollback(), save_upload_document(), SetInternalCode(), and StartSql(). -


              Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
              Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
              diff --git a/doc/developper/html/user__form__fin_8php-source.html b/doc/developper/html/user__form__fin_8php-source.html index de4c6292c..48bd5f6d7 100644 --- a/doc/developper/html/user__form__fin_8php-source.html +++ b/doc/developper/html/user__form__fin_8php-source.html @@ -375,7 +375,7 @@ 00417 Commit($p_cn); 00418 } 00419 ?> -
              Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
              Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
              diff --git a/doc/developper/html/user__form__fin_8php.html b/doc/developper/html/user__form__fin_8php.html index 56d0b9b7f..7402d38dc 100644 --- a/doc/developper/html/user__form__fin_8php.html +++ b/doc/developper/html/user__form__fin_8php.html @@ -177,7 +177,7 @@ the "journal"

                Definition at line 147 of file user_form_fin.php.

                -References $file, $flag, $h, $p_jrn, $r, $solde, GetPeriode(), GetSolde(), name, value, and VerifyOperationDate(). +References $file, $flag, $h, $p_jrn, $r, $solde, GetPeriode(), GetSolde(), name, value, and VerifyOperationDate().

                @@ -239,10 +239,10 @@ $p_array contains all the invoice data e_date => e : 01.01.2003 e_bank_accoun

                Definition at line 349 of file user_form_fin.php.

                -References $amount, $e, $poste, $seq, echo_debug(), echo_error(), ExecSql(), exit, FormatString(), InsertJrn(), InsertJrnx(), InsertRapt(), isDate(), isNumber(), NextSequence(), Rollback(), SetInternalCode(), and StartSql(). +References $amount, $e, $poste, $seq, echo_debug(), echo_error(), ExecSql(), exit, FormatString(), InsertJrn(), InsertJrnx(), InsertRapt(), isDate(), isNumber(), NextSequence(), Rollback(), SetInternalCode(), and StartSql(). -


                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__form__ods_8php-source.html b/doc/developper/html/user__form__ods_8php-source.html index 8b3a0cc2a..35b3e8832 100644 --- a/doc/developper/html/user__form__ods_8php-source.html +++ b/doc/developper/html/user__form__ods_8php-source.html @@ -263,7 +263,7 @@ 00291 00292 00293 ?> -
                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__form__ods_8php.html b/doc/developper/html/user__form__ods_8php.html index 01ed226e3..4d9aff6cc 100644 --- a/doc/developper/html/user__form__ods_8php.html +++ b/doc/developper/html/user__form__ods_8php.html @@ -117,7 +117,7 @@ Display the miscellaneous operation Used to show detail, encode a new oper or up

                Definition at line 45 of file user_form_ods.php.

                -References $filter, $flag, $i, $l_line, $p_jrn, $r, CountSql(), echo_error(), GetJrnProperty(), GetPeriode(), GetPosteLibelle(), isNumber(), name, value, and VerifyOperationDate(). +References $filter, $flag, $i, $l_line, $p_jrn, $r, CountSql(), echo_error(), GetJrnProperty(), GetPeriode(), GetPosteLibelle(), isNumber(), name, value, and VerifyOperationDate().

                @@ -181,10 +181,10 @@ Record an buy in the table jrn & jrnx.

                Definition at line 247 of file user_form_ods.php.

                -References $amount, $e, $seq, exit, InsertJrnx(), isNumber(), NextSequence(), and StartSql(). +References $amount, $e, $seq, exit, InsertJrnx(), isNumber(), NextSequence(), and StartSql(). -


                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__form__ven_8php-source.html b/doc/developper/html/user__form__ven_8php-source.html index 54dc79603..5fe82335a 100644 --- a/doc/developper/html/user__form__ven_8php-source.html +++ b/doc/developper/html/user__form__ven_8php-source.html @@ -517,182 +517,179 @@ 00555 00556 00557 $r.='<FORM METHOD="POST" enctype="multipart/form-data" ACTION="'.$href.'">'; -00558 // if we create the invoice from the accountancy module, appl. propose -00559 // to upload a invoice -00560 if ( $_SERVER['SCRIPT_NAME'] == '/user_jrn.php') -00561 { -00562 // check for upload piece -00563 $file=new widget("file"); -00564 $file->table=1; -00565 $r.="<hr>"; -00566 $r.= "<table>"; -00567 $r.="<TR>".$file->IOValue("pj","","Pièce justificative")."</TR>"; -00568 $r.="</table>"; -00569 $r.="<hr>"; -00570 -00571 } -00572 // if we were in the management module, appl. propose to generate an invoice -00573 if ( $_SERVER['SCRIPT_NAME'] == '/commercial.php') -00574 { -00575 // if a template exists propose to choose an invoice template -00576 if ( CountSql($p_cn, -00577 "select md_id,md_name from document_modele where md_type=4") > 0 ) -00578 { -00579 $r.='G&eacute;n&eacute;rer une facture <input type="checkbox" name="gen_invoice" CHECKED>'; -00580 // We propose to generate the invoice and some template -00581 $doc_gen=new widget("select"); -00582 $doc_gen->name="gen_doc"; -00583 $doc_gen->value=make_array($p_cn, -00584 "select md_id,md_name from document_modele where md_type=4"); -00585 $r.=$doc_gen->IOValue(); -00586 -00587 $r.="<hr>"; -00588 } -00589 } -00590 -00591 -00592 $r.=$data; -00593 if ( $sum_with_vat != 0 ) { -00594 $r.='<INPUT TYPE="SUBMIT" name="record_and_print_invoice" value="Sauver" >'; -00595 } -00596 $r.='<INPUT TYPE="SUBMIT" name="correct_new_invoice" value="Corriger">'; -00597 -00598 $r.='</FORM>'; -00599 } -00600 return $r; -00601 -00602 } -00603 -00630 function RecordInvoice($p_cn,$p_array,$p_user,$p_jrn) -00631 { -00632 foreach ( $p_array as $v => $e) -00633 { -00634 ${"$v"}=$e; -00635 } -00636 -00637 // Get the default period -00638 $periode=$p_user->GetPeriode(); -00639 $amount=0.0; -00640 $amount_jrn=0.0; -00641 // Computing total customer -00642 //-- -00643 for ($i=0;$i<$nb_item;$i++) { -00644 // store quantity & goods in array -00645 $a_good[$i]=${"e_march$i"}; -00646 $a_quant[$i]=${"e_quant$i"}; -00647 $a_price[$i]=0; -00648 $a_vat[$i]=${"e_march$i"."_tva_id"}; -00649 // check whether the price is set or no -00650 if ( isNumber(${"e_march$i"."_sell"}) == 0 ) { -00651 if ( $a_good[$i] != "" ) { -00652 // If the price is not set we have to find it from the database -00653 $a_price[$i]=GetFicheAttribut($p_cn,$a_good[$i],ATTR_DEF_PRIX_VENTE); -00654 } -00655 } else { -00656 // The price is valid -00657 $a_price[$i]=${"e_march$i"."_sell"}; -00658 } -00659 $cost=$a_price[$i]*$a_quant[$i]; -00660 $amount+=$cost; -00661 $amount_jrn+=$cost; -00662 }// for -00663 -00664 $comm=FormatString($e_comm); -00665 // Compute VAT -00666 //-- -00667 $a_vat_new=ComputeTotalVat($p_cn,$a_good,$a_quant,$a_price,$a_vat); -00668 $sum_vat=0.0; -00669 if ( $a_vat_new != null ){ -00670 foreach ( $a_vat_new as $element => $t) { -00671 echo_debug('user_form_ven.php',__LINE__," a_vat element $element t $t"); -00672 $sum_vat+=$t; -00673 echo_debug('user_form_ven.php',__LINE__,"sum_vat = $sum_vat"); -00674 } -00675 } -00676 // First we add in jrnx -00677 -00678 // Compute the j_grpt -00679 $seq=NextSequence($p_cn,'s_grpt'); -00680 -00681 -00682 // Debit = client -00683 $poste=GetFicheAttribut($p_cn,$e_client,ATTR_DEF_ACCOUNT); -00684 StartSql($p_cn); -00685 $r=InsertJrnx($p_cn,'d',$p_user->id,$p_jrn,$poste,$e_date,round($amount,2)+round($sum_vat,2),$seq,$periode); -00686 if ( $r == false) { $Rollback($p_cn);exit("error 'user_form_ven.php' __LINE__");} -00687 -00688 // Credit = goods -00689 for ( $i = 0; $i < $nb_item;$i++) { -00690 if ( $a_good[$i] == "" ) continue; -00691 $poste=GetFicheAttribut($p_cn,$a_good[$i],ATTR_DEF_ACCOUNT); +00558 +00559 // check for upload piece +00560 $file=new widget("file"); +00561 $file->table=1; +00562 $r.="<hr>"; +00563 $r.= "<table>"; +00564 $r.="<TR>".$file->IOValue("pj","","Pièce justificative")."</TR>"; +00565 $r.="</table>"; +00566 $r.="<hr>"; +00567 +00568 +00569 // if we were in the management module, appl. propose to generate an invoice +00570 if ( $_SERVER['SCRIPT_NAME'] == '/commercial.php') +00571 { +00572 // if a template exists propose to choose an invoice template +00573 if ( CountSql($p_cn, +00574 "select md_id,md_name from document_modele where md_type=4") > 0 ) +00575 { +00576 $r.='G&eacute;n&eacute;rer une facture <input type="checkbox" name="gen_invoice" CHECKED>'; +00577 // We propose to generate the invoice and some template +00578 $doc_gen=new widget("select"); +00579 $doc_gen->name="gen_doc"; +00580 $doc_gen->value=make_array($p_cn, +00581 "select md_id,md_name from document_modele where md_type=4"); +00582 $r.=$doc_gen->IOValue(); +00583 +00584 $r.="<hr>"; +00585 } +00586 } +00587 +00588 +00589 $r.=$data; +00590 if ( $sum_with_vat != 0 ) { +00591 $r.='<INPUT TYPE="SUBMIT" name="record_and_print_invoice" value="Sauver" >'; +00592 } +00593 $r.='<INPUT TYPE="SUBMIT" name="correct_new_invoice" value="Corriger">'; +00594 +00595 $r.='</FORM>'; +00596 } +00597 return $r; +00598 +00599 } +00600 +00627 function RecordInvoice($p_cn,$p_array,$p_user,$p_jrn) +00628 { +00629 foreach ( $p_array as $v => $e) +00630 { +00631 ${"$v"}=$e; +00632 } +00633 +00634 // Get the default period +00635 $periode=$p_user->GetPeriode(); +00636 $amount=0.0; +00637 $amount_jrn=0.0; +00638 // Computing total customer +00639 //-- +00640 for ($i=0;$i<$nb_item;$i++) { +00641 // store quantity & goods in array +00642 $a_good[$i]=${"e_march$i"}; +00643 $a_quant[$i]=${"e_quant$i"}; +00644 $a_price[$i]=0; +00645 $a_vat[$i]=${"e_march$i"."_tva_id"}; +00646 // check whether the price is set or no +00647 if ( isNumber(${"e_march$i"."_sell"}) == 0 ) { +00648 if ( $a_good[$i] != "" ) { +00649 // If the price is not set we have to find it from the database +00650 $a_price[$i]=GetFicheAttribut($p_cn,$a_good[$i],ATTR_DEF_PRIX_VENTE); +00651 } +00652 } else { +00653 // The price is valid +00654 $a_price[$i]=${"e_march$i"."_sell"}; +00655 } +00656 $cost=$a_price[$i]*$a_quant[$i]; +00657 $amount+=$cost; +00658 $amount_jrn+=$cost; +00659 }// for +00660 +00661 $comm=FormatString($e_comm); +00662 // Compute VAT +00663 //-- +00664 $a_vat_new=ComputeTotalVat($p_cn,$a_good,$a_quant,$a_price,$a_vat); +00665 $sum_vat=0.0; +00666 if ( $a_vat_new != null ){ +00667 foreach ( $a_vat_new as $element => $t) { +00668 echo_debug('user_form_ven.php',__LINE__," a_vat element $element t $t"); +00669 $sum_vat+=$t; +00670 echo_debug('user_form_ven.php',__LINE__,"sum_vat = $sum_vat"); +00671 } +00672 } +00673 // First we add in jrnx +00674 +00675 // Compute the j_grpt +00676 $seq=NextSequence($p_cn,'s_grpt'); +00677 +00678 +00679 // Debit = client +00680 $poste=GetFicheAttribut($p_cn,$e_client,ATTR_DEF_ACCOUNT); +00681 StartSql($p_cn); +00682 $r=InsertJrnx($p_cn,'d',$p_user->id,$p_jrn,$poste,$e_date,round($amount,2)+round($sum_vat,2),$seq,$periode); +00683 if ( $r == false) { $Rollback($p_cn);exit("error 'user_form_ven.php' __LINE__");} +00684 +00685 // Credit = goods +00686 for ( $i = 0; $i < $nb_item;$i++) { +00687 if ( $a_good[$i] == "" ) continue; +00688 $poste=GetFicheAttribut($p_cn,$a_good[$i],ATTR_DEF_ACCOUNT); +00689 +00690 // don't record operation of 0 +00691 if ( $a_price[$i]*$a_quant[$i] == 0 ) continue; 00692 -00693 // don't record operation of 0 -00694 if ( $a_price[$i]*$a_quant[$i] == 0 ) continue; -00695 -00696 // record into jrnx -00697 $j_id=InsertJrnx($p_cn,'c',$p_user->id,$p_jrn,$poste,$e_date,round($a_price[$i]*$a_quant[$i],2),$seq,$periode); -00698 if ( $j_id == false) { $Rollback($p_cn);exit("error 'user_form_ven.php' __LINE__");} -00699 // always save quantity but in withStock we can find what card need a stock management -00700 if ( InsertStockGoods($p_cn,$j_id,$a_good[$i],$a_quant[$i],'c') == false ) { -00701 $Rollback($p_cn);exit("error 'user_form_ven.php' __LINE__");} -00702 } // end loop -00703 -00704 // Insert Vat -00705 -00706 if ( $a_vat_new != null ) // no vat -00707 -00708 { -00709 foreach ($a_vat_new as $tva_id => $tva_amount ) { -00710 $poste=GetTvaPoste($p_cn,$tva_id,'c'); -00711 if ($tva_amount == 0 ) continue; -00712 $r=InsertJrnx($p_cn,'c',$p_user->id,$p_jrn,$poste,$e_date,round($tva_amount,2),$seq,$periode); -00713 if ( $r == false ) { Rollback($p_cn); exit(" Error 'user_form_ven.php' __LINE__");} -00714 -00715 } -00716 } -00717 echo_debug('user_form_ven.php',__LINE__,"echeance = $e_ech"); -00718 $r=InsertJrn($p_cn,$e_date,$e_ech,$p_jrn,"Invoice",round($amount_jrn,2)+round($sum_vat,2),$seq,$periode); -00719 if ( $r == false ) { Rollback($p_cn); exit(" Error 'user_form_ven.php' __LINE__");} -00720 // Set Internal code and Comment -00721 $internal=SetInternalCode($p_cn,$seq,$p_jrn); -00722 $comment=(FormatString($e_comm) == null )?$internal." client : ".GetFicheName($p_cn,$e_client):FormatString($e_comm); -00723 -00724 // Update and set the invoice's comment -00725 $Res=ExecSql($p_cn,"update jrn set jr_comment='".$comment."' where jr_grpt_id=".$seq); -00726 if ( $Res == false ) { Rollback($p_cn); exit(" Error 'user_form_ven.php' __LINE__"); }; -00727 -00728 if ( isset ($_FILES)) { -00729 if ( sizeof($_FILES) != 0 ) -00730 save_upload_document($p_cn,$seq); -00731 } -00732 -00733 // save the quantity, then we can make an invoice -00734 for ( $i=0;$i < $nb_item;$i++) -00735 { -00736 // don't record operation of 0 -00737 if ( $a_price[$i]*$a_quant[$i] == 0 ) continue; -00738 -00739 // insert into the table quant_sold -00740 // Note that negative value are also saved but not the vat ! -00741 if ( $a_vat[$i] == -1) { -00742 $computed_vat=0; -00743 $vat_code="null"; -00744 } else { -00745 $computed_vat=ComputeVat($p_cn,$a_good[$i],$a_quant[$i],$a_price[$i],$a_vat[$i]); -00746 $vat_code=$a_vat[$i]; -00747 } -00748 $r=ExecSql($p_cn,"select insert_quant_sold ". -00749 "('".$internal."','".$a_good[$i]."',".$a_quant[$i].",".$a_price[$i]*$a_quant[$i]. -00750 ",".$computed_vat. -00751 ",".$vat_code.",'".$e_client."')"); -00752 if ( $r == false ) { Rollback($p_cn); exit(" Error 'user_form_ven.php' __LINE__"); }; -00753 } -00754 Commit($p_cn); -00755 return $comment; -00756 } -00757 -00758 ?> -
                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +00693 // record into jrnx +00694 $j_id=InsertJrnx($p_cn,'c',$p_user->id,$p_jrn,$poste,$e_date,round($a_price[$i]*$a_quant[$i],2),$seq,$periode); +00695 if ( $j_id == false) { $Rollback($p_cn);exit("error 'user_form_ven.php' __LINE__");} +00696 // always save quantity but in withStock we can find what card need a stock management +00697 if ( InsertStockGoods($p_cn,$j_id,$a_good[$i],$a_quant[$i],'c') == false ) { +00698 $Rollback($p_cn);exit("error 'user_form_ven.php' __LINE__");} +00699 } // end loop +00700 +00701 // Insert Vat +00702 +00703 if ( $a_vat_new != null ) // no vat +00704 +00705 { +00706 foreach ($a_vat_new as $tva_id => $tva_amount ) { +00707 $poste=GetTvaPoste($p_cn,$tva_id,'c'); +00708 if ($tva_amount == 0 ) continue; +00709 $r=InsertJrnx($p_cn,'c',$p_user->id,$p_jrn,$poste,$e_date,round($tva_amount,2),$seq,$periode); +00710 if ( $r == false ) { Rollback($p_cn); exit(" Error 'user_form_ven.php' __LINE__");} +00711 +00712 } +00713 } +00714 echo_debug('user_form_ven.php',__LINE__,"echeance = $e_ech"); +00715 $r=InsertJrn($p_cn,$e_date,$e_ech,$p_jrn,"Invoice",round($amount_jrn,2)+round($sum_vat,2),$seq,$periode); +00716 if ( $r == false ) { Rollback($p_cn); exit(" Error 'user_form_ven.php' __LINE__");} +00717 // Set Internal code and Comment +00718 $internal=SetInternalCode($p_cn,$seq,$p_jrn); +00719 $comment=(FormatString($e_comm) == null )?$internal." client : ".GetFicheName($p_cn,$e_client):FormatString($e_comm); +00720 +00721 // Update and set the invoice's comment +00722 $Res=ExecSql($p_cn,"update jrn set jr_comment='".$comment."' where jr_grpt_id=".$seq); +00723 if ( $Res == false ) { Rollback($p_cn); exit(" Error 'user_form_ven.php' __LINE__"); }; +00724 +00725 if ( isset ($_FILES)) { +00726 if ( sizeof($_FILES) != 0 ) +00727 save_upload_document($p_cn,$seq); +00728 } +00729 +00730 // save the quantity, then we can make an invoice +00731 for ( $i=0;$i < $nb_item;$i++) +00732 { +00733 // don't record operation of 0 +00734 if ( $a_price[$i]*$a_quant[$i] == 0 ) continue; +00735 +00736 // insert into the table quant_sold +00737 // Note that negative value are also saved but not the vat ! +00738 if ( $a_vat[$i] == -1) { +00739 $computed_vat=0; +00740 $vat_code="null"; +00741 } else { +00742 $computed_vat=ComputeVat($p_cn,$a_good[$i],$a_quant[$i],$a_price[$i],$a_vat[$i]); +00743 $vat_code=$a_vat[$i]; +00744 } +00745 $r=ExecSql($p_cn,"select insert_quant_sold ". +00746 "('".$internal."','".$a_good[$i]."',".$a_quant[$i].",".$a_price[$i]*$a_quant[$i]. +00747 ",".$computed_vat. +00748 ",".$vat_code.",'".$e_client."')"); +00749 if ( $r == false ) { Rollback($p_cn); exit(" Error 'user_form_ven.php' __LINE__"); }; +00750 } +00751 Commit($p_cn); +00752 return array($internal,$comment); +00753 } +00754 +00755 ?> +
                Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__form__ven_8php.html b/doc/developper/html/user__form__ven_8php.html index 5cc426e4b..ce0d28971 100644 --- a/doc/developper/html/user__form__ven_8php.html +++ b/doc/developper/html/user__form__ven_8php.html @@ -260,7 +260,7 @@ FormVenteView ($p_cn,$p_jrn,$p_periode,$p_array,$p_number,$p_doc='html',$p_comme

                Definition at line 425 of file user_form_ven.php.

                -References $a_vat, $data, $file, $r, CountSql(), echo_error(), exit, getFicheAttribut(), getFicheName(), GetTvaRate(), isNumber(), make_array(), METHOD, name, and value. +References $a_vat, $data, $file, $r, CountSql(), echo_error(), exit, getFicheAttribut(), getFicheName(), GetTvaRate(), isNumber(), make_array(), METHOD, name, and value.

                @@ -322,15 +322,15 @@ RecordInvoice($p_cn,$p_array,$p_user,$p_jrn)

                $p_jrn current folder (journal) -

                Returns:
                true on success
                +
                Returns:
                array ( internal_code,true on success)

                -Definition at line 630 of file user_form_ven.php. +Definition at line 627 of file user_form_ven.php.

                -References $a_vat, $amount, $comment, $e, $i, $poste, $r, $Res, $seq, $sum_vat, $t, Commit(), ComputeTotalVat(), ComputeVat(), echo_debug(), ExecSql(), exit, FormatString(), GetTvaPoste(), InsertJrn(), InsertJrnx(), InsertStockGoods(), isNumber(), NextSequence(), Rollback(), save_upload_document(), SetInternalCode(), and StartSql(). +References $a_vat, $amount, $comment, $e, $i, $poste, $r, $Res, $seq, $sum_vat, $t, Commit(), ComputeTotalVat(), ComputeVat(), echo_debug(), ExecSql(), exit, FormatString(), GetTvaPoste(), InsertJrn(), InsertJrnx(), InsertStockGoods(), isNumber(), NextSequence(), Rollback(), save_upload_document(), SetInternalCode(), and StartSql(). -


                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__impress_8php-source.html b/doc/developper/html/user__impress_8php-source.html index 1a10e35b3..b098a1400 100644 --- a/doc/developper/html/user__impress_8php-source.html +++ b/doc/developper/html/user__impress_8php-source.html @@ -107,7 +107,7 @@ 00102 00103 html_page_stop(); 00104 ?> -
                Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__impress_8php.html b/doc/developper/html/user__impress_8php.html index 658a7773d..6aeb57b7d 100644 --- a/doc/developper/html/user__impress_8php.html +++ b/doc/developper/html/user__impress_8php.html @@ -361,7 +361,7 @@ Referenced by ParseFor Definition at line 85 of file user_impress.php. -
                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__jrn_8php-source.html b/doc/developper/html/user__jrn_8php-source.html index 75df0e430..f36e7f579 100644 --- a/doc/developper/html/user__jrn_8php-source.html +++ b/doc/developper/html/user__jrn_8php-source.html @@ -136,7 +136,7 @@ 00131 html_page_stop(); 00132 00133 ?> -
                Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__jrn_8php.html b/doc/developper/html/user__jrn_8php.html index a03a3fbdb..cb45f42ba 100644 --- a/doc/developper/html/user__jrn_8php.html +++ b/doc/developper/html/user__jrn_8php.html @@ -210,7 +210,7 @@ Definition at line 35 Definition at line 66 of file user_jrn.php. -
                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__login_8php-source.html b/doc/developper/html/user__login_8php-source.html index 1e70b0d3d..b3b36ab77 100644 --- a/doc/developper/html/user__login_8php-source.html +++ b/doc/developper/html/user__login_8php-source.html @@ -55,7 +55,7 @@ 00050 <? 00051 html_page_stop(); 00052 ?> -
                Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__login_8php.html b/doc/developper/html/user__login_8php.html index 5c6c87bf0..2140899d3 100644 --- a/doc/developper/html/user__login_8php.html +++ b/doc/developper/html/user__login_8php.html @@ -129,7 +129,7 @@ Definition at line 4431 of file user_login.php. -
                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__menu_8php-source.html b/doc/developper/html/user__menu_8php-source.html index d9be7f3b7..606b7adc1 100644 --- a/doc/developper/html/user__menu_8php-source.html +++ b/doc/developper/html/user__menu_8php-source.html @@ -547,7 +547,7 @@ 00734 } 00735 00736 ?> -
                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__menu_8php.html b/doc/developper/html/user__menu_8php.html index 724dbd9a4..ec0c86836 100644 --- a/doc/developper/html/user__menu_8php.html +++ b/doc/developper/html/user__menu_8php.html @@ -963,7 +963,7 @@ Definition at line 405$opt, $r, echo_debug(), METHOD, name, size, and value. -
                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__pref_8php-source.html b/doc/developper/html/user__pref_8php-source.html index dfac3435e..ecaf59e45 100644 --- a/doc/developper/html/user__pref_8php-source.html +++ b/doc/developper/html/user__pref_8php-source.html @@ -66,7 +66,7 @@ 00061 require_once("pref.inc.php"); 00062 html_page_stop(); 00063 ?> -
                Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__pref_8php.html b/doc/developper/html/user__pref_8php.html index b5aef86b6..cc5025271 100644 --- a/doc/developper/html/user__pref_8php.html +++ b/doc/developper/html/user__pref_8php.html @@ -129,7 +129,7 @@ Definition at line 2932 of file user_pref.php. -
                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__sec_8php-source.html b/doc/developper/html/user__sec_8php-source.html index 7a93997da..bfd00b784 100644 --- a/doc/developper/html/user__sec_8php-source.html +++ b/doc/developper/html/user__sec_8php-source.html @@ -269,7 +269,7 @@ 00264 echo "</DIV>"; 00265 html_page_stop(); 00266 ?> -
                Generated on Fri Jun 23 00:28:22 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:07 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__sec_8php.html b/doc/developper/html/user__sec_8php.html index e2da4c6b4..9ff296346 100644 --- a/doc/developper/html/user__sec_8php.html +++ b/doc/developper/html/user__sec_8php.html @@ -463,7 +463,7 @@ Definition at line 16746 of file user_sec.php. -
                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__update_8php-source.html b/doc/developper/html/user__update_8php-source.html index 436ec8960..85f2008af 100644 --- a/doc/developper/html/user__update_8php-source.html +++ b/doc/developper/html/user__update_8php-source.html @@ -57,7 +57,7 @@ 00052 00053 } // if update_record 00054 ?> -
                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:08 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/doc/developper/html/user__update_8php.html b/doc/developper/html/user__update_8php.html index 4c816115a..79b33892f 100644 --- a/doc/developper/html/user__update_8php.html +++ b/doc/developper/html/user__update_8php.html @@ -104,7 +104,7 @@ Definition at line 36< Definition at line 28 of file user_update.php. -
                Generated on Fri Jun 23 00:28:23 2006 for phpcompta by  +
                Generated on Fri Jun 23 21:19:09 2006 for phpcompta by  doxygen 1.4.4
                diff --git a/html/index.php b/html/index.php index a7bfd853f..728b94d45 100644 --- a/html/index.php +++ b/html/index.php @@ -3,9 +3,24 @@ /*! \file * \brief default page where user access */ +/*! \mainpage PhpCompta + * + * \section intro_sec Introduction + * + * Cette partie contient de la documentation pour les développeurs. + * + * \section convention_code Convention de codage + *

                + * Tant que ce peut réutiliser ce qui existe déjà, + *

                  + *
                1. Documenter avec les tags doxygen votre nouveau code,
                2. + *
                3. Les noms de fichiers sont *.inc.php pour les fichiers à include
                4. + *
                5. et class_*.php pour les fichiers contenant des classes.
                6. + * + */ -?> echo ' + PhpCompta diff --git a/html/pcmn_update.php b/html/pcmn_update.php index 113ca707f..8cc06fb66 100644 --- a/html/pcmn_update.php +++ b/html/pcmn_update.php @@ -70,6 +70,8 @@ echo '
                  '; /* Analyse ce qui est demandé */ /* Effacement d'une ligne */ if (isset ($_GET['action'])) { +//////////////////////////////////////////////////////////////////////////////// +// Action == remove a line if ( $_GET['action']=="del" ) { if ( isset ($_GET['l']) ) { /* Ligne a enfant*/ @@ -89,10 +91,11 @@ if (isset ($_GET['action'])) { } // isset ($l) } //$action == del } // isset action +//////////////////////////////////////////////////////////////////////////////// /* Ajout d'une ligne */ if ( isset ( $_POST["Add"] ) ) { extract ($_POST); - if ( isset ( $p_val) && isset ( $p_lib ) ) { + if ( isset ( $p_val) && isset ( $p_lib ) && isNumber(trim($p_val)) && isNumber(trim($p_parent)) ) { $p_val=trim($p_val); $p_lib=FormatString(trim($p_lib)); $p_parent=$_POST["p_parent"]; @@ -111,7 +114,18 @@ if ( isset ( $_POST["Add"] ) ) { if ( pg_NumRows($Ret) == 0 ) { echo ''; } else { - $Ret=ExecSql($cn,"insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent) values ('$p_val','$p_lib',$p_parent)"); + // Check if the account already exists + + $Count=CountSql($cn,"select * from tmp_pcmn where pcm_val='".$p_val."'"); + if ( $Count != 0 ) + { + // Alert message account already exists + echo ''; + + } else + { + $Ret=ExecSql($cn,"insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent) values ('$p_val','$p_lib',$p_parent)"); + } } } else { echo '

                  Valeurs invalides

                  '; diff --git a/html/style-light.css b/html/style-light.css index a7538df11..96c8c1e08 100644 --- a/html/style-light.css +++ b/html/style-light.css @@ -42,6 +42,14 @@ h2.info { padding:0px; margin:0px; } +u_redcontent h2.info { + background:#879ed4; + color:white; + font-size:14pt; + text-align:center; + padding:0px; + margin:0px; +} h3.info { background:#879ed4; color:white; diff --git a/include/class_document.php b/include/class_document.php index 0b4c8d995..b2239631f 100644 --- a/include/class_document.php +++ b/include/class_document.php @@ -585,6 +585,29 @@ class Document } return $r; } + /*!\brief remove a row from the table document, the lob object is not deleted + * because can be linked elsewhere + */ + function remove() + { + $sql='delete from document where d_id='.$this->d_id; + ExecSql($this->db,$sql); + } + /*!\brief Copy a document from the table document into the concerned row + * the document is not copied : it is only a link + * + * \param $p_internal internal code + * + */ + function MoveDocumentPj($p_internal) + { + + $sql=sprintf("update jrn set jr_pj=%s,jr_pj_name='%s',jr_pj_type='%s' where jr_internal='%s'", + $this->d_lob,$this->d_filename,$this->d_mimetype,$p_internal); + ExecSql($this->db,$sql); + // clean the table document + $this->remove(); + } } \ No newline at end of file diff --git a/include/facture.inc.php b/include/facture.inc.php index 1d5e1f070..f20c13596 100644 --- a/include/facture.inc.php +++ b/include/facture.inc.php @@ -181,11 +181,15 @@ if ( isset ($_POST['add_item']) || isset ($_POST["correct_new_invoice"]) ) // if ( isset($_POST['record_and_print_invoice'])) { - // First we save the invoice - RecordInvoice($cn,$_POST,$User,$p_jrn); + // First we save the invoice, the internal code will be used to change the description + // and upload the file + list ($internal,$e)=RecordInvoice($cn,$_POST,$User,$p_jrn); + + $form=FormVenteView($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,$_POST['nb_item'],'noform',''); - // $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$_POST,true,$_POST['nb_item']); + echo '
                  '; + echo '

                  Opération '.$internal.' enregistré

                  '; echo $form; echo '
                  '; // Show the details of the encoded invoice @@ -197,6 +201,8 @@ if ( isset($_POST['record_and_print_invoice'])) $doc->md_id=$_POST['gen_doc']; $doc->ag_id=0; $str_file=$doc->Generate(); + // Move the document to the jrn + $doc->MoveDocumentPj($internal); echo $str_file; } echo ''; diff --git a/include/user_action_ach.php b/include/user_action_ach.php index af1c7aea9..17d56be93 100644 --- a/include/user_action_ach.php +++ b/include/user_action_ach.php @@ -49,7 +49,7 @@ if ( $action == 'new' ) { $submit=' '; $jrn=new jrn($cn, $_GET['p_jrn']); - $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false,$jrn->getDefLine('deb')); + $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false,$jrn->getDefLine('cred')); echo '
                  '; echo $r; echo "

                  On-line calculator

                  ".JS_CALC_LINE."
                  "; diff --git a/include/user_action_ven.php b/include/user_action_ven.php index 525c72fd0..ed4affe32 100644 --- a/include/user_action_ven.php +++ b/include/user_action_ven.php @@ -72,7 +72,7 @@ if ( $action == 'insert_vente' ) { $jrn=new jrn($cn, $_GET['p_jrn']); echo_debug('user_action_ven.php',__LINE__,"Blank form"); // Show an empty form of invoice - $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),null,false,$jrn->GetDefLine('cred')); + $form=FormVenInput($cn,$_GET['p_jrn'],$User->GetPeriode(),null,false,$jrn->GetDefLine('deb')); echo '
                  '; echo $form; echo '
                  '; diff --git a/include/user_common.php b/include/user_common.php index 7b64fceb3..e5cbc29d9 100644 --- a/include/user_common.php +++ b/include/user_common.php @@ -20,6 +20,7 @@ // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr include_once("postgres.php"); +require_once("class_document.php"); /*! \file * \brief Common functions */ @@ -932,5 +933,5 @@ function jrn_navigation_bar($p_offset,$p_line,$p_size=0,$p_page=1) return $r; - } + diff --git a/include/user_form_ven.php b/include/user_form_ven.php index 222d23548..5c127778c 100644 --- a/include/user_form_ven.php +++ b/include/user_form_ven.php @@ -555,20 +555,17 @@ function FormVenteView ($p_cn,$p_jrn,$p_periode,$p_array,$p_number,$p_doc='form' $r.='
                  '; - // if we create the invoice from the accountancy module, appl. propose - // to upload a invoice - if ( $_SERVER['SCRIPT_NAME'] == '/user_jrn.php') - { - // check for upload piece - $file=new widget("file"); - $file->table=1; - $r.="
                  "; - $r.= ""; - $r.="".$file->IOValue("pj","","Pièce justificative").""; - $r.="
                  "; - $r.="
                  "; - } + // check for upload piece + $file=new widget("file"); + $file->table=1; + $r.="
                  "; + $r.= ""; + $r.="".$file->IOValue("pj","","Pièce justificative").""; + $r.="
                  "; + $r.="
                  "; + + // if we were in the management module, appl. propose to generate an invoice if ( $_SERVER['SCRIPT_NAME'] == '/commercial.php') { @@ -625,7 +622,7 @@ function FormVenteView ($p_cn,$p_jrn,$p_periode,$p_array,$p_number,$p_doc='form' * \param $p_periode periode * \param $p_jrn current folder (journal) * - * \return true on success + * \return array ( internal_code,true on success) */ function RecordInvoice($p_cn,$p_array,$p_user,$p_jrn) { @@ -752,7 +749,7 @@ function RecordInvoice($p_cn,$p_array,$p_user,$p_jrn) if ( $r == false ) { Rollback($p_cn); exit(" Error 'user_form_ven.php' __LINE__"); }; } Commit($p_cn); - return $comment; + return array($internal,$comment); } ?> diff --git a/sql/upgrade.sql b/sql/upgrade.sql index ad45143a6..25eba5c29 100644 --- a/sql/upgrade.sql +++ b/sql/upgrade.sql @@ -450,3 +450,14 @@ insert into attr_min values(16,18); insert into attr_min values(16,25); insert into attr_min values(16,26); +CREATE or replace FUNCTION t_jrn_def_sequence() RETURNS trigger AS $body$ + BEGIN + execute 'create sequence s_jrn_'||NEW.jrn_def_id; +raise notice 'Creating sequence s_jrn_%',NEW.jrn_def_id; + RETURN NEW; + END; +$body$ LANGUAGE plpgsql; + +CREATE TRIGGER trigger_jrn_def_sequence_i after INSERT oN jrn_def + FOR EACH ROW EXECUTE PROCEDURE t_jrn_def_sequence(); +