klnodekb/views/invoiceNewtemplate.pug

71 lines
3.0 KiB
Plaintext

block content
.container#invoiceNew
h1(style='color: #d19b3d;') #{title}
form(id='frmNewInvoice',method='POST', action='/invoices/new/'+itype)
#form-group
label Számlaszám:
input.form-control(name='invoiceNumber',type=text,autocomplete='off', style='color: white;background-color:#2C3446;')
br
#form-group
if itype==='0'
label Kibocsátó:
if itype==='1'
label Vevő:
input.form-control(name='owner',type=label, tabindex='-1',autocomplete='off', style='color: white;background-color:#2C3446;')
br
#form-group
label Nettó érték:
.input-group(style='width:250px;')
input.form-control.currency(id='nPrice',name='nPrice',autocomplete='off',min='0.00',type=text,onFocus="this.select()", value='0', tabindex='1',style='color: white;background-color:#2C3446; text-align:right;')
.input-group-btn#currency3
.dropdown#currency2
button#currencyb.btn.btn-primary.dropdown-toggle(name='currency',type='button', data-toggle='dropdown', aria-haspopup='true', aria-expanded='true',value='HUF')
| Pénznem
span.caret
ul.dropdown-menu(aria-labelledby='currencyb')
li
a#lia(href='#', data-value='HUF') HUF
li
a#lia(href='#', data-value='EUR') EUR
li
a#lia(href='#', data-value='USD') USD
br
br
#form-group
label Fizetési határidő:
input.form-control(id='ed',name='days',type=text,autocomplete='off',onFocus="this.select()", value=30,style='color: white;background-color:#2C3446;')
br
#form-group
label Kibocsátás dátuma:
.container
.row
.col-sm-6
.form-group
#datetimepicker1.input-group.date
input.form-control(id='emDate',name='dateEmission',type='text',style='color: white;background-color:#2C3446;')
span.input-group-addon
span.glyphicon.glyphicon-calendar
label Lejárati idő:
.container
.row
.col-sm-6
.form-group
#datetimepicker2.input-group.date
input.form-control(id='expDate',name='expiryDate',type='text',style='color: white;background-color:#2C3446;')
span.input-group-addon
span.glyphicon.glyphicon-calendar
#form-group
label Megjegyzés:
textarea.form-control(name='body',tabindex='1',style='color: white;background-color:#2C3446;')
br
//a.btn.btn-primary.new-work(href='#') Létrehozás
input.btn.btn-primary(type='submit',value='Mentés')
script(src='/js/invoiceNew.js')
script(type='text/javascript',src='/js/datepicker.js')