mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Update card.php
This commit is contained in:
parent
20e2553864
commit
ab939f79ae
|
|
@ -2663,11 +2663,11 @@ if ($action == 'create') {
|
|||
}
|
||||
$dispachedLines = $object->getDispachedLines(1);
|
||||
$nbDispachedLines = count($dispachedLines);
|
||||
if($nbDispachedLines > 0){
|
||||
if ($nbDispachedLines > 0) {
|
||||
$hasreception = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (in_array($object->statut, array(3, 4, 5))) {
|
||||
if (isModEnabled("supplier_order") && $usercanreceive) {
|
||||
print '<div class="inline-block divButAction"><a class="butAction" href="'.DOL_URL_ROOT.'/fourn/commande/dispatch.php?id='.$object->id.'">'.$labelofbutton.'</a></div>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user