ctucx.git: ctucx.things

simple inventory management web-app

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
47 
48 
49 
50 
51 
52 
53 
54 
55 
56 
57 
58 
59 
60 
61 
62 
63 
64 
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
78 
79 
80 
81 
82 
83 
84 
85 
86 
87 
88 
89 
90 
91 
92 
93 
94 
95 
96 
97 
<ul class="lpTotals lpTable lpDataTable">
	<li class="lpRow lpHeader">
		<span class="lpCell">&nbsp;</span>
		<span class="lpCell">
			Category
		</span>
		{{#show.price}}
		<span class="lpCell">
			Price
		</span>
		{{/show.price}}
		<span class="lpCell">
			Weight
		</span>
	</li>

	{{#categories}}
		<li class="lpTotalCategory lpRow" id="total_{{id}}" category="{{id}}">
			<span class="lpCell lpLegendCell">
				<span class="lpLegend" style="background-color: {{displayColor}}"></span>
			</span>
			<span class="lpCell">
				{{name}}
			</span>
			{{#show.price}}
			<span class="lpCell lpNumber">
				{{currencySymbol}}{{subtotalPriceDisplay}}
			</span>
			{{/show.price}}
			<span class="lpCell lpNumber">
				<div class="lpSubtotal"><span class="lpDisplaySubtotal"  mg="{{subtotalWeight}}">{{subtotalWeightDisplay}}</span> <span class="lpSubtotalUnit">{{totalUnit}}</span></div>
			</span>
		</li>
	{{/categories}}

	<li class="lpRow lpFooter lpTotal">
		<span class="lpCell"></span>
		<span class="lpCell lpSubtotal">
			Total
		</span>
		{{#show.price}}
		<span class="lpCell lpNumber lpSubtotal items">{{currencySymbol}}{{totalPriceDisplay}}</span>
		{{/show.price}}
		<span class="lpCell lpNumber lpSubtotal">
			<span class="lpTotalValue" title="{{listTotalQty}} items">{{listTotalWeightDisplay}}</span>
			<span class="lpTotalUnit">{{>unitSelect}}</span>
		</span>
	</li>

	{{#totalConsumableWeight}}
		<li data-weight-type="consumable" class="lpRow lpFooter lpBreakdown lpConsumableWeight">
			<span class="lpCell"></span>
			<span class="lpCell lpSubtotal">
				Consumable
			</span>
			{{#show.price}}
			<span class="lpCell"></span>
			{{/show.price}}
			<span class="lpCell lpNumber lpSubtotal">
				<span class="lpDisplaySubtotal" mg="{{totalConsumableWeight}}">{{totalConsumableWeightDisplay}}</span>
				<span class="lpSubtotalUnit">{{totalUnit}}</span>
			</span>
		</li>
	{{/totalConsumableWeight}}

	{{#totalWornWeight}}
		<li data-weight-type="worn" class="lpRow lpFooter lpBreakdown lpWornWeight">
			<span class="lpCell"></span>
			<span class="lpCell lpSubtotal">
				Worn
			</span>
			{{#show.price}}
			<span class="lpCell"></span>
			{{/show.price}}
			<span class="lpCell lpNumber lpSubtotal">
				<span class="lpDisplaySubtotal" mg="{{totalWornWeight}}">{{totalWornWeightDisplay}}</span>
				<span class="lpSubtotalUnit">{{totalUnit}}</span>
			</span>
		</li>
	{{/totalWornWeight}}

	{{#shouldDisplayPackWeight}}
		<li data-weight-type="base" class="lpRow lpFooter lpBreakdown lpPackWeight">
			<span class="lpCell"></span>
			<span class="lpCell lpSubtotal">
				Base Weight
			</span>
			{{#show.price}}
			<span class="lpCell"></span>
			{{/show.price}}
			<span class="lpCell lpNumber lpSubtotal">
				<span class="lpDisplaySubtotal" mg="{{totalPackWeight}}">{{totalPackWeightDisplay}}</span>
				<span class="lpSubtotalUnit">{{talUnit}}</span>
			</span>
		</li>
	{{/shouldDisplayPackWeight}}
</ul>