Ajout boutons accès rapide dans la liste des clients

This commit is contained in:
bohwaz 2021-12-17 14:09:10 +01:00
parent f0d644e947
commit fcbcd813df

View File

@ -16,10 +16,13 @@
<td>{$value}</td> <td>{$value}</td>
{/foreach} {/foreach}
<td class="actions"> <td class="actions">
{linkbutton shape="user" href="client.php?id=%d"|args:$row.id label="Fiche client"} {if $session->canAccess($session::SECTION_ACCOUNTING, $session::ACCESS_ADMIN)}
{if $session->canAccess($session::SECTION_USERS, $session::ACCESS_WRITE)} {linkbutton shape="delete" href="client_supprimer.php?id=%d"|args:$row.id label="Supprimer"}
{/if}
{if $session->canAccess($session::SECTION_USERS, $session::ACCESS_ADMIN)}
{linkbutton shape="edit" href="client_modifier.php?id=%d"|args:$row.id label="Modifier"} {linkbutton shape="edit" href="client_modifier.php?id=%d"|args:$row.id label="Modifier"}
{/if} {/if}
{linkbutton shape="user" href="client.php?id=%d"|args:$row.id label="Fiche client"}
</td> </td>
</tr> </tr>
{/foreach} {/foreach}