This commit is contained in:
venbatechnologies 2018-07-17 13:17:24 +05:30
parent 2dc312f6ef
commit 0dc3ca032d
4 changed files with 1167 additions and 1186 deletions

File diff suppressed because it is too large Load Diff

View File

@ -37,7 +37,7 @@ class inwardgateregister extends BaseController
function viewIGRDetails()
{
$this->load->model('inwardgateregister_model');
$this->global['pageTitle'] = 'Siddharth : Inward Gate Register Details';
$data['IGR']= $this->inwardgateregister_model->igrListing();
@ -280,7 +280,7 @@ class inwardgateregister extends BaseController
function addloadfile()
{
$upfiles = '';
$pono= $this->input->post('PONO');
$igr= $this->input->post('igr');

View File

@ -96,9 +96,10 @@
<?php }
else
{
echo "NO FILE";
}
{?>
<!-- echo "NO FILE"; -->
<a target="_blank" data-toggle="modal" data-target="#Fileshow" data-id="<%=index%>" title="Attachment Available for Download/View" data-userid="<?php echo $record->IGRNO.'-'.$record->PONO ?>"><button class="btn btn-info btn-sm " >Addfile</button></a>
<?php }
?>
</td>
@ -497,7 +498,8 @@ $("#hiddenPONO").val(po);
Filename = item.file;
FilePath =item.file;
}
if(item.BillNo != null)
{
i=i+1;
trHTML += '<tr id='+i+'>' +
'<td align="right">' + i + '</td>' +
@ -509,7 +511,7 @@ $("#hiddenPONO").val(po);
'<td name="filepathname" id="filepathname" onclick="openbillmodel('+i+');"><i class="fa fa-pencil"></i></td>' +
'</tr>';
}
});
$("#tblefile").empty();
@ -657,7 +659,7 @@ counter++;
// alert(bil_count);
// alert(file_count);
if(bil_count>=5){
if(bil_count>=6){
alert("You have to upload five files only");//this allows only 5 files;
return false;
@ -745,7 +747,7 @@ counter++;
function fileupload(counter)
{
// alert(counter);
//alert(counter);
var formData = new FormData();
@ -776,7 +778,7 @@ counter++;
success:function(data) {
if(data){
alert(data);
//window.location.reload();
$('.content').loader('hide');
// $('#spl').find('td').eq(5).text(filename[2]);
$('#billModel').modal('hide');

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 KiB