Debug v23
This commit is contained in:
parent
864191e881
commit
343edad341
6 changed files with 4 additions and 5 deletions
|
|
@ -159,7 +159,7 @@ $usercanclose = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && !empt
|
|||
$usercanvalidate = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $usercancreate) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('commande', 'order_advance', 'validate')));
|
||||
$usercancancel = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $usercancreate) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('commande', 'order_advance', 'annuler')));
|
||||
$usercansend = (!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') || $user->hasRight('commande', 'order_advance', 'send'));
|
||||
$usercangeneretedoc = (!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') || $user->hasRight('commande', 'order_advance', 'generetedoc'));
|
||||
$usercangeneratedoc = (!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') || $user->hasRight('commande', 'order_advance', 'generetedoc'));
|
||||
|
||||
$usermustrespectpricemin = ((getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && !$user->hasRight('produit', 'ignore_price_min_advance')) || !getDolGlobalString('MAIN_USE_ADVANCED_PERMS'));
|
||||
$usercancreatepurchaseorder = ($user->hasRight('fournisseur', 'commande', 'creer') || $user->hasRight('supplier_order', 'creer'));
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ if (!empty($permissioncreate) && empty($permissiontoadd)) {
|
|||
}
|
||||
|
||||
// Build doc
|
||||
if ($action == 'builddoc' && ($permissiontoadd || !empty($usercangeneretedoc))) {
|
||||
if ($action == 'builddoc' && ($permissiontoadd || !empty($usercangeneratedoc))) {
|
||||
if (is_numeric(GETPOST('model', 'alpha'))) {
|
||||
setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("Model")), null, 'errors');
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -71,7 +71,6 @@ EnableBarOrRestaurantFeatures=Enable features for Bar or Restaurant
|
|||
ConfirmDeletionOfThisPOSSale=Do your confirm the deletion of this current sale ?
|
||||
ConfirmDiscardOfThisPOSSale=Do you want to discard this current sale ?
|
||||
NoClientErrorMessage=Please select a customer first
|
||||
History=History
|
||||
ValidateAndClose=Validate and close
|
||||
Terminal=Terminal
|
||||
NumberOfTerminals=Number of Terminals
|
||||
|
|
|
|||
|
|
@ -1425,3 +1425,4 @@ SignatureID=Signature
|
|||
except=except
|
||||
DUPLICATA=DUPLICATA
|
||||
ErrorFailedTriggerCall=Failed to call trigger
|
||||
History=History
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ SupplierInvoices=Vendor invoices
|
|||
ShowSupplierInvoice=Show Vendor Invoice
|
||||
NewSupplier=New vendor
|
||||
NewSupplierInvoice = New vendor invoice
|
||||
History=History
|
||||
ListOfSuppliers=List of vendors
|
||||
ShowSupplier=Show vendor
|
||||
BuyingPriceMin=Best buying price
|
||||
|
|
|
|||
|
|
@ -4236,7 +4236,7 @@ div.popuptab {
|
|||
/* ============================================================================== */
|
||||
|
||||
div.tabsAction {
|
||||
margin: 20px 0em 30px 0em;
|
||||
margin: 20px 0em 40px 0em;
|
||||
padding: 0em 0em;
|
||||
text-align: right;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue