2018-02-23 16:04:50 +01:00
< form action = " " method = " post " id = " add-form " >
2017-12-15 10:05:08 +01:00
< input type = " hidden " name = " op " value = " add " >
< input type = " hidden " name = " backto " value = " record-edit " >
2018-02-23 16:04:50 +01:00
2017-12-15 10:05:08 +01:00
< div class = " row " >
2018-02-23 16:04:50 +01:00
2017-12-15 10:05:08 +01:00
< div class = " col-md-6 " >
{[ " type " : " text " , " label " : " Inserisci un nome per questo sezionale: " , " name " : " nome " , " required " : 1 , " class " : " " , " value " : " " , " extra " : " " ]}
</ div >
2018-02-23 16:04:50 +01:00
2017-12-15 10:05:08 +01:00
< div class = " col-md-6 " >
{[ " type " : " text " , " label " : " Maschera " , " name " : " maschera " , " required " : 1 , " class " : " " , " value " : " ####YYYY " , " extra " : " " ]}
</ div >
2018-02-23 16:04:50 +01:00
2017-12-15 10:05:08 +01:00
</ div >
2018-02-23 16:04:50 +01:00
2017-12-15 10:05:08 +01:00
< div class = " row " >
2018-02-23 16:04:50 +01:00
2017-12-15 10:05:08 +01:00
< div class = " col-md-6 " >
{[ " type " : " select " , " label " : " Documenti " , " name " : " dir " , " required " : 1 , " class " : " " , " values " : " list= \" entrata \" : \" Documenti di vendita \" , \" uscita \" : \" Documenti di acquisto \" " , " value " : " " , " extra " : " " ]}
2018-02-23 16:04:50 +01:00
</ div >
2017-12-15 10:05:08 +01:00
< div class = " col-md-6 " >
{[ " type " : " select " , " label " : " Magazzino " , " name " : " idautomezzo " , " required " : 0 , " class " : " " , " values " : " query=SELECT id, nome AS descrizione FROM dt_automezzi " , " value " : " " , " extra " : " " ]}
2018-02-23 16:04:50 +01:00
</ div >
2017-12-15 10:05:08 +01:00
</ div >
2018-02-23 16:04:50 +01:00
2017-12-15 10:05:08 +01:00
< div class = " row " >
2018-02-23 16:04:50 +01:00
2017-12-15 10:05:08 +01:00
< div class = " col-md-12 " >
{[ " type " : " textarea " , " label " : " Note " , " name " : " note " , " required " : 0 , " class " : " " , " value " : " " , " extra " : " " ]}
</ div >
2018-02-23 16:04:50 +01:00
2017-12-15 10:05:08 +01:00
</ div >
2018-02-23 16:04:50 +01:00
2017-12-15 10:05:08 +01:00
< button type = " submit " class = " btn btn-primary pull-right " >< i class = " fa fa-plus " ></ i > Inserisci </ button >
< div class = " clearfix " ></ div >
</ form >
<!-- script >
$ ( document ) . ready ( function (){
start_jquerychosen ();
});
</ script -->