bankstatement allignment modal popup
This commit is contained in:
parent
f1155b7ed0
commit
5401329c77
@ -218,6 +218,7 @@ else
|
||||
document.getElementById("bamount").innerHTML='Payment Amount:'+bamd+'Rs';
|
||||
$('#totalamount').val(bamd);
|
||||
document.getElementById("type").innerHTML='Payment Type:'+type;
|
||||
document.getElementById("bdate").innerHTML='Payment Date:'+cashdate;
|
||||
|
||||
});
|
||||
}
|
||||
@ -245,6 +246,8 @@ else
|
||||
$('#totalamount').val(bamc);
|
||||
document.getElementById("bamount").innerHTML='Payment Amount:'+bamc+'Rs';
|
||||
document.getElementById("type").innerHTML='Payment Type:'+type;
|
||||
document.getElementById("bdate").innerHTML='Payment Date:'+cashdate;
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
@ -262,15 +265,11 @@ else
|
||||
</style>
|
||||
<div class="content-wrapper" style="min-height: 537px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center>Siddharth Industries - Bank Statement(Receipt and Payment)</center>
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="content">
|
||||
<div style="text-align:right;">
|
||||
<a href="<?php base_url() ?>ViewIncomeExpense" class="btn btn-primary" value="Back"/>Back</a>
|
||||
<a href="<?php base_url() ?>Bankingstatement" class="btn btn-primary" value="Back"/>Back</a>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
@ -278,26 +277,35 @@ else
|
||||
<div class="col-md-12">
|
||||
<!-- general form elements -->
|
||||
<div class="box box-primary">
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center>Siddharth Industries - Bank Statement(Income and Expenses)</center>
|
||||
</h1>
|
||||
</section>
|
||||
<!-- form start -->
|
||||
<form role="form" id="addIncomeExpense" action="<?php echo base_url() ?>addIncomeExpense" enctype="multipart/form-data" method="post">
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-md-offset-9">
|
||||
<div style=" border: 2px solid black;margin-left:0%;margin-top: -5px;font-size:14px;background-color:#ccc;">
|
||||
|
||||
<br>
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="col-md-3" >
|
||||
<div class="form-group">
|
||||
<div style=" border: 2px solid black;margin-left:0%;margin-top: -5px;font-size:14px;background-color:#ccc;">
|
||||
<center><b><p id="bankid">Payment ID: <b></p></b></center>
|
||||
<!-- <p style="margin-left:62px;padding-top:6px;" id="bankid" value="">Payment ID: <b></p> -->
|
||||
<p style="margin-left:41px;">Payment Mode: <b>Bank</b></p>
|
||||
<p style="margin-left:41px;" id="bamount" value="">Payment Amount: <b></b></p>
|
||||
<p style="margin-left:41px;" id="type" value="">Payment Amount Type: <b></b></p>
|
||||
<p style="margin-left:41px;" id="bdate" value="">Payment Amount Date: <b></b></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3" >
|
||||
<div class="form-group">
|
||||
<b><span for="Accountcode">Select Account type:</span></b> </br></br>
|
||||
@ -329,16 +337,18 @@ else
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<b><span for="towhome" id="towhom">AAA</span></b><span style="color:red">*</span></br></br>
|
||||
<input type="text" class="form-control required" id="towhome" name="towhome">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<b><span for="Suppliername">Select Supplier:</span> </b><span style="color:red">*</span></br></br>
|
||||
@ -347,6 +357,19 @@ else
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<b><span for="Total">Total Amount:</span></b><span style="color:red">*</span></br></br>
|
||||
|
||||
<input type="text" class="form-control" id="totalamount" name="totalamount" onkeypress="return isNumberKey(event)" style="text-align:right;">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<b><span for="Description">Description:</span></b></br></br>
|
||||
|
||||
<textarea class="form-control" id="description" name="description" >
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -448,13 +471,9 @@ else
|
||||
</div> <!-- /End of GST Area -->
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4">
|
||||
<b><span for="Total">Total Amount:</span></b><span style="color:red">*</span>
|
||||
|
||||
<input type="text" class="form-control" id="totalamount" name="totalamount" onkeypress="return isNumberKey(event)" style="text-align:right;">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<input type="hidden" id="bakid" name="bakid">
|
||||
<input type="hidden" id="batype" name="type">
|
||||
<input type="hidden" id="alreadypaid" name="alreadypaid">
|
||||
@ -465,17 +484,16 @@ else
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4">
|
||||
<b><span for="Description">Description:</span></b>
|
||||
|
||||
<textarea class="form-control" id="description" name="description" >
|
||||
</textarea>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<b><span for="Description">File Upload:</span></b>
|
||||
<img id="slip" alt="your image" style="width: 139px;"/><br/>
|
||||
<img id="slip" style="width: 139px;"/><br/>
|
||||
<input type='file' input accept=".JPG,.PNG" onchange="readURL(this);" id="file" name="myfile" accept="image/*"/>
|
||||
</div>
|
||||
<div class="" style="text-align:right;margin-top: 100px">
|
||||
<input type="button" onclick="amountcheck();"class="btn btn-primary" value="Submit" />
|
||||
<input type="reset" class="btn btn-primary" value="Reset" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -483,10 +501,7 @@ else
|
||||
|
||||
<!-- /.box-body -->
|
||||
|
||||
<div class="box-footer" style="text-align:right">
|
||||
<input type="button" onclick="amountcheck();"class="btn btn-primary" value="Submit" />
|
||||
<input type="reset" class="btn btn-primary" value="Reset" />
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
@ -35,12 +35,34 @@ foreach($financialyear as $item)
|
||||
<div class="col-md-12">
|
||||
<!-- TABLE: LATEST ORDERS -->
|
||||
<div class="box box-info" id="content">
|
||||
|
||||
<br>
|
||||
<div class="col-md-1 col-md-offset-11">
|
||||
<a href="<?php base_url() ?>Bankingstatement" class="btn btn-primary" value="Back"/>Back</a>
|
||||
</div>
|
||||
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
|
||||
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Bank Debit Report</b></p></h3></center>
|
||||
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>View Purchase </b></p></h3></center>
|
||||
<div class="box-body">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-3" style=" border: 2px solid black;font-size:14px;background-color:#ccc;">
|
||||
|
||||
|
||||
<input type="hidden" id="debitamount" placeholder="Debit Amount" readonly>
|
||||
|
||||
<input type="hidden" id="bankid" value="" placeholder="Bank Id" readonly>
|
||||
|
||||
|
||||
|
||||
<!-- <div style=" ;margin-left:0%;margin-top: -55px;"> -->
|
||||
<p style="margin-left:25px;" id="bid" value="">Payment ID: </p>
|
||||
<!--<p style="margin-left:25px;" id="debit1amount" value="">Total Amount: </p>-->
|
||||
<p style="margin-left:25px;">Payment Mode: Bank</p>
|
||||
<p style="margin-left:25px;" id="bamount" value="">Payment Amount: </p>
|
||||
<p style="margin-left:25px;" id="bdate" value="">Payment Amount Date: </p>
|
||||
|
||||
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label for="from_date">
|
||||
@ -69,7 +91,7 @@ foreach($financialyear as $item)
|
||||
|
||||
<div class="col-md-3" >
|
||||
<label for="customer">
|
||||
<?php echo 'Customer'; ?>
|
||||
<?php echo 'Supplier'; ?>
|
||||
</label>
|
||||
<select class="form-control" id="SupplierName" name="SupplierName">
|
||||
<option value="">Select Supplier</option>
|
||||
@ -80,12 +102,12 @@ foreach($financialyear as $item)
|
||||
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-1" style="margin-top:24px;">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit" value="View Report">
|
||||
</div>
|
||||
<div class="col-md-1 col-md-offset-10" style="margin-top:20px;">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit" value="View Purchase">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
@ -93,19 +115,7 @@ foreach($financialyear as $item)
|
||||
|
||||
<div class="row">
|
||||
|
||||
<input type="hidden" id="debitamount" placeholder="Debit Amount" readonly>
|
||||
|
||||
<input type="hidden" id="bankid" value="" placeholder="Bank Id" readonly>
|
||||
|
||||
|
||||
<div class="col-md-3 col-md-offset-9">
|
||||
<div style=" border: 2px solid black;margin-left:0%;margin-top: -55px;font-size:14px;background-color:#ccc;">
|
||||
<p style="margin-left:25px;" id="bid" value="">Payment ID: </p>
|
||||
<!--<p style="margin-left:25px;" id="debit1amount" value="">Total Amount: </p>-->
|
||||
<p style="margin-left:25px;">Payment Mode: Bank</p>
|
||||
<p style="margin-left:25px;" id="bamount" value="">Payment Amount: </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
<br>
|
||||
@ -214,8 +224,12 @@ foreach($financialyear as $item)
|
||||
var res=localStorage.getItem('test1');
|
||||
var amount=localStorage.getItem('test');
|
||||
var debamount=localStorage.getItem('damount');
|
||||
var cashdate=localStorage.getItem('cddate');
|
||||
$('#debitamount').val(localStorage.getItem('test'));
|
||||
document.getElementById("bamount").innerHTML='Payment Amount:'+amount;
|
||||
document.getElementById("bdate").innerHTML='Payment date:'+cashdate;
|
||||
|
||||
// alert(document.getElementById("bdate").innerHTML='Payment date:'+cashdate);
|
||||
var res1 = res.split(',');
|
||||
var i;
|
||||
$.each(res1, function( index, value )
|
||||
|
||||
@ -37,13 +37,35 @@ foreach($financialyear as $item)
|
||||
<div class="col-md-12">
|
||||
<!-- TABLE: LATEST ORDERS -->
|
||||
<div class="box box-info" id="content">
|
||||
|
||||
<br>
|
||||
<div class="col-md-1 col-md-offset-11">
|
||||
<a href="<?php base_url() ?>Bankingstatement" class="btn btn-primary" value="Back"/>Back</a>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
|
||||
|
||||
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Invoice Report</b></p></h3></center>
|
||||
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>view Invoice</b></p></h3></center>
|
||||
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-3" style=" border: 2px solid black;font-size:14px;background-color:#ccc;">
|
||||
|
||||
<input type="hidden" id="debitamount" value="<?php echo $cash; ?>" placeholder="Debit Amount" readonly>
|
||||
|
||||
<input type="hidden" id="bankid" value="<?php echo $bankid; ?>" placeholder="Bank Id" readonly>
|
||||
|
||||
|
||||
|
||||
<!-- <div style=" border: 2px solid black;margin-left:0%;margin-top: -55px;font-size:14px;background-color:#ccc;"> -->
|
||||
<p style="margin-left:25px;" id="bid" value=""</b>>Payment ID: </p>
|
||||
<p style="margin-left:25px;">Payment Mode: Bank</p>
|
||||
<p style="margin-left:25px;" id="bamount" value="">Payment Amount: </p>
|
||||
<p style="margin-left:25px;" id="bdate" value="">Payment Amount Date: </p>
|
||||
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label for="from_date"> <?php echo 'From Date'; ?></label>
|
||||
<div class="input-group">
|
||||
@ -82,35 +104,24 @@ foreach($financialyear as $item)
|
||||
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-1" style="margin-top:24px;">
|
||||
</div>
|
||||
|
||||
<div class="col-md-1 col-md-offset-10" style="margin-top:24px;">
|
||||
<input type="submit" class="btn btn-success" name="btn_submit"
|
||||
value="View Report">
|
||||
value="View Invoice">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div><!--/ inside 1st .row closed -->
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<input type="hidden" id="debitamount" value="<?php echo $cash; ?>" placeholder="Debit Amount" readonly>
|
||||
|
||||
<input type="hidden" id="bankid" value="<?php echo $bankid; ?>" placeholder="Bank Id" readonly>
|
||||
|
||||
|
||||
<div class="col-md-3 col-md-offset-9">
|
||||
<div style=" border: 2px solid black;margin-left:0%;margin-top: -55px;font-size:14px;background-color:#ccc;">
|
||||
<p style="margin-left:25px;" id="bid" value=""</b>>Payment ID: </p>
|
||||
<p style="margin-left:25px;">Payment Mode: Bank</p>
|
||||
<p style="margin-left:25px;" id="bamount" value="">Payment Amount: </p>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/ inside 2nd .row closed -->
|
||||
</form>
|
||||
<div class="row">
|
||||
|
||||
|
||||
</div>
|
||||
</form>
|
||||
<br>
|
||||
<br>
|
||||
<input type="hidden" name="Rowid" id="Rowid" placeholder="Row Id" readonly >
|
||||
@ -224,7 +235,9 @@ foreach($financialyear as $item)
|
||||
var res=localStorage.getItem('test2');
|
||||
$('#debitamount').val(localStorage.getItem('tes'));
|
||||
var amount=localStorage.getItem('tes');
|
||||
var cashdate=localStorage.getItem('ccdate');
|
||||
document.getElementById("bamount").innerHTML='Payment Amount:'+amount+'Rs';
|
||||
document.getElementById("bdate").innerHTML='Payment Date:'+cashdate;
|
||||
var res1 = res.split(',');
|
||||
var i;
|
||||
$.each(res1, function(index, value)
|
||||
|
||||
@ -64,6 +64,50 @@ $finyear = $item->financial_year;
|
||||
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
|
||||
|
||||
<div class="row">
|
||||
<div class="modal" id="myModal" role="dialog">
|
||||
<div class="modal-dialog modal-sm">
|
||||
|
||||
<!-- Modal content-->
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<!-- <button type="button" class="close" data-dismiss="modal">×</button> -->
|
||||
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6">
|
||||
<select name="selectedId" id="selectedId<?php echo $i?>" onchange="checkscreen(<?php echo $i?>);" title="Select Your Option">
|
||||
<option value="-1" style="color:#FFF;">Select Option</option>
|
||||
<option value="1">Sales Receipts</option>
|
||||
<option value="2">Purchase Payments</option>
|
||||
<option value="3">Income/Expense</option>
|
||||
|
||||
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<input type="hidden" name="Rowid" id="Rowid">
|
||||
</div>
|
||||
|
||||
<div class="col-md-2">
|
||||
<input type="hidden" id="addvalue" name="addvalue">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="myCheckBoxCancel" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-md-2">
|
||||
<label for="from_date">
|
||||
@ -129,7 +173,7 @@ $finyear = $item->financial_year;
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<!-- <div class="row">
|
||||
<div class="col-md-12" style="padding:0px;">
|
||||
<div class="col-md-2" style="padding-bottom:10px;">
|
||||
<select style="height:35px;" name="selectedId" id="selectedId<?php echo $i?>" onchange="checkscreen(<?php echo $i?>);" title="Select Your Option">
|
||||
@ -150,7 +194,7 @@ $finyear = $item->financial_year;
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
|
||||
|
||||
@ -159,7 +203,8 @@ $finyear = $item->financial_year;
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>S.NO</th>
|
||||
<th>S.No</th>
|
||||
|
||||
<th>Select</th>
|
||||
<th>Date</th>
|
||||
<!--<th>Account Code</th>-->
|
||||
@ -180,7 +225,7 @@ $finyear = $item->financial_year;
|
||||
<th style="text-align:right;"> Cleard Balance (₹)</th>
|
||||
<th style="text-align:right;"> Balance to Clear (₹)</th>
|
||||
<th>Status</th>
|
||||
<th>balance</th>
|
||||
<th>Balance</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
@ -326,7 +371,29 @@ var tcpaid='';
|
||||
function checkamount(type,ide)
|
||||
{
|
||||
//$('#addvalue').val('0.00');
|
||||
//alert();
|
||||
// alert(ide);
|
||||
globalModelValue = ide;
|
||||
// var val = '#checkboxcheckbox'+globalModelValue;
|
||||
var checkInput = document.getElementById("checkboxcheckbox"+ide);
|
||||
// console.log(checkInput.id);
|
||||
// $('#checkboxcheckbox'+ide).on('change', function () {
|
||||
if ($(checkInput).is(':checked')) {
|
||||
$("#myModal").modal({
|
||||
backdrop: 'static',
|
||||
eyboard: false
|
||||
});
|
||||
}
|
||||
// });
|
||||
|
||||
// $('#myCheckBoxCancel').click(function() {
|
||||
// $('#checkboxcheckbox'+globalModelValue).attr('checked', false);
|
||||
// });
|
||||
$('#myCheckBoxCancel').click(function() {
|
||||
|
||||
overalltype = undefined;
|
||||
$('#checkboxcheckbox'+globalModelValue).attr('checked', false);
|
||||
location.reload();
|
||||
});
|
||||
var value=ide;
|
||||
//alert('row id'+value);
|
||||
i1=value;
|
||||
@ -432,7 +499,7 @@ if (x==true)
|
||||
}
|
||||
else{
|
||||
|
||||
alert("Miss Match you have select sequentially amount");
|
||||
alert("Select One Row");
|
||||
window.location.reload();
|
||||
document.getElementById('checkboxcheckbox'+value).checked = false;
|
||||
}
|
||||
@ -547,6 +614,8 @@ if (x==true)
|
||||
localStorage.setItem('test1',tempidvalue);
|
||||
localStorage.setItem('test', avalue);
|
||||
localStorage.setItem('debitamount',debit);
|
||||
localStorage.setItem('cddate',date);
|
||||
|
||||
|
||||
window.location.href="Debitstatement";
|
||||
}
|
||||
@ -565,6 +634,8 @@ if (x==true)
|
||||
//alert(tempidvalue);
|
||||
localStorage.setItem('test2',tempcredit);
|
||||
localStorage.setItem('tes', avalue);
|
||||
localStorage.setItem('ccdate',date);
|
||||
|
||||
|
||||
window.location.href="Invoice";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user