[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/01: Merge branch 'branche-rel6722'
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/01: Merge branch 'branche-rel6722' |
Date: |
Sun, 09 Nov 2014 23:32:52 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit fc6cf27578baccd1976bcf8fca890b6e1bda624b
Merge: 7996a2d f448475
Author: Dany De Bontridder <address@hidden>
Date: Sun Nov 9 23:25:08 2014 +0100
Merge branch 'branche-rel6722'
doc/developper/Doxyfile | 2 +-
html/style-classic.css | 157 +++++++++++++++++++------
html/style-light.css | 173 ++++++++++++++++++----------
html/style-mandarine.css | 98 ++++++++++------
include/anc_pa.inc.php | 12 +-
include/class_acc_account_ledger.php | 1 +
include/class_acc_ledger.php | 4 +
include/class_fiche.php | 8 +-
include/class_stock.php | 5 +-
include/class_user.php | 4 +-
include/menu.inc.php | 2 +-
sql/upgrade.sql | 17 +++
unit-test/include/class_acc_ledgerTest.php | 15 ++-
13 files changed, 341 insertions(+), 157 deletions(-)
diff --cc doc/developper/Doxyfile
index f5af137,f5af137..f2a2017
--- a/doc/developper/Doxyfile
+++ b/doc/developper/Doxyfile
@@@ -655,7 -655,7 +655,7 @@@ RECURSIVE = YE
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT
tag.
--EXCLUDE = ../../html/addon ../../include/tfpdf
++EXCLUDE = ../../html/addon ../../include/tfpdf ../../unit-test
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded
diff --cc html/style-classic.css
index d855198,4dce94d..ed09405
--- a/html/style-classic.css
+++ b/html/style-classic.css
@@@ -1,12 -1,12 +1,11 @@@
/* <style type="text/css"> */
BODY {
-- background-color:#EDF3FF;
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
padding: 0px 0px 0px 0px ;
margin:0px;
color:#0000FF;
-- font-size:100%;
++ font-size:95%;
}
.notice {
color:#FF0000;
@@@ -15,10 -15,10 +14,12 @@@
table.sortable, table.table_large, table.result ,table.resultfooter {
color:#0000FF;
-- width:100%;
-- border-spacing: 0px;
-- border-collapse:collapse;
--
++ width:99%;
++ border-spacing: 1px;
++ /*border-collapse:collapse; */
++ margin :0.5%;
++ border:1px #5D90CD solid;
++ border-radius: 10px;
}
table.resultfooter tfoot {
font-weight: bold;
@@@ -28,7 -28,7 +29,7 @@@
table.sortable th, table.table_large th,table.result th {
font-weight:bold;
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
-- border-bottom:1px solid #0000FF;
++ border-bottom:2px #5d90cd groove;
border-top:0;
color:#202267;
@@@ -51,7 -51,7 +52,6 @@@ div.info
color:#FFFFFF;
text-align:center;
}
--
content h2.info {
background:#879ED4;
color:#000000;
@@@ -254,13 -254,13 +254,30 @@@ td.mshort
color:#5D90CD ;
background-color:#DDE6FF;
}
++
td.mtitle {
text-align:center;
width:250px;
height :30px;
-- background-color:#DDE6FF;
++/* background-color:#DDE6FF;*/
+ border:1px solid #99B1DF;
+ border-radius:5px;
++ background: #d4e4ef; /* Old browsers */
++ background: -moz-linear-gradient(top, #d4e4ef 0%, #86aecc 100%); /*
FF3.6+ */
++ background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,#d4e4ef), color-stop(100%,#86aecc)); /* Chrome,Safari4+ */
++ background: -webkit-linear-gradient(top, #d4e4ef 0%,#86aecc 100%); /*
Chrome10+,Safari5.1+ */
++ background: -o-linear-gradient(top, #d4e4ef 0%,#86aecc 100%); /* Opera
11.10+ */
++ background: -ms-linear-gradient(top, #d4e4ef 0%,#86aecc 100%); /* IE10+ */
++ background: linear-gradient(to bottom, #d4e4ef 0%,#86aecc 100%); /* W3C */
++ filter: progid:DXImageTransform.Microsoft.gradient(
startColorstr='#d4e4ef', endColorstr='#86aecc',GradientType=0 ); /* IE6-9 */
++
++}
++td.vert_mtitle {
++ text-align:center;
+ border:1px solid #99B1DF;
+ border-radius:5px;
++
++
}
td.msubtitle {
text-align:center;
@@@ -284,6 -284,6 +301,10 @@@ span.even
tr.odd {
background-color: #DDE6FF;
}
++.highlight {
++ font-weight: bolder;
++ font-size:14px;
++}
tr.highlight {
font-weight: bold;
}
@@@ -303,14 -303,14 +324,22 @@@ td.cell
}
td.selectedcell{
border-style:solid;
-- border-color:#0000FF;
++/* border-color:#0000FF;*/
border-width:1px ;
font-weight: bold;
-- background:#5D90CD ;
++/* background:#5D90CD ;*/
color:#FFFFFF;
++ width:250px;
text-align:center;
-- width:120px;
border-radius:5px;
++ background: #b8c6df; /* Old browsers */
++ background: -moz-linear-gradient(top, #b8c6df 0%, #6d88b7 100%); /*
FF3.6+ */
++ background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,#b8c6df), color-stop(100%,#6d88b7)); /* Chrome,Safari4+ */
++ background: -webkit-linear-gradient(top, #b8c6df 0%,#6d88b7 100%); /*
Chrome10+,Safari5.1+ */
++ background: -o-linear-gradient(top, #b8c6df 0%,#6d88b7 100%); /* Opera
11.10+ */
++ background: -ms-linear-gradient(top, #b8c6df 0%,#6d88b7 100%); /* IE10+ */
++ background: linear-gradient(to bottom, #b8c6df 0%,#6d88b7 100%); /* W3C */
++ filter: progid:DXImageTransform.Microsoft.gradient(
startColorstr='#b8c6df', endColorstr='#6d88b7',GradientType=0 ); /* IE6-9 */
}
a.mtitle {
text-decoration:none;
@@@ -330,7 -330,7 +359,6 @@@ td.selectedcell a.mtitle,div.content td
text-decoration:none;
display:block;
color:#FFFFFF;
-- width: 250px;
}
a.dossier {
text-decoration:none;
@@@ -352,7 -352,7 +380,7 @@@ tr.even:hover t
}
td.mtitle:hover,td.mtitle:hover a
{
-- background-color:#a9d6e4;
++ background:#a9d6e4;
color:#FFFFFF;
}
td.msubtitle:hover,td.msubtitle:hover a
@@@ -680,7 -680,7 +708,6 @@@ div.popup_content
filter:alpha(opacity=100);*/
}
div.autocomplete {
-- position:absolute;
background-color:#FFFFFF;
border:1px solid #888;
margin:0px;
@@@ -814,8 -814,8 +841,6 @@@ a#anchorbutton, .button, a.button,div.c
cursor:pointer;
margin:1px 2px 1px 2px;
border-radius: 5px;
-- moz-border-radius:5px;
--
}
a#anchorbutton:hover, .button:hover,a.button:hover,div.content a.button:hover
{
cursor:pointer;
@@@ -847,15 -847,15 +872,13 @@@ a#smallanchorbutton, .smallbutton, a.sm
cursor:pointer;
margin:1px 2px 1px 2px;
border-radius: 2px;
-- moz-border-radius:2px;
--
}
a#smallanchorbutton:hover, .smallbutton:hover,a.smallbutton:hover,div.content
a.smallbutton:hover {
cursor:pointer;
background-color:#FFFFFF;
-- /* border-style: inset ; */
-- color:#FF0000;
++ color:whitesmoke;
margin:1px 2px 1px 2px;
++ background-image: url("image/bg-submit3.gif");
}
td.tool {
@@@ -949,16 -949,16 +972,16 @@@ box-shadow: 10px 10px 5px #888
font-size:14.4px;
font-size:0.90rem;
}
address@hidden only screen and (min-width: 1024px) {
address@hidden only screen and (min-width: 1281px) {
div.inner_box {
-- width: 35%;
++ width: 85%;
}
}
address@hidden only screen and (max-width: 1024px) {
address@hidden only screen and (max-width: 1280px) {
div.inner_box {
-- width: 90%;
-- left:5%;
-- margin-bottom: 5%;
++ width: 95%;
++ left:2%;
++ margin-bottom: 2%;
}
}
div.op_detail_title {
@@@ -971,7 -971,7 +994,7 @@@
div#div_cat{
position:absolute;
border:1px solid #000000;
-- top:15%;left:100;
++ top:15%;left:100px;
visibility:hidden;
z-index:2;
width:50em;
@@@ -1081,16 -1081,16 +1104,11 @@@ div#wait_bo
margin:0px;
overflow:hidden;
z-index:10;
position:absolute;
left:30%;
top:30%;
--
--
border:1px solid #00008B;
--
width: 260px;
-- widt: 260px;
}
#wait_box h2
{
@@@ -1223,11 -1223,11 +1241,19 @@@ h1.title
text-transform: uppercase;
}
h2.title {
-- background-color:#879ED4;
++ /* background-color:#879ED4; */
color:#FFFFFF;
text-align:center;
padding:0.24%;
border:1px solid #00008B;
++ background: #606c88; /* Old browsers */
++ background: -moz-linear-gradient(top, #606c88 0%, #3f4c6b 100%); /*
FF3.6+ */
++ background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,#606c88), color-stop(100%,#3f4c6b)); /* Chrome,Safari4+ */
++ background: -webkit-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /*
Chrome10+,Safari5.1+ */
++ background: -o-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /* Opera
11.10+ */
++ background: -ms-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /* IE10+ */
++ background: linear-gradient(to bottom, #606c88 0%,#3f4c6b 100%); /* W3C */
++ filter: progid:DXImageTransform.Microsoft.gradient(
startColorstr='#606c88', endColorstr='#3f4c6b',GradientType=0 ); /* IE6-9 */
}
h3.title {
@@@ -1478,46 -1478,5 +1504,105 @@@ fieldset
#mod_predf_op {
width: 80%;
overflow: auto;
-- overflow-style: panner;
-}
+}
+ul.tabs {
+ padding-top: 5px;
+ display:block;
+ border-bottom: 1px solid #879ed4;
+ padding-left: 10px
+}
+li.tabs {
+ display:inline;
+ background-color: grey;
+ color:wheat;margin-left: 2px;
+ padding: 15px 15px 0px 15px;
+ border-top-left-radius: 15px;
+ border-top-right-radius: 15px;
+ border:1px #879ed4 solid;
+
+}
+li.tabs:hover {
+ display:inline;
+ background-color: blue;
+ color:wheat;margin-left: 2px;
+ padding: 15px 15px 0px 15px;
+ border-top-left-radius: 15px;
+ border-top-right-radius: 15px;
+ border:1px #879ed4 solid;
+
+}
+li.tabs a {
+ text-decoration: none;
+ color:white;
+ display:inline;
+}
+li.tabs a:hover {
+ text-decoration: none;
+ color:white;
+ display:inline;
+}
+.previous_year
+{
+ text-align:right;
+ color:black;
- }
++}
++div.autocomplete_fixed {
++ background-color:#FFFFFF;
++ border:1px solid #888;
++ margin:0px;
++ padding:0px;
++ text-align:left;
++}
++div.autocomplete_fixed em {
++ color:#0000FF;
++ font-weight:bold;
++}
address@hidden only screen and (max-width: 1280px) {
++ div.autocomplete_fixed ul {
++ list-style-type:none;
++ background-color:#FFFFFF;
++ border:1px solid blue;
++ width:300px;
++ margin:0px;
++ padding:0px;
++ }
++ div.tag {
++
++ }
++
++}
address@hidden only screen and (min-width: 1281px) {
++ div.autocomplete_fixed ul {
++ list-style-type:none;
++ background-color:#FFFFFF;
++ border:1px solid blue;
++ width:500px;
++ margin:0px;
++ padding:0px;
++ }
++ div.tag {
++ width: 50%;
++ }
++}
++div.autocomplete_fixed ul li.selected {
++ background-color: #DDE6FF;
++ border-bottom: 1px solid black;
++}
++
++div.autocomplete_fixed ul li {
++ list-style-type:none;
++ display:block;
++ margin:0px;
++ padding:0px;
++ cursor:pointer;
++}
++#popup {
++ font-size:0.9rem;
++}
++hr {
++ width:95%;
++ margin-left:2.5%;
++ background:#5d90cd;
++ height:5px;
++
++}
diff --cc html/style-light.css
index 28cda5f,ac1227a..17d360d
--- a/html/style-light.css
+++ b/html/style-light.css
@@@ -5,7 -5,7 +5,7 @@@ BODY
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
padding: 0px 0px 0px 0px ;
margin:0px;
-- color:#0000FF;
++ color:#605D5D;
font-size:100%;
}
.notice {
@@@ -15,7 -14,7 +15,7 @@@
}
table.sortable, table.table_large, table.result ,table.resultfooter {
-- color:#0000FF;
++ color:#333030;
width:100%;
border-spacing: 0px;
border-collapse:collapse;
@@@ -29,10 -28,10 +29,8 @@@ table.resultfooter tfoot
table.sortable th, table.table_large th,table.result th {
font-weight:bold;
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
-- border-bottom:1px solid #0000FF;
++ border-bottom:1px solid #605D5D;
border-top:0;
--
-- color:#202267;
text-align: left;
font-style: italic;
@@@ -84,7 -83,7 +82,7 @@@ h3.info
}
h2.info2 {
-- color:#0000FF;
++ color:#605D5D;
text-align:center;
}
@@@ -127,7 -126,7 +125,7 @@@ div.u_tool #name
td.tool a.mtitle {
text-decoration:none;
display:inline;
-- color: #0000FF;
++ color: #605D5D;
text-align:center;
@@@ -224,7 -223,7 +222,7 @@@ div.no span
}
table.document {
-- color:#0000FF;
++ color:#605D5D;
width:100%;
border-spacing: 0px;
border-collapse:collapse;
@@@ -233,7 -232,7 +231,7 @@@
table.document th{
font-weight:bold;
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
-- border-bottom:2px solid #0000FF;
++ border-bottom:2px solid #605D5D;
border-top:0px;
color:#202267;
text-align: left;
@@@ -270,7 -269,7 +268,15 @@@ td.mtitle
text-align:center;
width:250px;
height :30px;
-- background-color: #F1F1F1;
++ background: rgb(206,220,231); /* Old browsers */
++background: -moz-linear-gradient(top, rgba(206,220,231,1) 0%,
rgba(89,106,114,1) 100%); /* FF3.6+ */
++background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,rgba(206,220,231,1)), color-stop(100%,rgba(89,106,114,1))); /*
Chrome,Safari4+ */
++background: -webkit-linear-gradient(top, rgba(206,220,231,1)
0%,rgba(89,106,114,1) 100%); /* Chrome10+,Safari5.1+ */
++background: -o-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1)
100%); /* Opera 11.10+ */
++background: -ms-linear-gradient(top, rgba(206,220,231,1)
0%,rgba(89,106,114,1) 100%); /* IE10+ */
++background: linear-gradient(to bottom, rgba(206,220,231,1)
0%,rgba(89,106,114,1) 100%); /* W3C */
++filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cedce7',
endColorstr='#596a72',GradientType=0 ); /* IE6-9 */
++color:#F7F8FC;
}
td.msubtitle {
text-align:center;
@@@ -279,7 -278,7 +285,7 @@@
}
span.mtitle {
color:#888;
-- background-color:#0000FF;
++ background-color:#605D5D;
border-style:groove
}
span.odd {
@@@ -312,18 -311,18 +318,28 @@@ td.cell
}
td.selectedcell{
--
++
++background: rgb(96,108,136); /* Old browsers */
++background: -moz-linear-gradient(top, rgba(96,108,136,1) 40%,
rgba(63,76,107,1) 70%); /* FF3.6+ */
++background: -webkit-gradient(linear, left top, left bottom,
color-stop(40%,rgba(96,108,136,1)), color-stop(70%,rgba(63,76,107,1))); /*
Chrome,Safari4+ */
++background: -webkit-linear-gradient(top, rgba(96,108,136,1)
40%,rgba(63,76,107,1) 70%); /* Chrome10+,Safari5.1+ */
++background: -o-linear-gradient(top, rgba(96,108,136,1) 40%,rgba(63,76,107,1)
70%); /* Opera 11.10+ */
++background: -ms-linear-gradient(top, rgba(96,108,136,1) 40%,rgba(63,76,107,1)
70%); /* IE10+ */
++background: linear-gradient(to bottom, rgba(96,108,136,1)
40%,rgba(63,76,107,1) 70%); /* W3C */
++filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#606c88',
endColorstr='#3f4c6b',GradientType=0 ); /* IE6-9 */
font-weight: bold;
-- background: #909BA7;
color:#FFFFFF;
text-align:center;
width:120px;
}
++td.mtitle a.mtitle {
++ color : white;
++}
a.mtitle {
text-decoration:none;
display:inline;
-- color: #0000FF;
++ color: #605D5D;
}
a.mtitle:hover {
@@@ -366,10 -365,10 +382,24 @@@ tr.even:hover t
background-color: #a9d6e4;
color:#FFFFFF;
}
--td.mtitle:hover,td.mtitle:hover a
++td.mtitle:hover
{
-- background-color:#a9d6e4;
++ background: rgb(89,106,114); /* Old browsers */
++background: -moz-linear-gradient(top, rgba(89,106,114,1) 0%,
rgba(206,220,231,1) 100%); /* FF3.6+ */
++background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,rgba(89,106,114,1)), color-stop(100%,rgba(206,220,231,1))); /*
Chrome,Safari4+ */
++background: -webkit-linear-gradient(top, rgba(89,106,114,1)
0%,rgba(206,220,231,1) 100%); /* Chrome10+,Safari5.1+ */
++background: -o-linear-gradient(top, rgba(89,106,114,1) 0%,rgba(206,220,231,1)
100%); /* Opera 11.10+ */
++background: -ms-linear-gradient(top, rgba(89,106,114,1)
0%,rgba(206,220,231,1) 100%); /* IE10+ */
++background: linear-gradient(to bottom, rgba(89,106,114,1)
0%,rgba(206,220,231,1) 100%); /* W3C */
++filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#596a72',
endColorstr='#cedce7',GradientType=0 ); /* IE6-9 */
color:#FFFFFF;
++ border-radius: 0;
++ border-width: 0;
++ background-color:blue;
++}
++td.mtitle:hover a {
++ background:transparent;
++
}
td.msubtitle:hover,td.msubtitle:hover a
{
@@@ -379,7 -378,7 +409,7 @@@
a.cell {
text-decoration:none;
display:block;
-- color:#0000FF;
++ color:#333030;
background-color:#FFFFFF;
}
@@@ -393,20 -392,20 +423,20 @@@ a.cell:hover
a.one:link {
text-decoration:underline;
-- color:#0000FF;
++ color:#333030;
}
a.one:visited {
text-decoration:none;
-- color:#0000FF;
++ color:#333030;
}
a.one:active {
-- background: #0000FF;
++ background: #333030;
}
a.one:hover {
text-decoration:underline;
-- background:#0000FF;
++ background:#605D5D;
color:#FFFFFF;
}
@@@ -416,7 -415,7 +446,7 @@@ a.detai
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
text-decoration: none;
display: block;
-- color: #0000FF;
++ color: #333030;
}
a.detail:hover
@@@ -437,7 -436,7 +467,7 @@@ div.redcontent a
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
text-decoration: none;
display: block;
-- color: #0000FF;
++ color: #605D5D;
}
@@@ -453,7 -452,7 +483,7 @@@ div.content a
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
text-decoration: none;
display: block;
-- color: #0000FF;
++ color: #333030;
padding: 0px;
}
@@@ -488,7 -487,7 +518,7 @@@ div.redcontent a.mtitle:hover
div.content a.mtitle {
text-decoration:none;
display:inline;
-- color:#0000FF;
++ color:#605D5D;
@@@ -509,7 -508,7 +539,7 @@@ div.redcontent input.text
border-style:solid;
background-color: #F93;
border-width:1px;
-- color:#0000FF;
++ color:#605D5D;
}
div.content input.text {
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
@@@ -518,7 -517,7 +548,7 @@@
border-style:solid;
border-width:1px;
background-color: #F93;
-- color:#0000FF;
++ color:#605D5D;
}
@@@ -547,17 -546,17 +577,17 @@@ a.document:hover
}
.input_text_ro {
-- border:solid 1px #0000FF;
++ border:solid 1px #605D5D;
background:#EDEDED;
-- color:#0000FF;
++ color:#605D5D;
margin:1px;
}
.input_text {
-- border:groove 1px #0000FF;
++ border:groove 1px #605D5D;
margin:1px;
}
.input_text:hover {
-- border:groove 1px #0000FF;
++ border:groove 1px #605D5D;
margin:1px;
background-color: #F93;
}
@@@ -571,7 -570,7 +601,7 @@@ fieldset fieldset legend
color:#888;
}
select {
-- border: 1px solid #0000FF;
++ border: 1px solid #605D5D;
margin:2px;
background-color:#FFFFFF;
@@@ -704,7 -703,7 +734,7 @@@ div.autocomplete
text-align:left;
}
div.autocomplete em {
-- color:#0000FF;
++ color:#605D5D;
font-weight:bold;
}
div.autocomplete ul {
@@@ -820,10 -819,10 +850,15 @@@ a#anchorbutton, .button, a.button,div.c
font-weight: bold;
text-decoration:none;
font-family: arial,verdana,sans-serif,helvetica;
-- background-image: url("image/bg-submit5.png");
-- background-repeat: repeat-x;
-- background-position: left;
-- border-color: #0000FF;
++ background: rgb(174,188,191); /* Old browsers */
++background: -moz-linear-gradient(top, rgba(174,188,191,1) 0%,
rgba(110,119,116,1) 50%, rgba(10,14,10,1) 51%, rgba(10,8,9,1) 100%); /* FF3.6+
*/
++background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,rgba(174,188,191,1)), color-stop(50%,rgba(110,119,116,1)),
color-stop(51%,rgba(10,14,10,1)), color-stop(100%,rgba(10,8,9,1))); /*
Chrome,Safari4+ */
++background: -webkit-linear-gradient(top, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /*
Chrome10+,Safari5.1+ */
++background: -o-linear-gradient(top, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /* Opera
11.10+ */
++background: -ms-linear-gradient(top, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /* IE10+
*/
++background: linear-gradient(to bottom, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /* W3C */
++filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aebcbf',
endColorstr='#0a0809',GradientType=0 ); /* IE6-9 */
++ border-color: #605D5D;
border-width:0px;
padding:4px;
margin:3px;
@@@ -846,14 -845,14 +881,12 @@@ a#smallanchorbutton, .smallbutton, a.sm
font-weight: bold;
text-decoration:none;
font-family: arial,verdana,sans-serif,helvetica;
-- background-image: url("image/bg-submit5.png");
-- background-repeat: repeat-x;
-- background-position: left;
++
font-size:12px;
font-size:0.75rem;
border-style: outset ;
-- border-color: #0000FF;
++ border-color: #605D5D;
border-width:0;
padding-bottom: 3px;
padding-top: 3px;
@@@ -864,6 -863,6 +897,14 @@@
margin:1px 2px 1px 2px;
border-radius: 2px;
moz-border-radius:2px;
++ background: rgb(174,188,191); /* Old browsers */
++background: -moz-linear-gradient(top, rgba(174,188,191,1) 0%,
rgba(110,119,116,1) 50%, rgba(10,14,10,1) 51%, rgba(10,8,9,1) 100%); /* FF3.6+
*/
++background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,rgba(174,188,191,1)), color-stop(50%,rgba(110,119,116,1)),
color-stop(51%,rgba(10,14,10,1)), color-stop(100%,rgba(10,8,9,1))); /*
Chrome,Safari4+ */
++background: -webkit-linear-gradient(top, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /*
Chrome10+,Safari5.1+ */
++background: -o-linear-gradient(top, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /* Opera
11.10+ */
++background: -ms-linear-gradient(top, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /* IE10+
*/
++background: linear-gradient(to bottom, rgba(174,188,191,1)
0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%); /* W3C */
++filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aebcbf',
endColorstr='#0a0809',GradientType=0 ); /* IE6-9 */
}
a#smallanchorbutton:hover, .smallbutton:hover,a.smallbutton:hover,div.content
a.smallbutton:hover {
@@@ -900,6 -899,6 +941,8 @@@ div.topmenu td
border-width:0px;
border-radius:0px;
}
++
++
#dossier h2{
color:#00008B;
display:inline;
@@@ -909,7 -908,7 +952,7 @@@
}
/* </style> */
#add_todo_list {
-- border:1px solid #0000FF;
++ border:1px solid #605D5D;
display:none;
background-color:#DDE6FF;
padding:0.07%;
@@@ -961,16 -960,16 +1004,16 @@@ box-shadow: 10px 10px 5px #888
font-size:14.4px;
font-size:0.90rem;
}
address@hidden only screen and (min-width: 1024px) {
address@hidden only screen and (min-width: 1281px) {
div.inner_box {
-- width: 35%;
++ width: 55%;
}
}
address@hidden only screen and (max-width: 1024px) {
address@hidden only screen and (max-width: 1280px) {
div.inner_box {
-- width: 90%;
-- left:5%;
-- margin-bottom: 5%;
++ width: 95%;
++ left:2%;
++ margin-bottom: 2%;
}
}
div.op_detail_title {
@@@ -1039,7 -1038,7 +1082,7 @@@ table.info_op t
}
h2#jrn_name
{
-- color:#0000FF;
++ color:#605D5D;
margin-right:30%;
float: right;
}
@@@ -1126,7 -1125,7 +1169,7 @@@ a.line,div.content a.lin
{
text-decoration:underline;
display:inline;
-- /* color: #0000FF; */
++ /* color: #605D5D; */
}
a.line:hover,div_content a.line
{
@@@ -1138,9 -1137,9 +1181,9 @@@
#close_div
{
background-color:#FFFFFF;
-- color:#0000FF;
++ color:#605D5D;
text-decoration:none;
-- border:1px solid #0000FF;
++ border:1px solid #605D5D;
margin-left: 2px;
margin-right:2px;
margin-top:0px;
@@@ -1154,9 -1153,9 +1197,9 @@@
#popmeout
{
background-color:#FFFFFF;
-- color:#0000FF;
++ color:#605D5D;
text-decoration:none;
-- border:1px solid #0000FF;
++ border:1px solid #605D5D;
margin-left: 2px;
margin-right:18px;
font-size:12px;
@@@ -1229,13 -1228,13 +1272,21 @@@ div.foldercontent
}
h1.title {
-- color: #0000FF;
++ color: #605D5D;
font-style: italic;
text-align:center;
text-transform: uppercase;
}
h2.title {
-- background-color: #C4CBDB;
++
++background: rgb(149,149,149); /* Old browsers */
++background: -moz-linear-gradient(top, rgba(149,149,149,1) 0%,
rgba(13,13,13,1) 46%, rgba(1,1,1,1) 50%, rgba(10,10,10,1) 53%, rgba(78,78,78,1)
76%, rgba(56,56,56,1) 87%, rgba(27,27,27,1) 100%); /* FF3.6+ */
++background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,rgba(149,149,149,1)), color-stop(46%,rgba(13,13,13,1)),
color-stop(50%,rgba(1,1,1,1)), color-stop(53%,rgba(10,10,10,1)),
color-stop(76%,rgba(78,78,78,1)), color-stop(87%,rgba(56,56,56,1)),
color-stop(100%,rgba(27,27,27,1))); /* Chrome,Safari4+ */
++background: -webkit-linear-gradient(top, rgba(149,149,149,1)
0%,rgba(13,13,13,1) 46%,rgba(1,1,1,1) 50%,rgba(10,10,10,1) 53%,rgba(78,78,78,1)
76%,rgba(56,56,56,1) 87%,rgba(27,27,27,1) 100%); /* Chrome10+,Safari5.1+ */
++background: -o-linear-gradient(top, rgba(149,149,149,1) 0%,rgba(13,13,13,1)
46%,rgba(1,1,1,1) 50%,rgba(10,10,10,1) 53%,rgba(78,78,78,1)
76%,rgba(56,56,56,1) 87%,rgba(27,27,27,1) 100%); /* Opera 11.10+ */
++background: -ms-linear-gradient(top, rgba(149,149,149,1) 0%,rgba(13,13,13,1)
46%,rgba(1,1,1,1) 50%,rgba(10,10,10,1) 53%,rgba(78,78,78,1)
76%,rgba(56,56,56,1) 87%,rgba(27,27,27,1) 100%); /* IE10+ */
++background: linear-gradient(to bottom, rgba(149,149,149,1)
0%,rgba(13,13,13,1) 46%,rgba(1,1,1,1) 50%,rgba(10,10,10,1) 53%,rgba(78,78,78,1)
76%,rgba(56,56,56,1) 87%,rgba(27,27,27,1) 100%); /* W3C */
++filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#959595',
endColorstr='#1b1b1b',GradientType=0 ); /* IE6-9 */
color:#FFFFFF;
text-align:center;
padding:0.24%;
@@@ -1243,16 -1242,16 +1294,16 @@@
}
h3.title {
-- color: #0000FF;
++ color: #605D5D;
margin-left: 30px;
}
h4.title {
-- color: #0000FF;
++ color: #605D5D;
margin-left: 45px;
text-decoration: underline;
}
h5.title {
-- color: #0000FF;
++ color: #605D5D;
margin-left: 45px;
text-decoration: none;
font-style: italic;
@@@ -1300,7 -1299,7 +1351,7 @@@ div.menu3
font-size : 1.2em;
}*/
textarea.itextarea{
-- border:solid #0000FF 1px;
++ border:solid #605D5D 1px;
width:90%;
margin-left:5%;
height:120px;
@@@ -1433,7 -1432,7 +1484,7 @@@ td.workday ol
}
input.inum {
text-align:right;
-- border:1px solid #0000FF;
++ border:1px solid #605D5D;
margin:2px
}
div.box {
diff --cc html/style-mandarine.css
index 398d7d2,398d7d2..2194a53
--- a/html/style-mandarine.css
+++ b/html/style-mandarine.css
@@@ -2,7 -2,7 +2,7 @@@
BODY {
background-color: #FFF1ED;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
padding: 0px 0px 0px 0px ;
margin:0px;
color: #A52A2A;
@@@ -27,7 -27,7 +27,7 @@@ table.resultfooter tfoot
}
table.sortable th, table.table_large th,table.result th {
font-weight:bold;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
border-bottom:1px solid #FF7F50;
border-top:0;
@@@ -38,7 -38,7 +38,7 @@@
}
h2 {
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
color: #E95353;
margin:1px;
padding:1px;
@@@ -164,7 -164,7 +164,7 @@@ div.lmenu
div.lextmenu {
float:left;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
}
div.searchmenu {
@@@ -177,7 -177,7 +177,7 @@@
div.recherche_form{
width:700px;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
border-style:outset;
border-width:1px;
@@@ -186,7 -186,7 +186,7 @@@ div.redcontent
float:left;
padding-top:7px;
padding-left:8px;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
width:75%;
}
@@@ -194,7 -194,7 +194,7 @@@ div.content
padding-top:0.0030%;
margin-top:0.0030%;
width:100%;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
font-size:14.4px;
font-size:0.90rem;
@@@ -204,12 -204,12 +204,12 @@@ div.content30
float:left;
padding-top:7px;
width:35%;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
}
div.no span{
position:static;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
font-weight:bold;
color:#FF0000;
@@@ -224,7 -224,7 +224,7 @@@ table.document
}
table.document th{
font-weight:bold;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
border-bottom:2px solid #FF7F50;
border-top:0px;
color:#6D3F2E;
@@@ -259,8 -259,8 +259,9 @@@ td.mtitle
width:250px;
height :30px;
background-color: #FFD299;
-- border:1px solid #99B1DF;
++ border:0px;
border-radius:5px;
++ font-weight: bold;
}
td.msubtitle {
text-align:center;
@@@ -282,7 -282,7 +283,7 @@@ span.even
}
tr.odd {
-- background-color: #FFCC99;
++ background-color: #FFE9D6;
}
tr.highlight {
font-weight: bold;
@@@ -407,7 -407,7 +408,7 @@@ a.one:hover
a.detail
{
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
text-decoration: none;
display: block;
color: #DB6906;
@@@ -415,7 -415,7 +416,7 @@@
a.detail:hover
{
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
color: #FFFFFF;
background-color: #FF6600;
text-decoration: none;
@@@ -428,7 -428,7 +429,7 @@@ li.menuv,ol.menuv
padding:1rem 1rem;
}
div.redcontent a {
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
text-decoration: none;
display: block;
color: #A52A2A;
@@@ -436,7 -436,7 +437,7 @@@
}
div.redcontent a:hover {
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
color: #FFFFFF;
background-color:#336699;
text-decoration: none;
@@@ -444,7 -444,7 +445,7 @@@
}
div.content a {
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
text-decoration: none;
display: block;
color: #EF5F2B;
@@@ -454,7 -454,7 +455,7 @@@
div.content a:hover {
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
color: #FFFFFF;
background-color: #C76626;
text-decoration: none;
@@@ -497,7 -497,7 +498,7 @@@ div.content a.mtitle:hover
}
div.redcontent input.text {
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
font-weight:normal;
border-color:#336699;
border-style:solid;
@@@ -506,7 -506,7 +507,7 @@@
color:#FF7F50;
}
div.content input.text {
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
font-weight:normal;
border-color:#336699;
border-style:solid;
@@@ -827,11 -827,11 +828,18 @@@ a#anchorbutton, .button, a.button,div.c
margin:1px 2px 1px 2px;
border-radius: 5px;
moz-border-radius:5px;
-- background-color: #EEBC8B;
border-radius: 2px;
border-width: 1px;
border-color: #6D3F2E;
++ background: #feccb1; /* Old browsers */
++background: -moz-linear-gradient(top, #feccb1 0%, #f17432 50%, #ea5507 51%,
#fb955e 100%); /* FF3.6+ */
++background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,#feccb1), color-stop(50%,#f17432), color-stop(51%,#ea5507),
color-stop(100%,#fb955e)); /* Chrome,Safari4+ */
++background: -webkit-linear-gradient(top, #feccb1 0%,#f17432 50%,#ea5507
51%,#fb955e 100%); /* Chrome10+,Safari5.1+ */
++background: -o-linear-gradient(top, #feccb1 0%,#f17432 50%,#ea5507
51%,#fb955e 100%); /* Opera 11.10+ */
++background: -ms-linear-gradient(top, #feccb1 0%,#f17432 50%,#ea5507
51%,#fb955e 100%); /* IE10+ */
++background: linear-gradient(to bottom, #feccb1 0%,#f17432 50%,#ea5507
51%,#fb955e 100%); /* W3C */
++filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feccb1',
endColorstr='#fb955e',GradientType=0 ); /* IE6-9 */
}
a#anchorbutton:hover, .button:hover,a.button:hover,div.content a.button:hover
{
cursor:pointer;
@@@ -848,7 -848,7 +856,7 @@@ a#smallanchorbutton, .smallbutton, a.sm
font-family: arial,verdana,sans-serif,helvetica;
font-size:12px;
font-size:0.75rem;
-- border-color: #6D3F2E;
++ border-color: orange;
border-style: solid;
border-width: 1px;
@@@ -861,8 -861,8 +869,14 @@@
margin:1px 2px 1px 2px;
border-radius: 2px;
moz-border-radius:2px;
--
-- background-color: #EEBC8B;
++background: #feccb1; /* Old browsers */
++background: -moz-linear-gradient(top, #feccb1 0%, #f17432 50%, #ea5507 51%,
#fb955e 100%); /* FF3.6+ */
++background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,#feccb1), color-stop(50%,#f17432), color-stop(51%,#ea5507),
color-stop(100%,#fb955e)); /* Chrome,Safari4+ */
++background: -webkit-linear-gradient(top, #feccb1 0%,#f17432 50%,#ea5507
51%,#fb955e 100%); /* Chrome10+,Safari5.1+ */
++background: -o-linear-gradient(top, #feccb1 0%,#f17432 50%,#ea5507
51%,#fb955e 100%); /* Opera 11.10+ */
++background: -ms-linear-gradient(top, #feccb1 0%,#f17432 50%,#ea5507
51%,#fb955e 100%); /* IE10+ */
++background: linear-gradient(to bottom, #feccb1 0%,#f17432 50%,#ea5507
51%,#fb955e 100%); /* W3C */
++filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feccb1',
endColorstr='#fb955e',GradientType=0 ); /* IE6-9 */
}
a#smallanchorbutton:hover, .smallbutton:hover,a.smallbutton:hover,div.content
a.smallbutton:hover {
cursor:pointer;
@@@ -940,7 -940,7 +954,7 @@@ box-shadow: 10px 10px 5px #888
}
div.inner_box {
background-color: #FAF3EC;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
padding:2px;
margin:0px;
overflow:hidden;
@@@ -954,16 -954,16 +968,16 @@@ box-shadow: 10px 10px 5px #888
font-size:14.4px;
font-size:0.90rem;
}
address@hidden only screen and (min-width: 1024px) {
address@hidden only screen and (min-width: 1281px) {
div.inner_box {
-- width: 35%;
++ width: 55%;
}
}
address@hidden only screen and (max-width: 1024px) {
address@hidden only screen and (max-width: 1280px) {
div.inner_box {
-- width: 90%;
-- left:5%;
-- margin-bottom: 5%;
++ width: 95%;
++ left:2%;
++ margin-bottom: 2%;
}
}
div.op_detail_title {
@@@ -1228,7 -1228,7 +1242,15 @@@ h1.title
text-transform: uppercase;
}
h2.title {
-- background-color: #FFB483;
++
++ background: -moz-linear-gradient(top, rgba(242,130,91,0.94) 0%,
rgba(229,91,43,0.98) 62%, rgba(240,113,70,0.99) 73%, rgba(240,113,70,1) 100%);
/* FF3.6+ */
++ background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,rgba(242,130,91,0.94)), color-stop(62%,rgba(229,91,43,0.98)),
color-stop(73%,rgba(240,113,70,0.99)), color-stop(100%,rgba(240,113,70,1))); /*
Chrome,Safari4+ */
++ background: -webkit-linear-gradient(top, rgba(242,130,91,0.94)
0%,rgba(229,91,43,0.98) 62%,rgba(240,113,70,0.99) 73%,rgba(240,113,70,1) 100%);
/* Chrome10+,Safari5.1+ */
++ background: -o-linear-gradient(top, rgba(242,130,91,0.94)
0%,rgba(229,91,43,0.98) 62%,rgba(240,113,70,0.99) 73%,rgba(240,113,70,1) 100%);
/* Opera 11.10+ */
++ background: -ms-linear-gradient(top, rgba(242,130,91,0.94)
0%,rgba(229,91,43,0.98) 62%,rgba(240,113,70,0.99) 73%,rgba(240,113,70,1) 100%);
/* IE10+ */
++ background: linear-gradient(to bottom, rgba(242,130,91,0.94)
0%,rgba(229,91,43,0.98) 62%,rgba(240,113,70,0.99) 73%,rgba(240,113,70,1) 100%);
/* W3C */
++ filter: progid:DXImageTransform.Microsoft.gradient(
startColorstr='#f0f2825b', endColorstr='#f07146',GradientType=0 ); /* IE6-9 */
++
color:#FFFFFF;
text-align:center;
padding:0.24%;
@@@ -1315,7 -1315,7 +1337,7 @@@ div#notice
div#modele_op_div{
display: none;
background-color:#FFF1ED;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
padding:0px;
margin:0px;
overflow:hidden;
@@@ -1336,7 -1336,7 +1358,7 @@@
div#modele_op_div{
display: none;
background-color:#FFF1ED;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
padding:0px;
margin:0px;
overflow:hidden;
@@@ -1362,15 -1362,15 +1384,13 @@@ div.bxbutto
margin-right:0.48%;
}
div.inner_box tr.odd {
-- background: #FEFFE0;
-- color: br;
}
#modele_op_tab tr.odd {
background: #FFFFCC;
}
div#bookmark_div {
background-color:#FFF1ED;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
padding:2px;
margin:0px;
overflow:hidden;
@@@ -1384,7 -1384,7 +1404,7 @@@
}
div#preference_div {
background-color:#FFF1ED;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
padding:0px;
margin:0px;
overflow:hidden;
@@@ -1432,7 -1432,7 +1452,7 @@@ input.inum
}
div.box {
background-color:#FFF1ED;
-- font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
++ font-family: "Liberation Sans", FreeSans, sans-serif,Arial, Helvetica;
margin-top:10px;
margin-left:3px;
margin-right:3px;
diff --cc include/anc_pa.inc.php
index c17e37a,f045a29..4945546
--- a/include/anc_pa.inc.php
+++ b/include/anc_pa.inc.php
@@@ -110,7 -110,7 +110,7 @@@ if ( isset($_REQUEST['sa'])
$new->description=$_POST['pa_description'];
$new->update();
$ret='<div class="redcontent">';
-- $ret.='<h2 class="info">Mis à jour</h2>';
++ $ret.='<h2 class="info">'._('Mis à jour').'</h2>';
$ret.="</div>";
}
// show the form for add a poste
@@@ -207,7 -207,7 +207,7 @@@
$class="odd";
$ret.="<TR class=\"$class\">";
-- $ret.="<TD >".
++ $ret.="<TD class=\"vert_mtitle\">".
'<a style="text-decoration:underline;"
href="?ac='.$_REQUEST['ac'].'&sa=po_detail&po_id='.$obj->id.'&pa_id='.$_REQUEST['pa_id'].'&'.
$str_dossier.'">'.
h($obj->name).
@@@ -244,7 -244,7 +244,7 @@@ if ( empty($list)
{
echo '<div class="lmenu">';
echo '<TABLE>';
-- echo '<TR><TD class="mtitle">';
++ echo '<TR><TD class="vert_mtitle">';
echo '<a class="mtitle"
href="?ac='.$_REQUEST['ac'].'&sa=add_pa&'.$str_dossier.'">'._("Ajout d'un plan
comptable").'</a>';
echo '</TD></TR>';
echo '</TABLE>';
@@@ -264,24 -264,22 +264,24 @@@ els
foreach ($list as $line)
{
echo '<TR>';
-- echo '<TD >'.
++ echo '<TD class="vert_mtitle">'.
'<a class="mtitle"
href="?ac='.$_REQUEST['ac'].'&sa=pa_detail&pa_id='.$line['id'].'&'.$str_dossier.'">'.
h($line['name']).
'</TD>';
-- echo '<td class="mtitle">'.
++ echo '<td class="vert_mtitle">'.
'<a class="mtitle"
href="?ac='.$_REQUEST['ac'].'&sa=list&pa_id='.$line['id'].'&'.$str_dossier.'">'.
"Activités".
- "</a>";
-
- echo '</TR>';
+ "</a></td>";
+ echo '<TD>';
+ echo $line['description'];
+ echo '</TD>';
+ echo "</TR>\n";
}
echo '</table>';
if ($obj->isAppend()==true )
{
echo '<TABLE>';
-- echo '<TR><TD class="mtitle">';
++ echo '<TR><TD class="vert_mtitle">';
echo '<a class="mtitle"
href="?ac='.$_REQUEST['ac'].'&sa=add_pa&'.$str_dossier.'">'._("Ajout d'un plan
comptable").'</a>';
echo '</TD></TR>';
echo '</TABLE>';
diff --cc include/class_acc_account_ledger.php
index aa65b5f,ad12af4..1f758ca
--- a/include/class_acc_account_ledger.php
+++ b/include/class_acc_account_ledger.php
@@@ -652,6 -651,6 +652,7 @@@ class Acc_Account_Ledge
$cn=new Database(dossier::id());
$a=new Acc_Account_Ledger($cn,550);
echo ' Journal 4 '.$a->belong_ledger(4);
++ return $a->belong_ledger(4);;
}
}
diff --cc include/class_acc_ledger.php
index afadcf7,f5c7868..2e9cd3b
--- a/include/class_acc_ledger.php
+++ b/include/class_acc_ledger.php
@@@ -131,6 -131,6 +131,8 @@@ class Acc_Ledger extends jrn_def_sq
* - letter
* - reconciliation
* @bug the attached document is not deleted
++ * @bug Normally it should be named delete_operation, cause the id is
the ledger_id
++ * (jrn_def_id) and not the operation id
*/
function delete()
{
@@@ -175,6 -175,6 +177,8 @@@
* @exception if date is invalid or other prob
* @note automatically create a reconciliation between operation
* You must set the ledger_id $this->jrn_def_id
++ * This function should be in operation or call an acc_operation
object
++ *
*/
function reverse($p_date)
{
diff --cc include/class_fiche.php
index 46bdd02,b88bb91..ed94d65
--- a/include/class_fiche.php
+++ b/include/class_fiche.php
@@@ -59,7 -59,7 +59,7 @@@ class Fich
/**
address@hidden used with a usort function, to sort an array of Fiche on
the name
*/
-- static function cmp_name($o1,$o2)
++ static function cmp_name(Fiche $o1,Fiche $o2)
{
return
strcmp($o1->strAttribut(ATTR_DEF_NAME),$o2->strAttribut(ATTR_DEF_NAME));
}
@@@ -1626,10 -1611,10 +1626,12 @@@
$r.="</TR>";
}
-- $r.="<tfoot>";
++ $r.="<tfoot >";
$solde=abs(bcsub($deb,$cred));
$side=($deb > $cred)?'Débit':'Crédit';
--
$r.=td("").td("").td("Totaux").td(nbm($deb),'class="num"').td(nbm($cred),'class="num"').td("
$side ".nbm($solde),'class="num"');
++ $r.='<tr class="highlight">';
++
$r.=td("").td("").td("").td("Totaux").td(nbm($deb),'class="num"').td(nbm($cred),'class="num"').td("
$side ".nbm($solde),'class="num"');
++ $r.='</tr>';
$r.="</tfoot>";
$r.="</TABLE>";
$r.=$bar;
diff --cc include/menu.inc.php
index 01bc0a4,01bc0a4..b0420a8
--- a/include/menu.inc.php
+++ b/include/menu.inc.php
@@@ -138,7 -138,7 +138,7 @@@ if ( $iselect->selected != ''
{
$sql="where me_type='".sql_string($_REQUEST['p_type'])."' ";
}
--$menu=new Menu_Ref_sql($cn);
++$menu=new Menu_Ref_sql();
$ret=$menu->seek($sql.$order);
?>
<fieldset><legend>Recherche</legend>
diff --cc sql/upgrade.sql
index c6c2798,28bcd76..fad1c60
--- a/sql/upgrade.sql
+++ b/sql/upgrade.sql
@@@ -1,146 -1,2 +1,163 @@@
insert into fiche_def_ref(frd_id,frd_text) values (26,'Projet');
insert into attr_min (frd_id,ad_id) values (26,1),(26,9);
+CREATE OR REPLACE FUNCTION public.upgrade_repo(p_version integer)
+ RETURNS void
+AS $function$
+declare
+ is_mono integer;
+begin
+ select count (*) into is_mono from information_schema.tables where
table_name='repo_version';
+ if is_mono = 1 then
+ update repo_version set val=p_version;
+ else
+ update version set val=p_version;
+ end if;
+end;
+$function$
+ language plpgsql;
+
+-- bug
+alter table action_gestion alter ag_title type text;
+
+INSERT INTO menu_ref(me_code, me_menu, me_file,
me_type,me_description_etendue)VALUES ('ANCKEY', 'Clef de répartition',
'anc_key.inc.php','ME','Permet de gèrer les clefs de répartition en
comptabilité analytique');
+
+insert into
profile_menu(me_code,p_id,p_type_display,pm_default,me_code_dep,p_order) values
('ANCKEY',1,'E',0,'ANC',15);
+insert into
profile_menu(me_code,p_id,p_type_display,pm_default,me_code_dep,p_order) values
('ANCKEY',2,'E',0,'ANC',15);
+
+create table key_distribution (
+ kd_id serial primary key,
+ kd_name text,
+ kd_description text);
+
+create table key_distribution_ledger (
+ kl_id serial primary key,
+ kd_id bigint not null references key_distribution(kd_id) on update
cascade on delete cascade,
+ jrn_def_id bigint not null references jrn_def(jrn_def_id) on update
cascade on delete cascade
+ );
+
+create table key_distribution_detail(
+ ke_id serial primary key,
+ kd_id bigint not null references key_distribution(kd_id) on update
cascade on delete cascade,
+ ke_row integer not null,
+ ke_percent numeric(20,4) not null
+
+ );
+
+create table key_distribution_activity
+(
+ ka_id serial primary key,
+ ke_id bigint not null references key_distribution_detail(ke_id) on
update cascade on delete cascade,
+ po_id bigint references poste_analytique(po_id) on update cascade on
delete cascade,
+ pa_id bigint not null references plan_analytique(pa_id) on update cascade
on delete cascade
+);
+
+comment on table key_distribution is 'Distribution key for analytic';
+comment on table key_distribution_ledger is 'Legder where the distribution
key can be used' ;
+comment on table key_distribution_detail is 'Row of activity and percent';
+comment on table key_distribution_activity is 'activity (account) linked to
the row';
+
+drop view vw_fiche_attr cascade;
+
+CREATE view vw_fiche_attr as
+SELECT a.f_id, a.fd_id, a.ad_value AS vw_name, k.ad_value AS vw_first_name,
b.ad_value AS vw_sell, c.ad_value AS vw_buy, d.ad_value AS tva_code,
tva_rate.tva_id, tva_rate.tva_rate, tva_rate.tva_label, e.ad_value AS vw_addr,
f.ad_value AS vw_cp, j.ad_value AS quick_code, h.ad_value AS vw_description,
i.ad_value AS tva_num, fiche_def.frd_id,l.ad_value as accounting
+ FROM ( SELECT fiche.f_id, fiche.fd_id, fiche_detail.ad_value
+ FROM fiche
+ LEFT JOIN fiche_detail USING (f_id)
+ WHERE fiche_detail.ad_id = 1) a
+ LEFT JOIN ( SELECT fiche_detail.f_id, fiche_detail.ad_value
+ FROM fiche_detail
+ WHERE fiche_detail.ad_id = 6) b ON a.f_id = b.f_id
+ LEFT JOIN ( SELECT fiche_detail.f_id, fiche_detail.ad_value
+ FROM fiche_detail
+ WHERE fiche_detail.ad_id = 7) c ON a.f_id = c.f_id
+ LEFT JOIN ( SELECT fiche_detail.f_id, fiche_detail.ad_value
+ FROM fiche_detail
+ WHERE fiche_detail.ad_id = 2) d ON a.f_id = d.f_id
+ LEFT JOIN ( SELECT fiche_detail.f_id, fiche_detail.ad_value
+ FROM fiche_detail
+ WHERE fiche_detail.ad_id = 14) e ON a.f_id = e.f_id
+ LEFT JOIN ( SELECT fiche_detail.f_id, fiche_detail.ad_value
+ FROM fiche_detail
+ WHERE fiche_detail.ad_id = 15) f ON a.f_id = f.f_id
+ LEFT JOIN ( SELECT fiche_detail.f_id, fiche_detail.ad_value
+ FROM fiche_detail
+ WHERE fiche_detail.ad_id = 23) j ON a.f_id = j.f_id
+ LEFT JOIN ( SELECT fiche_detail.f_id, fiche_detail.ad_value
+ FROM fiche_detail
+ WHERE fiche_detail.ad_id = 9) h ON a.f_id = h.f_id
+ LEFT JOIN ( SELECT fiche_detail.f_id, fiche_detail.ad_value
+ FROM fiche_detail
+ WHERE fiche_detail.ad_id = 13) i ON a.f_id = i.f_id
+ LEFT JOIN ( SELECT fiche_detail.f_id, fiche_detail.ad_value
+ FROM fiche_detail
+ WHERE fiche_detail.ad_id = 32) k ON a.f_id = k.f_id
+ LEFT JOIN tva_rate ON d.ad_value = tva_rate.tva_id::text
+ JOIN fiche_def USING (fd_id)
+LEFT JOIN ( SELECT fiche_detail.f_id, fiche_detail.ad_value
+ FROM fiche_detail
+ WHERE fiche_detail.ad_id = 5) l ON a.f_id = l.f_id;
+
+
+create view v_detail_sale as
+WITH m AS (
+ SELECT sum(quant_sold.qs_price) AS htva, sum(quant_sold.qs_vat) AS
tot_vat, jrn.jr_id
+ FROM quant_sold
+ JOIN jrnx USING (j_id)
+ JOIN jrn ON jrnx.j_grpt = jrn.jr_grpt_id
+ GROUP BY jrn.jr_id
+ )
+SELECT jrn.jr_id, jrn.jr_date, jrn.jr_date_paid, jrn.jr_ech, jrn.jr_tech_per,
jrn.jr_comment, jrn.jr_pj_number, jrn.jr_internal, jrn.jr_def_id, jrnx.j_poste,
jrnx.j_text, jrnx.j_qcode, quant_sold.qs_fiche AS item_card, a.name AS
item_name, quant_sold.qs_client, b.vw_name AS tiers_name, b.quick_code,
tva_rate.tva_label, tva_rate.tva_comment, tva_rate.tva_both_side,
quant_sold.qs_vat_sided AS vat_sided, quant_sold.qs_vat_code AS vat_code,
quant_sold.qs_vat AS vat, quant_sold.qs_price AS p [...]
+ FROM jrn
+ JOIN jrnx ON jrn.jr_grpt_id = jrnx.j_grpt
+ JOIN quant_sold USING (j_id)
+ JOIN vw_fiche_name a ON quant_sold.qs_fiche = a.f_id
+ JOIN vw_fiche_attr b ON quant_sold.qs_client = b.f_id
+ JOIN tva_rate ON quant_sold.qs_vat_code = tva_rate.tva_id
+ JOIN m ON m.jr_id = jrn.jr_id;
+
+
+create view v_detail_purchase as
+ WITH m AS (
+ SELECT sum(quant_purchase.qp_price) AS htva,
sum(quant_purchase.qp_vat) AS tot_vat, jrn.jr_id
+ FROM quant_purchase
+ JOIN jrnx USING (j_id)
+ JOIN jrn ON jrnx.j_grpt = jrn.jr_grpt_id
+ GROUP BY jrn.jr_id
+ )
+ SELECT jrn.jr_id, jrn.jr_date, jrn.jr_date_paid, jrn.jr_ech,
jrn.jr_tech_per, jrn.jr_comment, jrn.jr_pj_number, jrn.jr_internal,
jrn.jr_def_id, jrnx.j_poste, jrnx.j_text, jrnx.j_qcode, quant_purchase.qp_fiche
AS item_card, a.name AS item_name,
+quant_purchase.qp_supplier, b.vw_name AS tiers_name, b.quick_code,
tva_rate.tva_label,
+tva_rate.tva_comment, tva_rate.tva_both_side,
+quant_purchase.qp_vat_sided AS vat_sided,
+quant_purchase.qp_vat_code AS vat_code,
+quant_purchase.qp_vat AS vat,
+quant_purchase.qp_price AS price,
+quant_purchase.qp_quantite AS quantity,
+quant_purchase.qp_price / quant_purchase.qp_quantite AS price_per_unit,
+quant_purchase.qp_nd_amount AS non_ded_amount,
+ quant_purchase.qp_nd_tva AS non_ded_tva,
+quant_purchase.qp_nd_tva_recup AS non_ded_tva_recup,
+ m.htva, m.tot_vat
+ FROM jrn
+ JOIN jrnx ON jrn.jr_grpt_id = jrnx.j_grpt
+ JOIN quant_purchase USING (j_id)
+ JOIN vw_fiche_name a ON quant_purchase.qp_fiche = a.f_id
+ JOIN vw_fiche_attr b ON quant_purchase.qp_supplier = b.f_id
+ JOIN tva_rate ON quant_purchase.qp_vat_code = tva_rate.tva_id
+ JOIN m ON m.jr_id = jrn.jr_id;
++
++create index jrnx_j_qcode_ix on jrnx (j_qcode);
++
++CREATE TABLE action_person
++(
++ ap_id SERIAL NOT NULL,
++ ag_id int4 NOT NULL,
++f_id int4, PRIMARY KEY (ap_id));
++COMMENT ON TABLE action_person IS 'Person involved in the action';
++
++ALTER TABLE action_person ADD CONSTRAINT action_gestion_ag_id_fk2 FOREIGN KEY
(ag_id) REFERENCES action_gestion (ag_id);
++ALTER TABLE action_person ADD CONSTRAINT fiche_f_id_fk2 FOREIGN KEY (f_id)
REFERENCES fiche(f_id);
++ALTER TABLE action_gestion ADD CONSTRAINT fiche_f_id_fk3 FOREIGN KEY
(f_id_dest) REFERENCES fiche(f_id);
++
++alter table action_gestion alter f_id_dest drop not null;
++update action_gestion set f_id_dest = null where f_id_dest = 0;
++
diff --cc unit-test/include/class_acc_ledgerTest.php
index 9a81c45,0000000..5494dd7
mode 100644,000000..100644
--- a/unit-test/include/class_acc_ledgerTest.php
+++ b/unit-test/include/class_acc_ledgerTest.php
@@@ -1,836 -1,0 +1,839 @@@
+<?php
+
+/**
+ * Generated by PHPUnit_SkeletonGenerator on 2014-11-09 at 12:39:58.
+ */
+class Acc_LedgerTest extends PHPUnit_Framework_TestCase
+{
+
+ /**
+ * @var Acc_Ledger
+ */
+ protected $object;
-
++ protected function getDataSet()
++ {
++ $dataSet = new PHPUnit_Extensions_Database_DataSet_CsvDataSet();
++ $dataSet->addTable('jrn', dirname(__FILE__)."/jrn.csv");
++ return $dataSet;
++ }
+ /**
+ * Sets up the fixture, for example, opens a network connection.
+ * This method is called before a test is executed.
+ */
+ protected function setUp()
+ {
+ include 'global.php';
+ $this->object=new Acc_Ledger($g_connection,0);
+ }
+
+ /**
+ * Tears down the fixture, for example, closes a network connection.
+ * This method is called after a test is executed.
+ */
+ protected function tearDown()
+ {
+
+ }
+
+ /**
+ * @covers Acc_Ledger::get_last_pj
+ * @todo Implement testGet_last_pj().
+ */
+ public function testGet_last_pj()
- {
++ {
++
+ $this->object->id=1;
+ $array=$this->object->get_last(2);
+ $this->assertEquals(2,count($array));
+
+ }
+
+ /**
+ * @covers Acc_Ledger::get_type
+ * @todo Implement testGet_type().
+ */
+ public function testGet_type()
+ {
+ $this->object->id=0;
+ $type=$this->object->get_type();
+ $this->assertEquals('GL',$type);
+
+ $this->object->id=1;
+ $type=$this->object->get_type();
+ $this->assertEquals('FIN',$type);
+
+ $this->object->id=2;
+ $type=$this->object->get_type();
+ $this->assertEquals('VEN',$type);
+
+ $this->object->id=3;
+ $type=$this->object->get_type();
+ $this->assertEquals('ACH',$type);
+ }
+
+ /**
+ * @covers Acc_Ledger::delete
+ * @todo Implement testDelete().
+ */
+ public function testDelete()
+ {
+ $this->object->delete();
+ }
+
+ /**
+ * @covers Acc_Ledger::display_warning
+ * @todo Implement testDisplay_warning().
+ */
+ public function testDisplay_warning()
+ {
+ $this->object->display_warning("Alert", "warning");
+ }
+
+ /**
+ * @covers Acc_Ledger::reverse
+ * @todo Implement testReverse().
+ */
+ public function testReverse()
+ {
+ $this->object->reverse('01.01.2014');
+ }
+
+ /**
+ * @covers Acc_Ledger::get_name
+ * @todo Implement testGet_name().
+ */
+ public function testGet_name()
+ {
+ $this->object->id=3;
+ $name=$this->object->get_name();
+ $this->assertEquals('Achat',$name);
+ }
+
+ /**
+ * @covers Acc_Ledger::get_row
+ * @todo Implement testGet_row().
+ */
+ public function testGet_row()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_rowSimple
+ * @todo Implement testGet_rowSimple().
+ */
+ public function testGet_rowSimple()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::guess_pj
+ * @todo Implement testGuess_pj().
+ */
+ public function testGuess_pj()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::list_operation_to_reconcile
+ * @todo Implement testList_operation_to_reconcile().
+ */
+ public function testList_operation_to_reconcile()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::list_operation
+ * @todo Implement testList_operation().
+ */
+ public function testList_operation()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_detail
+ * @todo Implement testGet_detail().
+ */
+ public function testGet_detail()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_propertie
+ * @todo Implement testGet_propertie().
+ */
+ public function testGet_propertie()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::GetDefLine
+ * @todo Implement testGetDefLine().
+ */
+ public function testGetDefLine()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_solde
+ * @todo Implement testGet_solde().
+ */
+ public function testGet_solde()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::select_ledger
+ * @todo Implement testSelect_ledger().
+ */
+ public function testSelect_ledger()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_fiche_def
+ * @todo Implement testGet_fiche_def().
+ */
+ public function testGet_fiche_def()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_class_def
+ * @todo Implement testGet_class_def().
+ */
+ public function testGet_class_def()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::confirm
+ * @todo Implement testConfirm().
+ */
+ public function testConfirm()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_min_row
+ * @todo Implement testGet_min_row().
+ */
+ public function testGet_min_row()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::input
+ * @todo Implement testInput().
+ */
+ public function testInput()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::is_closed
+ * @todo Implement testIs_closed().
+ */
+ public function testIs_closed()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::verify
+ * @todo Implement testVerify().
+ */
+ public function testVerify()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::compute_internal_code
+ * @todo Implement testCompute_internal_code().
+ */
+ public function testCompute_internal_code()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::save
+ * @todo Implement testSave().
+ */
+ public function testSave()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_request
+ * @todo Implement testGet_request().
+ */
+ public function testGet_request()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::next_number
+ * @todo Implement testNext_number().
+ */
+ public function testNext_number()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_first
+ * @todo Implement testGet_first().
+ */
+ public function testGet_first()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::update_paid
+ * @todo Implement testUpdate_paid().
+ */
+ public function testUpdate_paid()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::update_internal_code
+ * @todo Implement testUpdate_internal_code().
+ */
+ public function testUpdate_internal_code()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_default_card
+ * @todo Implement testGet_default_card().
+ */
+ public function testGet_default_card()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_all_fiche_def
+ * @todo Implement testGet_all_fiche_def().
+ */
+ public function testGet_all_fiche_def()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_saldo_exercice
+ * @todo Implement testGet_saldo_exercice().
+ */
+ public function testGet_saldo_exercice()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::check_strict
+ * @todo Implement testCheck_strict().
+ */
+ public function testCheck_strict()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::check_periode
+ * @todo Implement testCheck_periode().
+ */
+ public function testCheck_periode()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_last_date
+ * @todo Implement testGet_last_date().
+ */
+ public function testGet_last_date()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_id
+ * @todo Implement testGet_id().
+ */
+ public function testGet_id()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::create_document
+ * @todo Implement testCreate_document().
+ */
+ public function testCreate_document()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::check_payment
+ * @todo Implement testCheck_payment().
+ */
+ public function testCheck_payment()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::inc_seq_pj
+ * @todo Implement testInc_seq_pj().
+ */
+ public function testInc_seq_pj()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::search_form
+ * @todo Implement testSearch_form().
+ */
+ public function testSearch_form()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::build_search_sql
+ * @todo Implement testBuild_search_sql().
+ */
+ public function testBuild_search_sql()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::display_search_form
+ * @todo Implement testDisplay_search_form().
+ */
+ public function testDisplay_search_form()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_last
+ * @todo Implement testGet_last().
+ */
+ public function testGet_last()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::search_group
+ * @todo Implement testSearch_group().
+ */
+ public function testSearch_group()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_operation
+ * @todo Implement testGet_operation().
+ */
+ public function testGet_operation()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::existing_vat
+ * @todo Implement testExisting_vat().
+ */
+ public function testExisting_vat()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_other_amount
+ * @todo Implement testGet_other_amount().
+ */
+ public function testGet_other_amount()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::vat_operation
+ * @todo Implement testVat_operation().
+ */
+ public function testVat_operation()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::previous_amount
+ * @todo Implement testPrevious_amount().
+ */
+ public function testPrevious_amount()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::test_me
+ * @todo Implement testTest_me().
+ */
+ public function testTest_me()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::array_cat
+ * @todo Implement testArray_cat().
+ */
+ public function testArray_cat()
+ {
+ $array=Acc_Ledger::array_cat();
+ $this->assertEquals(4,count($array));
+ }
+
+ /**
+ * @covers Acc_Ledger::get_tiers
+ * @todo Implement testGet_tiers().
+ */
+ public function testGet_tiers()
+ {
- // Remove the following lines when you implement this test.
- $this->markTestIncomplete(
- 'This test has not been implemented yet.'
- );
++ $this->object->get_tiers($p_jrn_type, $jr_id);
+ }
+
+ /**
+ * @covers Acc_Ledger::listing
+ * @todo Implement testListing().
+ */
+ public function testListing()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::display_ledger
+ * @todo Implement testDisplay_ledger().
+ */
+ public function testDisplay_ledger()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::verify_ledger
+ * @todo Implement testVerify_ledger().
+ */
+ public function testVerify_ledger()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::update
+ * @todo Implement testUpdate().
+ */
+ public function testUpdate()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::input_paid
+ * @todo Implement testInput_paid().
+ */
+ public function testInput_paid()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::input_new
+ * @todo Implement testInput_new().
+ */
+ public function testInput_new()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::save_new
+ * @todo Implement testSave_new().
+ */
+ public function testSave_new()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::delete_ledger
+ * @todo Implement testDelete_ledger().
+ */
+ public function testDelete_ledger()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_operation_date
+ * @todo Implement testGet_operation_date().
+ */
+ public function testGet_operation_date()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_supplier_now
+ * @todo Implement testGet_supplier_now().
+ */
+ public function testGet_supplier_now()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_supplier_late
+ * @todo Implement testGet_supplier_late().
+ */
+ public function testGet_supplier_late()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_customer_now
+ * @todo Implement testGet_customer_now().
+ */
+ public function testGet_customer_now()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::get_customer_late
+ * @todo Implement testGet_customer_late().
+ */
+ public function testGet_customer_late()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Acc_Ledger::convert_from_follow
+ * @todo Implement testConvert_from_follow().
+ */
+ public function testConvert_from_follow()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+}