$obj->aoColumns[$i]->fnRender = 'function(obj) { var ar = []; ar[ar.length] = "<a href=\\"' . $url . '?id="; ar[ar.length] = obj.aData._id.toString(); ar[ar.length] = "&action=edit&backtopage=' . $_SERVER['PHP_SELF'] . '\\" class=\\"sepV_a\\" title=\\"' . $langs->trans("Edit") . '\\"><img src=\\"' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/edit.png\\" alt=\\"\\" /></a>"; ar[ar.length] = "<a href=\\"' . $url . '?id="; ar[ar.length] = obj.aData._id.toString(); ar[ar.length] = "&action=resign&backtopage=' . $_SERVER['PHP_SELF'] . '\\" class=\\"sepV_a\\" title=\\"' . $langs->trans("Resiliate") . '\\"><img src=\\"' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/disable.png\\" alt=\\"\\" /></a>"; ar[ar.length] = "<a href=\\"' . $url . '?id="; ar[ar.length] = obj.aData._id.toString(); ar[ar.length] = "&action=delete&backtopage=' . $_SERVER['PHP_SELF'] . '\\" class=\\"sepV_a\\" title=\\"' . $langs->trans("Delete") . '\\"><img src=\\"' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/delete.png\\" alt=\\"\\" /></a>"; var str = ar.join(""); return str; }'; print '</tr>'; print '</thead>'; print '<tfoot>'; print '</tfoot>'; print '<tbody>'; print '</tbody>'; print "</table>"; print "</div>"; $obj->bServerSide = true; $object->datatablesCreate($obj, "member", true, true); print end_box(); print '</div>'; // end row llxFooter(); ?>
print '<br>'; $form->select_types_paiements('', 'paymenttypeid'); print '<input name="num_chq" type="text" class="flat" size="5">'; } else { print ' '; } print "</td>\n"; } } // Date start print '<td>' . $objp->dateh . "</td>\n"; // Date end print '<td>' . $objp->datef . "</td>\n"; // Price print '<td>' . $objp->amount . '</td>'; print "</tr>"; $i++; } } print '</tbody>'; print "</table>"; print "</div>"; $obj->bServerSide = false; $obj->sDom = 'l<fr>t<\\"clear\\"rtip>'; $obj->aaSorting = array(array(1, 'asc')); $adherent->datatablesCreate($obj, "cotisation_datatable"); print end_box(); print '</div>'; // end row $db->close(); llxFooter();
print $tmp_id; print '</td>'; print '<td>'; print $tmp_id . '</td>'; print '<td align="right">' . $nb . '</td>'; print "</tr>"; $i++; } } print '</tbody>'; print "</table>"; print "</div>"; $obj->bServerSide = false; $obj->aaSorting = array(array(1, "asc")); $obj->sDom = 'l<fr>t<\\"clear\\"rtip>'; $object->datatablesCreate($obj, "membertype", false, true); print "</div>"; print dol_fiche_end(); } /* * ************************************************************************* */ /* */ /* Edition de la fiche */ /* */ /* * ************************************************************************* */ if ($rowid) { print '<div class="row">'; $titre = $langs->trans("MemberType"); print start_box($titre, "twelve", "16-Users.png"); dol_fiche_head($head, 'card', $langs->trans("MemberType"), 0, 'group'); print '<table class="border" width="100%">'; // Label