-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2473 from resilient-tech/version-14-hotfix
chore: release v14
- Loading branch information
Showing
25 changed files
with
439 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 26 additions & 32 deletions
58
india_compliance/gst_india/doctype/purchase_reconciliation_tool/gstr_download_history.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,31 @@ | ||
<div class="download_data"> | ||
<table class="table table-bordered table-hover"> | ||
<thead> | ||
<tr> | ||
{% for(let i=0; i<columns.length; i++) { %} <th class="text-left">{{ columns[i] }} | ||
</th> | ||
{% if typeof(data) == "string" %} | ||
<div class="text-center no-preview-available mb-5">{{ data }}</div> | ||
{% else %} | ||
<table class="table table-bordered table-hover"> | ||
<thead> | ||
<tr> | ||
{% for(let i=0; i<columns.length; i++) { %} | ||
<th class="text-left">{{ columns[i] }}</th> | ||
{% } %} | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for(let period in data) { %} | ||
<tr> | ||
<td rowspan="{{ data[period].length }}" style="width:50%">{{period}}</td> | ||
<td>{{ data[period][0] }}</td> | ||
</tr> | ||
|
||
{% for(let i=1;i < data[period].length;i++){ %} | ||
<tr> | ||
<td>{{ data[period][i] }}</td> | ||
</tr> | ||
{% } %} | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% let previous_period = ''; %} | ||
{% for(let period in data) { %} | ||
<!-- for first class --> | ||
<tr> | ||
{% if(period != previous_period) { %} | ||
<td rowspan="{{data[period].length}}">{{period}}</td> | ||
{% previous_period = period; %} | ||
{% } %} | ||
{% for(let value of Object.values(data[period].shift())) { %} | ||
<td>{{ value }}</td> | ||
{% } %} | ||
</tr> | ||
|
||
<!-- for more than one class --> | ||
{% if(data[period].length > 0) { %} | ||
{% for(let category of data[period]) { %} | ||
<tr> | ||
{% for(let value of Object.values(category)) { %} | ||
<td>{{ value }}</td> | ||
{% } %} | ||
</tr> | ||
{% } %} | ||
{% } %} | ||
{% } %} | ||
</tbody> | ||
</table> | ||
|
||
</tbody> | ||
</table> | ||
{% endif %} | ||
</div> |
Oops, something went wrong.