mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
FIX Maxi debug edit/delete accounting transaction
This commit is contained in:
@@ -2675,19 +2675,19 @@ function dol_get_fiche_end($notab = 0)
|
||||
* Show tab footer of a card.
|
||||
* Note: $object->next_prev_filter can be set to restrict select to find next or previous record by $form->showrefnav.
|
||||
*
|
||||
* @param CommonObject $object Object to show
|
||||
* @param string $paramid Name of parameter to use to name the id into the URL next/previous link
|
||||
* @param string $morehtml More html content to output just before the nav bar
|
||||
* @param int $shownav Show Condition (navigation is shown if value is 1)
|
||||
* @param string $fieldid Name of the field in DB to use to select next et previous (we make the select max and min on this field). Use 'none' for no prev/next search.
|
||||
* @param string $fieldref Name of the field (object->ref) to use to select next et previous
|
||||
* @param string $morehtmlref More html to show after the ref (see $morehtmlleft for before)
|
||||
* @param string $moreparam More param to add in nav link url.
|
||||
* @param int $nodbprefix Do not include DB prefix to forge table name
|
||||
* @param string $morehtmlleft More html code to show before the ref (see $morehtmlref for after)
|
||||
* @param string $morehtmlstatus More html code to show under navigation arrows
|
||||
* @param int $onlybanner Put this to 1, if the card will contains only a banner (this add css 'arearefnobottom' on div)
|
||||
* @param string $morehtmlright More html code to show before navigation arrows
|
||||
* @param CommonObject $object Object to show
|
||||
* @param string $paramid Name of parameter to use to name the id into the URL next/previous link
|
||||
* @param string $morehtml More html content to output just before the nav bar
|
||||
* @param int|bool $shownav Show Condition (navigation is shown if value is 1 or true)
|
||||
* @param string $fieldid Name of the field in DB to use to select next et previous (we make the select max and min on this field). Use 'none' for no prev/next search.
|
||||
* @param string $fieldref Name of the field (object->ref) to use to select next et previous
|
||||
* @param string $morehtmlref More html to show after the ref (see $morehtmlleft for before)
|
||||
* @param string $moreparam More param to add in nav link url.
|
||||
* @param int $nodbprefix Do not include DB prefix to forge table name
|
||||
* @param string $morehtmlleft More html code to show before the ref (see $morehtmlref for after)
|
||||
* @param string $morehtmlstatus More html code to show under navigation arrows
|
||||
* @param int $onlybanner Put this to 1, if the card will contains only a banner (this add css 'arearefnobottom' on div)
|
||||
* @param string $morehtmlright More html code to show before navigation arrows
|
||||
* @return void
|
||||
*/
|
||||
function dol_banner_tab($object, $paramid, $morehtml = '', $shownav = 1, $fieldid = 'rowid', $fieldref = 'ref', $morehtmlref = '', $moreparam = '', $nodbprefix = 0, $morehtmlleft = '', $morehtmlstatus = '', $onlybanner = 0, $morehtmlright = '')
|
||||
@@ -3030,6 +3030,11 @@ function dol_banner_tab($object, $paramid, $morehtml = '', $shownav = 1, $fieldi
|
||||
$morehtmlref = $hookmanager->resPrint;
|
||||
}
|
||||
|
||||
// $morehtml is the right part (link "Back to list")
|
||||
// $morehtmlleft is the picto or photo of banner
|
||||
// $morehtmlstatus is part under the status
|
||||
// $morehtmlright is part of htmlright
|
||||
|
||||
print '<div class="'.($onlybanner ? 'arearefnobottom ' : 'arearef ').'heightref valignmiddle centpercent">';
|
||||
print $form->showrefnav($object, $paramid, $morehtml, $shownav, $fieldid, $fieldref, $morehtmlref, $moreparam, $nodbprefix, $morehtmlleft, $morehtmlstatus, $morehtmlright);
|
||||
print '</div>';
|
||||
|
||||
Reference in New Issue
Block a user