Impression image groupes : add a button
This commit is contained in:
parent
73cca115ce
commit
763dd9b483
@ -1289,7 +1289,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
if ( count($items)>0 ) {
|
||||
foreach ( $items as $item ) {
|
||||
|
||||
$sirenTxt = substr($infos['siren'],0,3).' '.substr($infos['siren'],3,3).' '.substr($infos['siren'],6,3);
|
||||
$sirenTxt = substr($item['siren'],0,3).' '.substr($item['siren'],3,3).' '.substr($item['siren'],6,3);
|
||||
|
||||
$name = $item['name'];
|
||||
if ( intval($item['siren'])!=0 ) {
|
||||
|
@ -26,6 +26,19 @@ Filiales, détention minimum
|
||||
<div id="groups" class="jstree jstree-default" style="overflow:auto;"></div>
|
||||
<script src="/libs/jstree/jstree.min.js"></script>
|
||||
<script>
|
||||
$('#dialogarbo').dialog({ buttons: [
|
||||
{ text: "Imprimer", click: function() {
|
||||
var pct = $('select[name=pctMin] option:selected').val();
|
||||
var isin = $('select[name=isin] option:selected').val();
|
||||
window.open('<?=$this->url(array(
|
||||
'controller'=>'identite',
|
||||
'action'=>'groupesarboimg',
|
||||
'siret'=>$this->siret
|
||||
),null,true)?>/pctMin/'+pct+'/isin/'+isin);
|
||||
} },
|
||||
{ text: "Fermer", click: function() { $(this).dialog("close"); } }
|
||||
]});
|
||||
|
||||
$('#filter').on('click', function(e){
|
||||
e.preventDefault();
|
||||
var pct = $('select[name=pctMin] option:selected').val();
|
||||
|
@ -1,4 +1,5 @@
|
||||
<style>
|
||||
div#menu {display:none;}
|
||||
.jstree-default li,
|
||||
.jstree-default ins { background-image:url("/libs/jstree/themes/default/d.png"); background-repeat:no-repeat; background-color:transparent; }
|
||||
.jstree-default li { background-position:-90px 0; background-repeat:repeat-y; }
|
||||
@ -79,7 +80,8 @@ $(document).ready(function(){
|
||||
target.html(canvas);
|
||||
},
|
||||
});
|
||||
//window.print(); window.close();
|
||||
|
||||
window.print(); window.close();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user