Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
29422a9f
Commit
29422a9f
authored
9 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
parents
a2e9ebe2
b2c1365e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/filefunc.inc.php
+2
-2
2 additions, 2 deletions
htdocs/filefunc.inc.php
htdocs/fourn/facture/tpl/linkedobjectblock.tpl.php
+5
-2
5 additions, 2 deletions
htdocs/fourn/facture/tpl/linkedobjectblock.tpl.php
with
7 additions
and
4 deletions
htdocs/filefunc.inc.php
+
2
−
2
View file @
29422a9f
...
...
@@ -109,8 +109,8 @@ $dolibarr_main_document_root_alt=(empty($dolibarr_main_document_root_alt)?'':tri
if
(
empty
(
$dolibarr_main_db_port
))
$dolibarr_main_db_port
=
0
;
// Pour compatibilite avec anciennes configs, si non defini, on prend 'mysql'
if
(
empty
(
$dolibarr_main_db_type
))
$dolibarr_main_db_type
=
'mysql'
;
// Pour compatibilite avec anciennes configs, si non defini, on prend 'mysql'
if
(
empty
(
$dolibarr_main_db_prefix
))
$dolibarr_main_db_prefix
=
'llx_'
;
if
(
empty
(
$dolibarr_main_db_character_set
))
$dolibarr_main_db_character_set
=
(
$dolibarr_main_db_type
==
'mysql'
?
'
latin1
'
:
''
);
// Old installation
if
(
empty
(
$dolibarr_main_db_collation
))
$dolibarr_main_db_collation
=
(
$dolibarr_main_db_type
==
'mysql'
?
'
latin1_swedish
_ci'
:
''
);
// Old installation
if
(
empty
(
$dolibarr_main_db_character_set
))
$dolibarr_main_db_character_set
=
(
$dolibarr_main_db_type
==
'mysql'
?
'
utf8
'
:
''
);
// Old installation
if
(
empty
(
$dolibarr_main_db_collation
))
$dolibarr_main_db_collation
=
(
$dolibarr_main_db_type
==
'mysql'
?
'
utf8_general
_ci'
:
''
);
// Old installation
if
(
empty
(
$dolibarr_main_db_encryption
))
$dolibarr_main_db_encryption
=
0
;
if
(
empty
(
$dolibarr_main_db_cryptkey
))
$dolibarr_main_db_cryptkey
=
''
;
if
(
empty
(
$dolibarr_main_limit_users
))
$dolibarr_main_limit_users
=
0
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/fourn/facture/tpl/linkedobjectblock.tpl.php
+
5
−
2
View file @
29422a9f
<?php
/* Copyright (C) 2010-2011 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2015 Charlie Benke <charlie@patas-monkey.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -35,6 +36,7 @@ print_titre($langs->trans("RelatedSupplierInvoices"));
<table
class=
"noborder allwidth"
>
<tr
class=
"liste_titre"
>
<td>
<?php
echo
$langs
->
trans
(
"Ref"
);
?>
</td>
<td
align=
"left"
>
<?php
echo
$langs
->
trans
(
"RefSupplier"
);
?>
</td>
<td
align=
"center"
>
<?php
echo
$langs
->
trans
(
"Date"
);
?>
</td>
<td
align=
"right"
>
<?php
echo
$langs
->
trans
(
"AmountHTShort"
);
?>
</td>
<td
align=
"right"
>
<?php
echo
$langs
->
trans
(
"Status"
);
?>
</td>
...
...
@@ -46,8 +48,9 @@ foreach($linkedObjectBlock as $object)
{
$var
=!
$var
;
?>
<tr
<?php
echo
$bc
[
$var
];
?>
><td>
<a
href=
"
<?php
echo
DOL_URL_ROOT
.
'/fourn/facture/card.php?facid='
.
$object
->
id
?>
"
>
<?php
echo
img_object
(
$langs
->
trans
(
"ShowBill"
),
"bill"
)
.
' '
.
$object
->
ref
;
?>
</a></td>
<tr
<?php
echo
$bc
[
$var
];
?>
>
<td></td><a
href=
"
<?php
echo
DOL_URL_ROOT
.
'/fourn/facture/card.php?facid='
.
$object
->
id
?>
"
>
<?php
echo
img_object
(
$langs
->
trans
(
"ShowBill"
),
"bill"
)
.
' '
.
$object
->
ref
;
?>
</a></td>
<td
align=
"left"
>
<?php
echo
$object
->
ref_supplier
;
?>
</td>
<td
align=
"center"
>
<?php
echo
dol_print_date
(
$object
->
date
,
'day'
);
?>
</td>
<td
align=
"right"
>
<?php
if
(
$user
->
rights
->
fournisseur
->
facture
->
lire
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment