Skip to content

Commit

Permalink
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
Browse files Browse the repository at this point in the history
…evelop
  • Loading branch information
eldy committed Oct 3, 2015
2 parents 00911d1 + 2d94e36 commit c4c8ffd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions htdocs/core/lib/files.lib.php
Expand Up @@ -2145,6 +2145,16 @@ function dol_check_secure_access_document($modulepart,$original_file,$entity,$fu
$original_file=$conf->banque->dir_output.'/bordereau/'.$original_file; // original_file should contains relative path so include the get_exdir result
}

// Wrapping for bank
else if ($modulepart == 'bank')
{
if ($fuser->rights->banque->lire)
{
$accessallowed=1;
}
$original_file=$conf->bank->dir_output.'/'.$original_file;
}

// Wrapping for export module
else if ($modulepart == 'export')
{
Expand Down
3 changes: 2 additions & 1 deletion htdocs/langs/en_US/suppliers.lang
Expand Up @@ -3,6 +3,7 @@ Suppliers=Suppliers
AddSupplier=Create a supplier
SupplierRemoved=Supplier removed
SuppliersInvoice=Suppliers invoice
ShowSupplierInvoice=Show Supplier Invoice
NewSupplier=New supplier
History=History
ListOfSuppliers=List of suppliers
Expand Down Expand Up @@ -43,4 +44,4 @@ ListOfSupplierOrders=List of supplier orders
MenuOrdersSupplierToBill=Supplier orders to invoice
NbDaysToDelivery=Delivery delay in days
DescNbDaysToDelivery=The biggest deliver delay of the products from this order
UseDoubleApproval=Use double approval when amount (without tax) is higher than (The second approval can be done by any user with the dedicated permission. Set to 0 for no double approval)
UseDoubleApproval=Use double approval when amount (without tax) is higher than (The second approval can be done by any user with the dedicated permission. Set to 0 for no double approval)

0 comments on commit c4c8ffd

Please sign in to comment.