mode Kanban for subscription list
This commit is contained in:
parent
abd5a86f34
commit
0c75e5bb2d
@ -525,7 +525,7 @@ class Subscription extends CommonObject
|
|||||||
if (property_exists($this, 'dateh') || property_exists($this, 'datef')) {
|
if (property_exists($this, 'dateh') || property_exists($this, 'datef')) {
|
||||||
$return .= '<br><span class="info-box-status opacitymedium">'.dol_print_date($this->dateh, 'day').' - '.dol_print_date($this->datef, 'day').'</span>';
|
$return .= '<br><span class="info-box-status opacitymedium">'.dol_print_date($this->dateh, 'day').' - '.dol_print_date($this->datef, 'day').'</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (property_exists($this, 'fk_bank')) {
|
if (property_exists($this, 'fk_bank')) {
|
||||||
$return .= '<br><span class="info-box-label ">'.$this->fk_bank.'</span>';
|
$return .= '<br><span class="info-box-label ">'.$this->fk_bank.'</span>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -516,13 +516,13 @@ while ($i < min($num, $limit)) {
|
|||||||
$adht->fetch($typeid);
|
$adht->fetch($typeid);
|
||||||
|
|
||||||
$adherent->need_subscription = $adht->subscription;
|
$adherent->need_subscription = $adht->subscription;
|
||||||
|
|
||||||
if ($mode == 'kanban') {
|
if ($mode == 'kanban') {
|
||||||
if ($i == 0) {
|
if ($i == 0) {
|
||||||
print '<tr><td colspan="12">';
|
print '<tr><td colspan="12">';
|
||||||
print '<div class="box-flex-container">';
|
print '<div class="box-flex-container">';
|
||||||
}
|
}
|
||||||
|
|
||||||
//fetch informations needs on this mode
|
//fetch informations needs on this mode
|
||||||
$subscription->fk_adherent = $adherent->getNomUrl(1);
|
$subscription->fk_adherent = $adherent->getNomUrl(1);
|
||||||
$subscription->fk_type = $adht->getNomUrl(1);
|
$subscription->fk_type = $adht->getNomUrl(1);
|
||||||
@ -538,9 +538,7 @@ while ($i < min($num, $limit)) {
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
|
||||||
else {
|
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
|
|
||||||
// Ref
|
// Ref
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user