Select month to decree <input type="date" value="<? echo date("Y-m");?>" name="date_decree" id="date_decree" /><input class="button" type="button" value="Create Decree" onclick="window.open('index.php?module=EcmReceipts&action=downloadDecree&date='+document.getElementById('date_decree').value,'_blank');" target="_blank" />