Garradin Plugins

Check-in [1038686ea1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Ajout catégorie
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1038686ea18d7d0b31d534bc631da14a98f583c5
User & Date: bohwaz 2020-05-22 01:04:08
Context
2020-05-22
21:59
Fix + détails check-in: de92b13f21 user: bohwaz tags: trunk
01:04
Ajout catégorie check-in: 1038686ea1 user: bohwaz tags: trunk
01:00
total manquant check-in: 7705097317 user: bohwaz tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to caisse/templates/tab.tpl.

49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
					<td>Prix</td>
					<td>Total</td>
					<td></td>
				</thead>
				<tbody>
				{foreach from=$items item="item"}
				<tr>
					<th>{$item.name} {$item.methods|raw|show_methods}</th>
					<td>{if !$current_tab.closed}<input type="submit" name="change_qty[{$item.id}]" value="{$item.qty}" />{else}{$item.qty}{/if}</td>
					<td>{if !$current_tab.closed}<input type="submit" name="change_price[{$item.id}]" value="{$item.price|escape|pos_money}" />{else}{$item.price|escape|pos_money}{/if}</td>
					<td>{$item.total|escape|pos_money}</td>
					<td class="actions">{if !$current_tab.closed}<a class="icn" href="?id={$current_tab.id}&amp;delete_item={$item.id}" title="Supprimer">✘</a>{/if}</td>
				</tr>
				{/foreach}
				</tbody>







|







49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
					<td>Prix</td>
					<td>Total</td>
					<td></td>
				</thead>
				<tbody>
				{foreach from=$items item="item"}
				<tr>
					<th><small class="cat">{$item.category}</small> {$item.name} {$item.methods|raw|show_methods}</th>
					<td>{if !$current_tab.closed}<input type="submit" name="change_qty[{$item.id}]" value="{$item.qty}" />{else}{$item.qty}{/if}</td>
					<td>{if !$current_tab.closed}<input type="submit" name="change_price[{$item.id}]" value="{$item.price|escape|pos_money}" />{else}{$item.price|escape|pos_money}{/if}</td>
					<td>{$item.total|escape|pos_money}</td>
					<td class="actions">{if !$current_tab.closed}<a class="icn" href="?id={$current_tab.id}&amp;delete_item={$item.id}" title="Supprimer">✘</a>{/if}</td>
				</tr>
				{/foreach}
				</tbody>

Changes to caisse/www/admin/style.css.

57
58
59
60
61
62
63







.pos .items i {
	font-weight: normal;
	font-size: 2rem;
	font-style: normal;
	color: darkred;
	line-height: 1rem;
}














>
>
>
>
>
>
>
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.pos .items i {
	font-weight: normal;
	font-size: 2rem;
	font-style: normal;
	color: darkred;
	line-height: 1rem;
}

.list small.cat {
	font-size: 7pt;
	font-weight: normal;
	color: #666;
	display: block;
}