Overview
Comment:Remove option to delete users from services and fees
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: adfd9ac6294c1f730a68261f79fb3a0e11d713e169107a479036584e79697732
User & Date: bohwaz on 2022-02-18 03:24:31
Other Links: manifest | tags
Context
2022-02-18
03:24
Fix export of a specific year check-in: de170bd61a user: bohwaz tags: trunk, stable
03:24
Remove option to delete users from services and fees check-in: adfd9ac629 user: bohwaz tags: trunk, stable
00:53
Accounting import of transactions: refactor code to have less duplicate code, also change formats to have simple, full and grouped exports, and allow import of both simple and grouped exports check-in: 3d03dcd348 user: bohwaz tags: trunk, stable
Changes

Modified src/templates/admin/membres/_list_actions.tpl from [1fb6c2b70f] to [1ce77f5c93].

1
2
3
4
5
6
7
8
9
10
11
12
13

14

15
16
17
18
19
20
21
		<tfoot>
			<tr>
				<td class="check"><input type="checkbox" value="Tout cocher / décocher" id="f_all2" /><label for="f_all2"></label></td>
				<td class="actions" colspan="{$colspan}">
					<em>Pour les membres cochés :</em>
					{csrf_field key="membres_action"}
					<select name="action">
						<option value="">— Choisir une action à effectuer —</option>
						<option value="move">Changer de catégorie</option>
						{if !isset($export) || $export != false}
						<option value="csv">Exporter en tableau CSV</option>
						<option value="ods">Exporter en classeur Office</option>
						{/if}

						<option value="delete">Supprimer le membre</option>

					</select>
					<noscript>
						<input type="submit" value="OK" />
					</noscript>
				</td>
			</tr>
		</tfoot>













>

>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
		<tfoot>
			<tr>
				<td class="check"><input type="checkbox" value="Tout cocher / décocher" id="f_all2" /><label for="f_all2"></label></td>
				<td class="actions" colspan="{$colspan}">
					<em>Pour les membres cochés :</em>
					{csrf_field key="membres_action"}
					<select name="action">
						<option value="">— Choisir une action à effectuer —</option>
						<option value="move">Changer de catégorie</option>
						{if !isset($export) || $export != false}
						<option value="csv">Exporter en tableau CSV</option>
						<option value="ods">Exporter en classeur Office</option>
						{/if}
						{if empty($hide_delete)}
						<option value="delete">Supprimer le membre</option>
						{/if}
					</select>
					<noscript>
						<input type="submit" value="OK" />
					</noscript>
				</td>
			</tr>
		</tfoot>

Modified src/templates/services/details.tpl from [0d42873582] to [f22259b470].

53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
				{linkbutton shape="alert" label="Rappels envoyés" href="!services/reminders/user.php?id=%d"|args:$row.id_user}
			</td>
		</tr>
	{/foreach}

	</tbody>
	{if $can_action}
		{include file="admin/membres/_list_actions.tpl" colspan=7 export=false}
	{/if}

</table>

{if $can_action}
</form>
{/if}

{pagination url=$list->paginationURL() page=$list.page bypage=$list.per_page total=$list->count()}


{include file="admin/_foot.tpl"}







|












53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
				{linkbutton shape="alert" label="Rappels envoyés" href="!services/reminders/user.php?id=%d"|args:$row.id_user}
			</td>
		</tr>
	{/foreach}

	</tbody>
	{if $can_action}
		{include file="admin/membres/_list_actions.tpl" colspan=7 export=false hide_delete=true}
	{/if}

</table>

{if $can_action}
</form>
{/if}

{pagination url=$list->paginationURL() page=$list.page bypage=$list.per_page total=$list->count()}


{include file="admin/_foot.tpl"}

Modified src/templates/services/fees/details.tpl from [614b52eea9] to [1be826dd51].

39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
			</td>
		</tr>
	{/foreach}

	</tbody>

	{if $can_action}
		{include file="admin/membres/_list_actions.tpl" colspan=5 export=false}
	{/if}

</table>

{if $can_action}
</form>
{/if}

{pagination url=$list->paginationURL() page=$list.page bypage=$list.per_page total=$list->count()}


{include file="admin/_foot.tpl"}







|












39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
			</td>
		</tr>
	{/foreach}

	</tbody>

	{if $can_action}
		{include file="admin/membres/_list_actions.tpl" colspan=5 export=false hide_delete=true}
	{/if}

</table>

{if $can_action}
</form>
{/if}

{pagination url=$list->paginationURL() page=$list.page bypage=$list.per_page total=$list->count()}


{include file="admin/_foot.tpl"}