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