-
Notifications
You must be signed in to change notification settings - Fork 0
/
form-result.html
169 lines (134 loc) · 9.64 KB
/
form-result.html
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<div class="title" md-colors="{color:'primary'}">Cotizacion</div>
<div style="width:100%" >
<md-content flex layout="column" >
<md-content style="height: 500px;">
<md-list class="md-dense" ng-init="setTotals(item)">
<md-subheader class="md-no-sticky">Appliances / Placas/Tarjetas
<div style="text-align: right;">Total Hardware : {{totalHardware() | currency}}</div></md-subheader>
<md-list-item class="md-3-line" ng-repeat="item in lista" ng-if="item.categoria == 'Appliances' ">
<img ng-src="{{item.imagen}}?{{$index}}" class="md-avatar" alt="{{item.who}}">
<div class="md-list-item-text" layout="column" style="width: 100px;">
<h3>{{item.nombre}}</h3>
<p style="color:orange;">Precio Unitario: {{item.precio | currency}}</p>
<p>{{item.descripcion}}</p>
</div>
<div class="md-list-item-text" layout="row" layout-padding layout-align="end end">
<div>Cantidad: {{item.cantidad}}</div>
<div style="color:orange;">{{item.precio*item.cantidad | currency}}</div>
</div>
</md-list-item>
<md-divider ></md-divider>
<md-subheader class="md-no-sticky">Media Gateways</md-subheader>
<md-list-item class="md-3-line" ng-repeat="item in lista" ng-if="item.categoria == 'Gateways' && item.cantidad>0 ">
<img ng-src="{{item.imagen}}?{{$index}}" class="md-avatar" alt="{{item.who}}">
<div class="md-list-item-text" layout="column" style="width: 100px;">
<h3>{{item.nombre}}</h3>
<p style="color:orange;">Precio Unitario: {{item.precio | currency}}</p>
<p>{{item.descripcion}}</p>
</div>
<div class="md-list-item-text" layout="row" layout-padding layout-align="end end">
<div>Cantidad: {{item.cantidad}}</div>
<div style="color:orange;">{{item.precio*item.cantidad | currency}}</div>
</div>
</md-list-item>
<md-divider ></md-divider>
<md-subheader class="md-no-sticky">Codec</md-subheader>
<md-list-item class="md-3-line" ng-repeat="item in lista" ng-if="item.categoria == 'Codec' && item.cantidad>0 ">
<img ng-src="{{item.imagen}}?{{$index}}" class="md-avatar" alt="{{item.who}}">
<div class="md-list-item-text" layout="column" style="width: 100px;">
<h3>{{item.nombre}}</h3>
<p style="color:orange;">Precio Unitario: {{item.precio | currency}}</p>
<p>{{item.descripcion}}</p>
</div>
<div class="md-list-item-text" layout="row" layout-padding layout-align="end end">
<div>Cantidad: {{item.cantidad}}</div>
<div style="color:orange;">{{item.precio*item.cantidad | currency}}</div>
</div>
</md-list-item>
<md-divider ></md-divider>
<md-subheader class="md-no-sticky">Placas/Tarjetas OpenVox 5YW</md-subheader>
<md-list-item class="md-3-line" ng-repeat="item in lista" ng-if="item.categoria == 'Tarjeta' && item.cantidad>0 ">
<img ng-src="{{item.imagen}}?{{$index}}" class="md-avatar" alt="{{item.who}}">
<div class="md-list-item-text" layout="column" style="width: 100px;">
<h3>{{item.nombre}}</h3>
<p style="color:orange;">Precio Unitario: {{item.precio | currency}}</p>
<p>{{item.descripcion}}</p>
</div>
<div class="md-list-item-text" layout="row" layout-padding layout-align="end end">
<div>Cantidad: {{item.cantidad}}</div>
<div style="color:orange;">{{item.precio*item.cantidad | currency}}</div>
</div>
</md-list-item>
<md-divider ></md-divider>
<md-subheader class="md-no-sticky">Telefonos</md-subheader>
<md-list-item class="md-3-line" ng-repeat="item in lista" ng-if="item.categoria == 'Telefonos' && item.cantidad>0 ">
<img ng-src="{{item.imagen}}?{{$index}}" class="md-avatar" alt="{{item.who}}">
<div class="md-list-item-text" layout="column" style="width: 100px;">
<h3>{{item.nombre}}</h3>
<p style="color:orange;">Precio Unitario: {{item.precio | currency}}</p>
<p>{{item.descripcion}}</p>
</div>
<div class="md-list-item-text" layout="row" layout-padding layout-align="end end">
<div>Cantidad: {{item.cantidad}}</div>
<div style="color:orange;">{{item.precio*item.cantidad | currency}}</div>
</div>
</md-list-item>
<md-divider ></md-divider>
<md-subheader class="md-no-sticky">Equipo Adicional</md-subheader>
<md-list-item class="md-3-line" ng-repeat="item in lista" ng-if="item.categoria == 'adicionales' && item.cantidad>0 ">
<img ng-src="{{item.imagen}}?{{$index}}" class="md-avatar" alt="{{item.who}}">
<div class="md-list-item-text" layout="column" style="width: 100px;">
<h3>{{item.nombre}}</h3>
<p style="color:orange;">Precio Unitario: {{item.precio | currency}}</p>
<p>{{item.descripcion}}</p>
</div>
<div class="md-list-item-text" layout="row" layout-padding layout-align="end end">
<div>Cantidad: {{item.cantidad}}</div>
<div style="color:orange;">{{item.precio*item.cantidad | currency}}</div>
</div>
</md-list-item>
<md-divider ></md-divider>
<md-subheader class="md-no-sticky">Servicios
<div style="text-align: right;">Total Servicios : {{totalServicios() | currency}}</div>
</md-subheader>
<md-list-item class="md-3-line" ng-repeat="item in lista" ng-if="item.categoria == 'Servicios' && item.cantidad>0 ">
<img ng-src="{{item.imagen}}?{{$index}}" class="md-avatar" alt="{{item.who}}">
<div class="md-list-item-text" layout="column" style="width: 100px;">
<h3>{{item.nombre}}</h3>
<p style="color:orange;">Precio Unitario: {{item.precio | currency}}</p>
<p>{{item.descripcion}}</p>
</div>
<div class="md-list-item-text" layout="row" layout-padding layout-align="end end">
<div>Cantidad: {{item.cantidad}}</div>
<div style="color:orange;">{{item.precio*item.cantidad | currency}}</div>
</div>
</md-list-item>
<md-divider ></md-divider>
<md-subheader class="md-no-sticky">Mantenimiento
<div style="text-align: right;">Total Mantenimiento : {{totalMantenimiento() | currency}}</div>
</md-subheader>
<md-list-item class="md-3-line" ng-repeat="item in lista" ng-if="item.categoria == 'Mantenimiento' && item.cantidad>0 ">
<img ng-src="{{item.imagen}}?{{$index}}" class="md-avatar" alt="{{item.who}}">
<div class="md-list-item-text" layout="column" style="width: 100px;">
<h3>{{item.nombre}}</h3>
<p style="color:orange;">Precio Unitario: {{item.precio | currency}}</p>
<p>{{item.descripcion}}</p>
</div>
<div class="md-list-item-text" layout="row" layout-padding layout-align="end end">
<div>Cantidad: {{item.cantidad}}</div>
<div style="color:orange;">{{item.precio*item.cantidad | currency}}</div>
</div>
</md-list-item>
</md-list>
<md-divider ></md-divider>
<md-subheader class="md-no-sticky">
<div style="text-align: right;">
<div>Total Pago Contado : {{invoiceSubTotal() | currency}}</div>
<div>{{textoPagoDiferido()}} : {{totalPagoDiferido() | currency}}</div>
<div>Precios sin IVA</div>
</div>
</md-subheader></md-content></md-content></div>
<div layout="row" layout-align="end center">
<md-button class="md-raised" ui-sref="form.adicionales" md-click="limpiarLista()"><h2 class="md-display">Atras</h2></md-button>
<md-button class="md-raised md-warn" ><h2 class="md-display">Imprimir</h2></md-button>
</div>