-
Notifications
You must be signed in to change notification settings - Fork 0
/
requisicao-de-adiantamento.html
322 lines (270 loc) · 12.1 KB
/
requisicao-de-adiantamento.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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
<!DOCTYPE html>
<html lang="pt-br" dir="ltr">
<!-- Java Script para Impressão -->
<script type="text/javascript">
function myFunction() {
window.print();
}
</script>
<head>
<meta charset="utf-8">
<title>nui</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- fontawesome - fonte de ícones -->
<link rel="stylesheet" href="dependencies/fontawesome-pro-5.12.1-web/css/all.min.css">
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<!-- bootstrap - scritps. O css esta sendo compilado via SCSS junto no master.css -->
<script src="dependencies/bootstrap-4.4.1/dist/js/bootstrap.bundle.min.js"></script>
<!-- daterangepicker - serve pra criar um input único com data ini e data fim usando um calendario -->
<script src="dependencies/daterangepicker-3.14.1/moment.min.js"></script>
<script src="dependencies/daterangepicker-3.14.1/daterangepicker.min.js"></script>
<!-- tail.select - serve pra criar um multi-select com busca -->
<link type="text/css" rel="stylesheet" href="dependencies/tail.select-0.5.15/css/bootstrap4/tail.select-default.min.css" />
<script type="text/javascript" src="dependencies/tail.select-0.5.15/js/tail.select.min.js"></script>
<script type="text/javascript" src="dependencies/tail.select-0.5.15/langs/tail.select-pt_BR.js"></script>
<!-- input mask -->
<script type="text/javascript" src="dependencies/inputmask-1.14.16/jquery.mask.min.js">
</script>
<!-- nosso css, este arquivo é compilado e vc não pode editá-lo -->
<link rel="stylesheet" href="css/master.css">
<!-- css gambeta -->
<!-- <link rel="stylesheet" href="css/gambeta-pra-nao-ter-que-compilar-o-scss.css"> -->
</head>
<body>
<nav id="menu-lateral">
<div class="logo">
<img src="img/logo.svg" alt="logomarca">
</div>
<div class="lista">
<a href="#submenu1" class="lista__item com-submenu" data-toggle="collapse" data-target="#submenu1" aria-expanded="false" aria-controls="submenu1">
<i class="far fa-thumbs-up"></i>
<span>Liberação</span>
</a>
<div id="submenu1" class="submenu collapse">
<a href="#" class="lista__item subitem">
<span>Sub Item</span>
</a>
<a href="#" class="lista__item subitem">
<span>Outro Sub Item</span>
</a>
<a href="#" class="lista__item subitem">
<span>Último Sub Item</span>
</a>
</div>
<a href="#" class="lista__item">
<i class="far fa-square"></i>
<span>Outro Item</span>
</a>
<a href="#" class="lista__item">
<i class="far fa-triangle"></i>
<span>Último Item</span>
</a>
</div>
</nav>
<script type="text/javascript">
$('.submenu').on('shown.bs.collapse', function() {
$('.com-submenu').addClass('aberto');
})
$('.submenu').on('hidden.bs.collapse', function() {
$('.com-submenu').removeClass('aberto');
})
</script>
<section class="conteudo-da-pagina">
<header>
<div class="esquerda">
<a class="btn btn-light" href="#" role="button"><i class="far fa-chevron-double-left"></i></a>
</div>
<div class="direita">
<div class="notificacoes">
<span class="badge badge-pill badge-danger">6</span>
<a class="btn btn-light" href="#" role="button"><i class="far fa-bell"></i></a>
</div>
<div class="dropdown">
<a class="btn btn-light dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Eudes <span class="sobrenome">Penteado</span>
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuLink">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</div>
</div>
</header>
<div class="header-de-pagina">
<h1>Adiantamento</h1>
</div>
<div class="container-fluid">
<!-- requisicao adiantamento inicio -->
<div class="card" style="margin:1em 0;">
<div class="card-body">
<div class="row">
<div class="col-6 label-destacado">
Funcionalidades
</div>
<div class="col-6 text-right">
<button class="btn btn-light btn-sm hidden-print" onclick="myFunction()">
<i class="fas fa-print"></i> Imprimir</button>
</div>
</div>
</div>
</div>
<div class="card" style="margin:1em 0;">
<div class="card-body">
<div class="row">
<div class="col-md-12">
<div class="mb-4 text-center">
<h4>REQUISIÇÃO DE ADIANTAMENTO #584427</h4>
</div>
<div class="row mt-5" id="print">
<div class="col-12">
<h5><i class="far fa-building"></i> Dados Principais</h5>
<div class="card card-de-lista">
<div class="card-body">
<div class="miolo">
<div class="row">
<div class="col-12">
<label>Empresa</label>
<p> ALUPAR</p>
</div>
<div class="col-12">
<label>Fornecedor</label>
<p>429 COMÉRCIO, SERVIÇOS E CONFECÇÕES E EIRELI</p>
</div>
<div class="col-12">
<label>Ordem de Compra</label>
<p>98272982</p>
</div>
<div class="col-12">
<label>Filial</label>
<p>2</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-6 mt-5">
<h5><i class="fas fa-paperclip"></i></i> Descrição e Anexos</h5>
<div class="card card-de-lista">
<div class="card-body">
<div class="miolo">
<div class="row">
<div class="col-12">
<label>Serviços</label>
<p>Fretes e Carretos</p>
</div>
<div class="col-12">
<label>Descrição</label>
<p>Teste de adiantamento ao fornecedor</p>
</div>
<div class="col-12">
<label>Doc. Fiscal, Fatura</label>
<p><a href="#">arquivo_2412-doc.png</a></p>
</div>
<div class="col-12">
<label>Boleto</label>
<p><a href="#">File-2020-.pdf</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-6 mt-5">
<h5><i class="fas fa-money-check-alt"></i> Valores e Pagamentos</h5>
<div class="card card-de-lista">
<div class="card-body">
<div class="miolo">
<div class="row">
<div class="col-12">
<label>Copa e Limpeza - 251</label>
<p>R$ 4,90</p>
</div>
<div class="col-12">
<label>Tecnologia da infoormação</label>
<p>R$ 12,00</p>
</div>
<div class="col-12">
<label>Total</label>
<p>16,90</p>
</div>
<div class="col-12">
<label>Forma de Pagamento</label>
<p><a href="#">BOLETO BANCÁRIO</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- requisicao adiantamento fim -->
</div>
</section>
<script type="text/javascript">
$(document).ready(function(){
$('.date').mask('00/00/0000');
$('.time').mask('00:00:00');
$('.date_time').mask('00/00/0000 00:00:00');
$('.cep').mask('00000-000');
$('.phone').mask('0000-0000');
$('.phone_with_ddd').mask('(00) 0000-0000');
$('.phone_us').mask('(000) 000-0000');
$('.mixed').mask('AAA 000-S0S');
$('.ip_address').mask('099.099.099.099');
$('.percent').mask('##0,00%', {reverse: true});
$('.clear-if-not-match').mask("00/00/0000", {clearIfNotMatch: true});
$('.placeholder').mask("00/00/0000", {placeholder: "__/__/____"});
$('.fallback').mask("00r00r0000", {
translation: {
'r': {
pattern: /[\/]/,
fallback: '/'
},
placeholder: "__/__/____"
}
});
$('.selectonfocus').mask("00/00/0000", {selectOnFocus: true});
$('.cep_with_callback').mask('00000-000', {onComplete: function(cep) {
console.log('Mask is done!:', cep);
},
onKeyPress: function(cep, event, currentField, options){
console.log('An key was pressed!:', cep, ' event: ', event, 'currentField: ', currentField.attr('class'), ' options: ', options);
},
onInvalid: function(val, e, field, invalid, options){
var error = invalid[0];
console.log ("Digit: ", error.v, " is invalid for the position: ", error.p, ". We expect something like: ", error.e);
}
});
$('.crazy_cep').mask('00000-000', {onKeyPress: function(cep, e, field, options){
var masks = ['00000-000', '0-00-00-00'];
mask = (cep.length>7) ? masks[1] : masks[0];
$('.crazy_cep').mask(mask, options);
}});
$('.cnpj').mask('00.000.000/0000-00', {reverse: true});
$('.cpf').mask('000.000.000-00', {reverse: true});
$('.money').mask('#.##0,00', {reverse: true});
var SPMaskBehavior = function (val) {
return val.replace(/\D/g, '').length === 11 ? '(00) 00000-0000' : '(00) 0000-00009';
},
spOptions = {
onKeyPress: function(val, e, field, options) {
field.mask(SPMaskBehavior.apply({}, arguments), options);
}
};
$('.sp_celphones').mask(SPMaskBehavior, spOptions);
$(".bt-mask-it").click(function(){
$(".mask-on-div").mask("000.000.000-00");
$(".mask-on-div").fadeOut(500).fadeIn(500)
})
$('pre').each(function(i, e) {hljs.highlightBlock(e)});
});
</script>
</body>
</html>