From 21dd3814b49f2633e750abb3cec8341658554e35 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Mon, 21 Nov 2011 20:20:59 +0000 Subject: [PATCH] =?UTF-8?q?fichier=20obsolete,=20enl=C3=A8ve=20erreur=20en?= =?UTF-8?q?=20mode=20strict,=20fichiers=20css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/caisse.php | 69 -- html/image/loading.gif | Bin 8546 -> 4176 bytes html/index.php | 22 +- html/style-color.css | 1202 +++++++++++++------------ html/style-light.css | 305 ++++--- include/class_acc_ledger_fin.php | 6 +- include/class_acc_ledger_purchase.php | 31 +- include/class_acc_ledger_sold.php | 27 +- include/class_html_input.php | 2 +- include/class_jrn_def_sql.php | 2 +- 10 files changed, 821 insertions(+), 845 deletions(-) delete mode 100644 html/caisse.php diff --git a/html/caisse.php b/html/caisse.php deleted file mode 100644 index 130970b59..000000000 --- a/html/caisse.php +++ /dev/null @@ -1,69 +0,0 @@ - - - '; - -for ($i=0;$i<10;$i++) -{ - echo 'montant '; - echo ''; - echo '
'; -} - - - -for ($i=0; $i < 5;$i++) -{ - echo ''; -} -?> - - - diff --git a/html/image/loading.gif b/html/image/loading.gif index 648ab17097d4f68284b67f9b6c04112057f6ad75..1d47a9dda30ef0eb94540ddfaffc9df764a712a2 100644 GIT binary patch literal 4176 zcmb`KYgAKr*2YgxPI69?LoSD$5H1M`5C}>_M4^ZQb3ziii3vufURDD_7h1=n^)|Mh z<_bvw8!%d6stpLJ?X;pr#j2fvXi-~@)?4ijEw<=Xt1WG{b^eZh*ZXz)etGxjz4qE` z|JJkje&!ULa%Wb_AQ|)v1U-531e{lbfByy^ehYrS27b8?e!ma?{TMv{6+AcrZaTr| zRp84NV4@TJ@&$POGx+Ho__7Y1p9(Hf;NdveAf;x>A{68aBmP?nhho+ z;L|)1(SR#O;JY`#k7vR4rQqT-VB81p>;kvDz^7U;u>;&60$0u8!6|U32Ymh<_~lD* z_W=0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4jat6a34Z?cf!P7UuviS?y~nQ) zBOo%O-fCUMnE2b6Q$UkB=1jE0+T#yJ;`G|jXAkpexy!9Xc%p7CO1F6RRmS% zVv$b(oUYJSueB!xzFB*=>8uA!&c6V4RZZB_zA2J;RH`tZNsVK(qY&z7lmQl(a|ujx zgIVDE0U7lx!xhd6ImfO?lnf(I50@X2Ol2P!3&XyQvA?7kc6`J;Qk^p$YPp+yRUWN$ z>P(=>yBDLkH@Prm#lT4Sf1*sjYGY249F|OzX|9_V(2Cx}&gIt$zN_P?dibbd0KgN7 zhDL)GZ6Iq`WS+^%Yjfr{r*snW_*w^=*Pp@_xI}13M zZ|vsaVh*n4;K02xl!N>D#!wE9-QZ9T?&cd4IXI4Qyy1YGIJmHH%;MlC{?|dAdyVz| zSGzwMnVff+aIQKe#07`ljCe{aY35Hs0GG9Y*hVg^D%UbYM(PG(P|Q zy~F&aZ{8}N4^)(NaFE0!;DBw61KdIZEe=V9h)XynB&DP!C8q|bCtk_EmW#i9Bdg$g z=GBa1oOnbma119HaR(5^bMsw;a4RwD8x@*A?$Hd*?Re+A! zS3>dWb#*AE8OYp=#97F^BKVzQFD||M@b3BhKNRNYly}%CSMh=?T;WL_$R1u4MoDY3 zYzu*kmeI@b&BlgCOG&ym4xM#mqNEwxP8C%>gu1hEp}4Y>bhDp$Ma7NeA$&9XSGoiA zM%A-VnPg*Q)(HOEbKRNxSwHTr>$D5=z)4eHh)xFcawP=W(urJdUAL4vq7*cB+zAzm zqdUnTe_l9JiJk8KAxmsK^rizQp<5xssZ@&_ZKI?m8|Tm*C-%#`H@-_(+v4Rck}{rn z@xp9C_7Yyy%=CZ`s9{AmEPWbSo|3NHA6Zd;X8V|+FJ(u6b4#{2FJU5C#Dqm z8+`cj@RrS+k#MDjo|o*U#aFKt-yq+vym-H`xaoZ *
  • Faire de la doc
  • * - * + * *

    * \section conseil Conseils *

    @@ -63,7 +63,7 @@ * * \section convention_code Coding convention *

    - * Some coding conventions to have a homogene code + * Some coding conventions to have a homogene code *

      *
    1. Reuse the existing code ,
    2. *
    3. Improve and check that the function is still working
    4. @@ -71,7 +71,7 @@ *
    5. In the folder include: filenames ending by *.inc.php will be executer after being included
    6. *
    7. Dans le répertoire include: Les noms de fichiers sont *.php pour les fichiers contenant des fonctions uniquement
    8. *
    9. In the folder include: filenames end by *.php if they contains only function
    10. - *
    11. In the folder include: filenames starting with + *
    12. In the folder include: filenames starting with * class_*.php if it is related to a class.
    13. *
    14. In the folder include/template: files for the HTML presentation *
    15. @@ -79,7 +79,7 @@ * *
    16. Write documentation
    17. *
    - * + * *

    * \section advice Advices *

    @@ -122,8 +122,8 @@ echo ' */ div.add_todo_list { - border:1px solid blue; - display:none; - background-color:#CFCDFF; - padding:3; - position:absolute; - text-align:left; - line-height:3em; - z-index:1} -div.gest_name { - float:right; - margin-right:150; - margin-top:15 -} -h2.gest_name { - border-left: 1px solid #403a8d; - border-bottom:1px solid #403a8d; - border-top:1px solid #403a8d; - border-right:1px solid #403a8d; - padding: 5px; - font-size:140%; - color:#403a8d; + border:1px solid blue; + display:none; + background-color:#BFD0FF; + padding:3; + position:absolute; + text-align:left; + line-height:3em; + z-index:1} +div.welcome { +} +div.gest_name { + float:right; + margin-right:150; + margin-top:15 +} +h2.gest_name { + border-left: 5px solid #403a8d; + border-bottom:1px solid #b4bbc2; + border-top:1px solid #b4bbc2; + border-right:1px solid #b4bbc2; + padding: 5px; } div.op_detail_frame { - background-color:#e4e7ed; - height:100%; width:100%; + background-color:#e4e7ed; + height:100%; width:100%; } div.inner_box { - background-color:#ccffcc; - font-size:10; - font-family:helvetica,arial,sans-serif; - padding:0; - margin:0; - overflow:hidden; - z-index:3; + background-color:#e4e7ed; + font-size:10; + font-family:helvetica,sans-serif; + padding:0; + margin:0; + overflow:hidden; + z-index:3; - position:absolute; - left:10%; +position:absolute; +left:10%; - border:1px solid darkblue; +border:1px solid darkblue; } div.op_detail_title { - background-color:grey; - /* width:500;*/ + background-color:grey; +/* width:500;*/ } div#div_jrn{ - position:absolute; - border:1px solid black; - top:15%;left:100; - visibility:hidden; - z-index:2; - width:50em; - background-color:#EDF3FF; + position:absolute; + border:1px solid black; + top:15%;left:100; + visibility:hidden; + z-index:2; + width:50em; + background-color:#EDF3FF; } -div#div_cat{ - position:absolute; - border:1px solid black; - top:15%;left:100; - visibility:hidden; - z-index:2; - width:50em; - background-color:#EDF3FF; + div#div_cat{ + position:absolute; + border:1px solid black; + top:15%;left:100; + visibility:hidden; + z-index:2; + width:50em; + background-color:#EDF3FF; } + div.divinfo -{ color:red;text-align:right;display:block;width:30em;height:13;} +{ color:red;text-align:right;display:block;width:30em;height:13;font-weight:bold} div#search_form { - position:absolute; - border:1px solid black; - top:15%;left:100; - margin-left:25% - z-index:2; - width:50%; - display:none; - background-color:#e4e7ed; + position:absolute; + border:1px solid black; + top:15%;left:100; + margin-left:25% + z-index:2; + width:50%; + display:none; + background-color:#e4e7ed; } -table.result td + +table.table_large td, table.result td { - padding-left:5px; - padding-right:5px; + padding-left:5px; + padding-right:5px; } table.info_op { - margin-left: 30%; - margin-right: 30%; + font-size:18; + margin-right:30%; width:20%; } @@ -934,11 +946,11 @@ table.info_op tr { font-size:14; background:white; -width:5% } h2#jrn_name { margin-right:30%; + float: right; } tr.footer{ @@ -951,6 +963,7 @@ span.remain { font-weight: bold; color:black; } + div#jrn_name_div { float: right; @@ -966,14 +979,14 @@ div#jrn_name_div #direct { display:inline; - float:right; - + float:left; + width:400px; } -.direct +#calc { - font-size:6px; - border:groove 1px #00ff00; + display:inline; + float:left; } div#wait_box { @@ -1005,4 +1018,57 @@ div#div_jrnsearch_op{ width:50em; background-color:#EDF3FF; +} +ul { + padding-left: 110px; +} +a.line,div.content a.line +{ +font-size:110%; + text-decoration:underline; + display:inline; + color: #0000ff; +} +a.line:hover,div_content a.line +{ +font-size:110%; + text-decoration:underline; + display:inline; + color: #0000ff; + background-color: rgb(93, 144, 205); +} +#close_div +{ + background-color:white; + color:blue; + text-decoration:none; + border:1px solid blue; + margin-left: 2px; + margin-right:2px; + margin-top:0px; + font-size:10px; +} +table.table_large tr.odd ,table.table_large tr.even { + + height:32px; +} +#calc1 +{ + position:absolute; + display:block; + top:30px; + left:150px; + width:300px; + border:1px solid black; + background-color:#aec3e8; + font-size:16px; + padding: 20px 20px; +} +span.invoice +{ + font-size: 120%; + font-style: italic; + display:block; + margin: 20px; + font-weight: bold; } \ No newline at end of file diff --git a/html/style-light.css b/html/style-light.css index 008654e19..04a89dae1 100644 --- a/html/style-light.css +++ b/html/style-light.css @@ -3,18 +3,18 @@ BODY { background-color:#EDF3FF; font-size:10; - color:blue; - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; padding: 0px 10px 0px 10px ; margin:0; + color:blue; } .notice { color:red; font-style: italic; } -table.result ,table.resultfooter { - color:#0000ff; +table.table_large, table.result ,table.resultfooter { + color:blue; /* border:blue solid 1px; */ width:100%; border-spacing: 0px; @@ -27,10 +27,10 @@ table.resultfooter tfoot { } -table.result th { +table.table_large th,table.result th { font-weight:bold; - font-family:helvetica,arial,sans-serif; - border-bottom:1px solid black; + font-family:helvetica,sans-serif; + border-bottom:1px solid blue; border-top:0; color:#25238F; @@ -40,7 +40,7 @@ table.result th { } h2 { - font-family:Helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; font-size:14px; color:grey; } @@ -86,7 +86,7 @@ h3.info { } h2.info2 { - color:#0000ff; + color:blue; font-size:14px; text-align:center; @@ -100,7 +100,7 @@ h2.error { } h1.title { - color: #0000ff; + color: blue; font-size:25px; } @@ -125,7 +125,6 @@ div.u_tmenu div.u_tool { div.u_tool { float:left; width: 100%; - } div.u_tool div.name { float:left; @@ -150,8 +149,9 @@ div.lmenu { } div.lextmenu { + float:left; - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; font-size:9px; } @@ -166,47 +166,49 @@ div.searchmenu { div.recherche_form{ width:700px; font-size:9px; - font-family:Helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; border-style:outset; border-width:1px; } div.redcontent{ + float:left; padding-top:7px; padding-left:8px; font-size:9px; - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; width:75%; } div.content{ + float:left; padding-top:7px; - width:96%; - font-family:helvetica,arial,sans-serif; + width:100%; + font-family:helvetica,sans-serif; clear:both; - margin-left:2%; } div.content30{ + float:left; padding-top:7px; width:35%; - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; } div.no span{ position:static; - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; font-weight:bold; color:red; } table.document { - color:#0000ff; + color:blue; width:100%; border-spacing: 0px; border-collapse:collapse; @@ -214,8 +216,8 @@ table.document { } table.document th{ font-weight:bold; - font-family:helvetica,arial,sans-serif; - border-bottom:2px solid #0000ff; + font-family:helvetica,sans-serif; + border-bottom:2px solid blue; border-top:0; color:#25238F; text-align: left; @@ -225,9 +227,10 @@ table.document th{ .error { width:60%; margin-left:20%; +text-align: center; + color:white; background-color:red; -text-align: center; font-weight: bolder; font-size:120%; } @@ -260,7 +263,7 @@ td.msubtitle { } span.mtitle { color:gray; - background-color:#0000ff; + background-color:blue; font-size:10px; border-style:groove } @@ -276,14 +279,12 @@ span.even { tr.odd { background-color:#DDE6FF; font-size:10px; - border-width:0px; } tr { font-size:10px; } td.odd{ background-color:#DDE6FF ; - border-width:0px; font-size:10px; } td.even{ @@ -296,7 +297,7 @@ td.cell{ } td.selectedcell{ border-style:inset; - border-color:#0000ff; + border-color:blue; border-width:1pt ; font-size:10px; background:#5D90CD ; @@ -308,7 +309,7 @@ a.mtitle { font-size:10px; text-decoration:none; display:inline; - color: #0000ff; + color: blue; } a.mtitle:hover { @@ -316,7 +317,7 @@ a.mtitle:hover { text-decoration:none; display:inline; - color: darkblue; + color: yellow; background-color:#5D90CD; } @@ -337,35 +338,35 @@ tr.odd:hover td { text-decoration:none; background-color: #a9d6e4; - color:white; + color:yellow; } tr.even:hover td { text-decoration:none; background-color: #a9d6e4; - color:white; + color:yellow; } td.mtitle:hover,td.mtitle:hover a { background-color:#a9d6e4; - color:white; + color:yellow; } td.msubtitle:hover,td.msubtitle:hover a { background-color:#a9d6e4; - color:white; + color:yellow; } a.cell { text-decoration:none; display:block; - color:#0000ff; + color:blue; background-color:white; font-size:9px; } a.cell:hover { font-size:9px; - color:white; + color:yellow; background-color:#5D90CD; text-decoration:none; display:block; @@ -395,16 +396,16 @@ a.one:hover { a.detail { font-size:9px; - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; text-decoration: none; display: block; - color: #0000ff; + color: blue; } a.detail:hover { font-size:9px; - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; color: white; background-color: rgb(93, 144, 205); text-decoration: none; @@ -416,15 +417,15 @@ li.menuv,ol.menuv { padding:1em 1em; } div.redcontent a { - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; text-decoration: none; display: block; - color: #0000ff; + color: blue; } div.redcontent a:hover { - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; color: white; background-color: rgb(93, 144, 205); text-decoration: none; @@ -432,17 +433,17 @@ div.redcontent a:hover { } div.content a { - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; text-decoration: none; display: block; color: blue; -padding: 1px ; +padding: 0; } div.content a:hover { - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; color: white; background-color: rgb(93, 144, 205); text-decoration: none; @@ -471,7 +472,7 @@ div.content a.mtitle { font-size:10px; text-decoration:none; display:inline; - color:#0000ff; + color:blue; @@ -486,34 +487,34 @@ div.content a.mtitle:hover { } div.redcontent input.text { - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; font-weight:normal; border-color:336699; border-style:solid; - background-color:orange; + background-color:greenyellow; border-width:1px; - color:#0000ff; + color:blue; } div.content input.text { - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; font-weight:normal; border-color:336699; border-style:solid; border-width:1px; - background-color:orange; - color:#0000ff; + background-color:greenyellow; + color:blue; } div.redcontent input:focus { - background-color:orange; + background-color:greenyellow; } div.content input:focus { - background-color:orange; + background-color:greenyellow; } div.redcontent textarea:focus { -background-color: orange; +background-color: greenyellow; } .document { color: #1a207d; @@ -531,11 +532,13 @@ a.document:hover { } .input_text { - border:groove 1px #0000ff; + border:groove 1px blue; margin:1px; } .input_text:hover { - background-color: yellow; + border:groove 1px blue; + margin:1px; + background-color: greenyellow; } legend { font-weight: bold; @@ -548,7 +551,7 @@ fieldset fieldset legend { color:grey; } select { -border: 1px solid #0000ff; +border: 1px solid blue; margin:2px; background-color:white; @@ -561,15 +564,15 @@ background-color:white; position:absolute; border:1px solid black; background-color:yellow; - top:0;left:0; - visibility:hidden; - z-index:2; - width:25em; padding-bottom: 10; padding-top: 10; padding-left: 10; padding-right: 10; - + color:black; + top:0;left:0; + visibility:hidden; + width:25em; + z-index:20; } span.action { @@ -604,12 +607,12 @@ div.popup_back{ position:absolute; top:0px; left:0px; + opacity:0.6; width:100%; -height: 150%; - + height:100%; z-index:1; /*background-color:lightgrey;*/ - /*background-color: rgba(203, 203,203, 0.2);*/ + display:none; } @@ -625,7 +628,7 @@ div.popup_border_title { border: 2px outset #201e87; background-color:#879ED4; font-size: 110% ; - font-family: helvetica,arial,sans-serif; + font-family: helvetica,sans-serif; font-style: italic; font-weight: bolder; text-align:center; @@ -647,7 +650,7 @@ div.popup_border_notitle { /*border:dotted 1px black;*/ border: 3px outset #201e87; background-color: #879ED4; - font-family: helvetica,arial,sans-serif; + font-family: helvetica,sans-serif; font-style: italic; font-weight: bolder; text-align:center; @@ -667,9 +670,9 @@ div.popup_content { width:100%; height:96%; overflow: auto; - background-color:#e4e7ed; + background-color:#DFE7FF; font-size:10px ; - font-family: helvetica,arial,sans-serif; + font-family: helvetica,sans-serif; font-style: normal; font-weight: normal; color: black; @@ -682,41 +685,36 @@ div.popup_content { div.autocomplete { position:relative; background-color:white; + border:1px solid #888; margin:0; padding:0; text-align:left; font-size:12px; } -span.informal { - font-size:12px; - - } div.autocomplete em { - color:#0000ff; + color:blue; font-weight:bold; } div.autocomplete ul { list-style-type:none; - width: 350px; background-color:white; + border:1px solid #888; + width:375px; margin:0; padding:0; - border:1px solid #888; } div.autocomplete ul li.selected { background-color: lightblue;} div.autocomplete ul li { list-style-type:none; - width: auto; display:block; margin:0; padding:0px; /*height:32px;*/ - border:1px dotted #e6e6fa; - cursor:pointer; } +span.informal{ font-size:95%; color:black;} ul.select_table { /*padding:5px;*/ @@ -794,32 +792,37 @@ color:black; cursor:inherit; } -.button , a.button,div.content a.button { +a#anchorbutton, .button, a.button,div.content a.button { font-size:10; - color:white; + color:black; font-weight: bold; text-decoration:none; - font-family: helvetica,arial,sans-serif; - background-image: url("image/bg-submit3.gif"); + font-family: helvetica,sans-serif,arial; + background-color: #DFDFDF; background-repeat: repeat-x; background-position: left; - - border-style: outset ; - border-color: #0000ff ; - border-width:0; - padding:2 4 2 4; + height:32px; + border-color: gray; + border-style: outset; + border-width:2; + padding-bottom: 4; + padding-top: 4; + padding-right: 6; + padding-left: 6; + margin-top:3px; cursor:pointer; margin:1 2 1 2; - -moz-border-radius:2 2; + -moz-border-radius:6; + border-radius:6; } -.button:hover, a.button:hover,div.content a.button:hover { +a#anchorbutton:hover, .button:hover,a.button:hover,div.content a.button:hover { cursor:pointer; background-color:white; - border-style: inset ; - color:#0000ff; + color:black; margin:1 2 1 2; + border-style: inset; } td.tool { border: solid 1px gray; @@ -840,37 +843,9 @@ margin:0; padding:0; text-align:center; } -a#anchorbutton { - font-size:10; - color:white; - font-weight: bold; - - text-decoration:none; - font-family: helvetica,arial,sans-serif; - background-image: url("image/bg-submit3.gif"); - background-repeat: repeat-x; - background-position: left; - - border-style: outset ; - border-color: #0000ff ; - border-width:1; - padding:2 4 2 4; - cursor:pointer; - margin:1 2 1 2; - -moz-border-radius:2 2; - -} -a#anchorbutton:hover { - cursor:pointer; - background-color:white; - border-style: inset ; - color:#0000ff; - - margin:1 2 1 2; - } /* */ div.add_todo_list { - border:1px solid #0000ff; + border:1px solid blue; display:none; background-color:#BFD0FF; padding:3; @@ -900,9 +875,9 @@ div.op_detail_frame { } div.inner_box { - background-color:#e4e7ed; + background-color:whitesmoke; font-size:10; - font-family:helvetica,arial,sans-serif; + font-family:helvetica,sans-serif; padding:0; margin:0; overflow:hidden; @@ -945,27 +920,27 @@ div#div_jrn{ div.divinfo { color:red;text-align:right;display:block;width:30em;height:13;font-weight:bold} - div#search_form { position:absolute; border:1px solid black; top:15%;left:100; - margin-left:25%; + margin-left:25% z-index:2; width:50%; display:none; background-color:#e4e7ed; } -table.result td + +table.table_large td, table.result td { padding-left:5px; padding-right:5px; } table.info_op { - margin-left: 30%; - margin-right: 30%; + font-size:18; + margin-right:30%; width:20%; } @@ -973,17 +948,12 @@ table.info_op tr { font-size:14; background:white; -width:5% } h2#jrn_name { - padding:0 ; - margin:0; + margin-right:30%; + float: right; - float:right; - font-size:18; - display: inline; - color:#15158e; } tr.footer{ font-size:14; @@ -995,6 +965,7 @@ span.remain { font-weight: bold; color:black; } + div#jrn_name_div { float: right; @@ -1010,17 +981,15 @@ div#jrn_name_div #direct { display:inline; - float:right; - + float:left; + width:400px; } -.direct +#calc { - font-size:6px; - border:groove 1px #33378d; - margin:1px; + display:inline; + float:left; } - div#wait_box { background-color:#F1E6E6; @@ -1053,5 +1022,55 @@ div#div_jrnsearch_op{ } ul { - padding-left: 100px; + padding-left: 110px; } +a.line,div.content a.line +{ +font-size:110%; + text-decoration:underline; + display:inline; + color: #0000ff; +} +a.line:hover,div_content a.line +{ +font-size:110%; + text-decoration:underline; + display:inline; + color: #0000ff; + background-color: rgb(93, 144, 205); +} +#close_div +{ + background-color:white; + color:blue; + text-decoration:none; + border:1px solid blue; + margin-left: 2px; + margin-right:2px; + margin-top:0px; + font-size:10px; +} +table.table_large tr.odd ,table.table_large tr.even { + + height:32px; +} +#calc1 +{ + position:absolute; + display:block; + top:30px; + left:150px; + width:300px; + border:1px solid black; + background-color:#aec3e8; + font-size:16px; + padding: 20px 20px; +} +span.invoice +{ + font-size: 120%; + font-style: italic; + display:block; + margin: 20px; + font-weight: bold; +} \ No newline at end of file diff --git a/include/class_acc_ledger_fin.php b/include/class_acc_ledger_fin.php index 2c341dd5c..e66b808de 100644 --- a/include/class_acc_ledger_fin.php +++ b/include/class_acc_ledger_fin.php @@ -185,7 +185,7 @@ class Acc_Ledger_Fin extends Acc_Ledger *\return string with html code *\note the form tag are not set here */ - function input($p_array=null) + function input($p_array=null,$notused=0) { global $g_parameter; if ( $p_array != null) @@ -384,7 +384,7 @@ class Acc_Ledger_Fin extends Acc_Ledger *\param $p_array an array usually is $_POST *\return string with code html */ - public function confirm($p_array) + public function confirm($p_array,$p_nothing=0) { global $g_parameter; $r=""; @@ -589,7 +589,7 @@ class Acc_Ledger_Fin extends Acc_Ledger *\param $p_array usually $_POST *\return string with HTML code */ - public function insert($p_array) + public function insert($p_array=null) { global $g_parameter; bcscale(2); diff --git a/include/class_acc_ledger_purchase.php b/include/class_acc_ledger_purchase.php index 43fb7e1dc..400897337 100644 --- a/include/class_acc_ledger_purchase.php +++ b/include/class_acc_ledger_purchase.php @@ -179,7 +179,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger /* * check if the accounting for VAT are valid */ - $a_poste=split(',',$tva_rate->tva_poste); + $a_poste=explode(',',$tva_rate->tva_poste); if ( $this->db->get_value('select count(*) from tmp_pcmn where pcm_val=$1',array($a_poste[0])) == 0 || @@ -259,10 +259,6 @@ class Acc_Ledger_Purchase extends Acc_Ledger } - public function save($p_array) - { - echo "

    Acc_Ledger_Purchase::save Not implemented

    "; - } /*!\brief insert into the database, it calls first the verify function * change the value of this->jr_id and this->jr_internal. @@ -299,7 +295,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger *\return string *\note throw an Exception */ - public function insert($p_array) + public function insert($p_array=null) { global $g_parameter; extract ($p_array); @@ -467,10 +463,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger /* if the quantity is < 0 then the stock increase (return of * material) */ - $nNeg=($ - {"e_quant".$i - } - <0)?-1:1; + $nNeg=(${"e_quant" . $i}< 0) ? -1 : 1; // always save quantity but in withStock we can find // what card need a stock management @@ -680,6 +673,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger $acc_operation->jrn=$p_jrn; $acc_operation->type='c'; $acc_operation->periode=$tperiode; + $acc_operation->insert_jrnx(); } } @@ -842,21 +836,6 @@ class Acc_Ledger_Purchase extends Acc_Ledger return $internal; } - public function update() - { - echo "

    Acc_Ledger_Purchase::update Not implemented

    "; - } - - public function load() - { - echo "

    Acc_Ledger_Purchase::load Not implemented

    "; - - } - - public function delete() - { - echo "

    Acc_Ledger_Purchase::delete Not implemented

    "; - } /*!\brief display the form for entering data for invoice *\param $p_array is null or you can put the predef operation or the $_POST \code @@ -889,7 +868,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger \endcode *\return HTML string */ - public function input($p_array=null) + public function input($p_array=null,$p_readonly=0) { global $g_parameter; if ( $p_array != null ) extract($p_array); diff --git a/include/class_acc_ledger_sold.php b/include/class_acc_ledger_sold.php index 1b1e75389..18821e5c0 100644 --- a/include/class_acc_ledger_sold.php +++ b/include/class_acc_ledger_sold.php @@ -180,7 +180,7 @@ class Acc_Ledger_Sold extends Acc_Ledger /* * check if the accounting for VAT are valid */ - $a_poste=split(',',$tva_rate->tva_poste); + $a_poste=explode(',',$tva_rate->tva_poste); if ( $this->db->get_value('select count(*) from tmp_pcmn where pcm_val=$1',array($a_poste[0])) == 0 || @@ -221,10 +221,6 @@ class Acc_Ledger_Sold extends Acc_Ledger } - public function save($p_array) - { - echo "

    Acc_Ledger_Sold::save Not implemented

    "; - } /*!\brief insert into the database, it calls first the verify function, * change the value of this->jr_id and this->jr_internal @@ -234,7 +230,7 @@ class Acc_Ledger_Sold extends Acc_Ledger *\return string *\note throw an Exception */ - public function insert($p_array) + public function insert($p_array=null) { global $g_parameter; extract ($p_array); @@ -432,7 +428,7 @@ class Acc_Ledger_Sold extends Acc_Ledger $acc_operation->periode=$tperiode; if ($value < 0 ) $tot_debit=bcadd($tot_debit,abs($value)); $acc_operation->insert_jrnx(); - + // if TVA is on both side, we deduce it immediately if ( $oTva->get_parameter("both_side")==1) { @@ -613,21 +609,6 @@ class Acc_Ledger_Sold extends Acc_Ledger return $internal; } - public function update() - { - echo "

    Acc_Ledger_Sold::update Not implemented

    "; - } - - public function load() - { - echo "

    Acc_Ledger_Sold::load Not implemented

    "; - - } - - public function delete() - { - echo "

    Acc_Ledger_Sold::delete Not implemented

    "; - } /*!@brief show the summary of the operation and propose to save it *@param array contains normally $_POST. It proposes also to save @@ -983,7 +964,7 @@ class Acc_Ledger_Sold extends Acc_Ledger * *\return HTML string */ - function input($p_array=null) + function input($p_array=null,$p_readonly=0) { global $g_parameter; if ( $p_array != null ) extract($p_array); diff --git a/include/class_html_input.php b/include/class_html_input.php index b8e38ed70..c2a5c7cc5 100755 --- a/include/class_html_input.php +++ b/include/class_html_input.php @@ -222,7 +222,7 @@ class HtmlInput } static function warnbulle($p_comment) { - $r='XX'; + $r='Δ'; return $r; } /** diff --git a/include/class_jrn_def_sql.php b/include/class_jrn_def_sql.php index 01286a615..9e0352ab7 100644 --- a/include/class_jrn_def_sql.php +++ b/include/class_jrn_def_sql.php @@ -172,7 +172,7 @@ class Jrn_Def_sql return $oobj; } - public function insert() + public function insert($p_array=null) { if ($this->verify_sql() != 0) return;