breakdown/mainhist pdf
This commit is contained in:
parent
3224b1c346
commit
14d5263b18
@ -484,7 +484,7 @@ function add($pathname)
|
||||
|
||||
$arr[] = array($Picture);
|
||||
}
|
||||
}
|
||||
// }
|
||||
|
||||
foreach($arr as $ma){
|
||||
|
||||
@ -496,7 +496,7 @@ function add($pathname)
|
||||
$filename = $value;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
$myfile = array('FilePath'=>$filename,'PONO'=>$PONO);
|
||||
$this->purchaseorder_model->fileupload($myfile);
|
||||
|
||||
@ -1005,7 +1005,7 @@ $RequestedBy = $this->input->post('drpDepartment');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
//}
|
||||
//print_r($arr);
|
||||
foreach($arr as $ma){
|
||||
|
||||
@ -1018,7 +1018,7 @@ $RequestedBy = $this->input->post('drpDepartment');
|
||||
$filename = $value;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
//$myfile = array('FilePath'=>$filename);
|
||||
//$emergencyitemcode = $this->input->post('materialCode'.$i);
|
||||
$myfile = array('FilePath'=>$filename,'PONO'=>$PONO,'IGRNO'=>$IGRNO);
|
||||
|
||||
@ -16,11 +16,13 @@ text-align: right !important;
|
||||
}
|
||||
button.dt-button, div.dt-button, a.dt-button{
|
||||
|
||||
border: 1px solid blue;
|
||||
border-radius: 2px;
|
||||
background-color:orange;
|
||||
color:black;
|
||||
font-size:13px;
|
||||
border: 1px solid blue;
|
||||
border-radius: 2px;
|
||||
padding: 6px 25px ;
|
||||
background-image:none !important;
|
||||
background-color:#3c8dbc !important;
|
||||
color:white;
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
|
||||
@ -42,7 +44,7 @@ button.dt-button, div.dt-button, a.dt-button{
|
||||
<div class="row">
|
||||
|
||||
<div align="right" style="padding-right:10px">
|
||||
<a class="btn btn-Primary" style="padding-right:10px" align="right" href="<?php echo base_url(); ?>batchcard/addMaint">Add New</a>
|
||||
<a class="btn btn-Primary" style="padding-right: 9px;margin-right: 12px;" align="right" href="<?php echo base_url(); ?>batchcard/addMaint">Add New</a>
|
||||
</div>
|
||||
|
||||
<!-- <form role="form" id="" action="<?php echo base_url()?>batchcard/daterange" method="post" enctype="multipart/form-data"> -->
|
||||
@ -179,7 +181,7 @@ button.dt-button, div.dt-button, a.dt-button{
|
||||
doc.content[1].margin = [ -25, 0, -25, 0 ] //left, top, right, bottom
|
||||
},
|
||||
|
||||
text: 'pdf',
|
||||
text: 'PDF',
|
||||
// footer: 'true',
|
||||
// messageTop: $('h3').text(),
|
||||
title: 'Maintenance/Breakdown Report',
|
||||
|
||||
@ -189,7 +189,7 @@ $(function() {
|
||||
<div class="col-md-3">
|
||||
<label>Open Stock Date</label>
|
||||
<?php
|
||||
$data = array('name' => 'Date','value' => set_value('Date',$CurrentDate),'id'=>'Date', 'class' => 'form-control' , 'onkeypress'=>'return false;');
|
||||
$data = array('name' => 'Date','value' => set_value('Date'),'id'=>'Date', 'class' => 'form-control' , 'onkeypress'=>'return false;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
|
||||
@ -551,7 +551,7 @@ function amountcheck()
|
||||
var bankamount=$('#bamount').text();
|
||||
|
||||
var b= bankamount.split(':');
|
||||
var bankamount = b[1].replace(/[^0-9]+/ig,"");
|
||||
//var bankamount = b[1].replace(/[^0-9]+/ig,"");
|
||||
// alert(number+'number');
|
||||
var total = $('#totalamount').val();
|
||||
//alert(total);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user