ui cleanup

This commit is contained in:
Faris Ansari 2017-03-09 17:03:14 +05:30 committed by Rohit Waghchaure
parent 45510109b6
commit 07c9f35779
5 changed files with 11 additions and 8 deletions

View File

@ -464,7 +464,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
toggle_totals_area: function(show) {
if(!show) {
if(show === undefined) {
show = this.is_totals_area_collapsed;
}

View File

@ -275,7 +275,7 @@ body[data-route="pos"] .modal-dialog {
vertical-align: middle;
}
.pos-list-row .subject {
width: 50%;
width: 40%;
}
.pos-list-row .list-row-checkbox,
.pos-list-row .list-select-all {
@ -307,7 +307,7 @@ body[data-route="pos"] .modal-dialog {
justify-content: center;
height: 100%;
}
.pos .items .pos-list-row:last-child {
.pos .pos-list-row:last-child {
border-bottom: none;
}
.pos .form-section-heading {

View File

@ -90,9 +90,9 @@
<div class="col-sm-5 list-customers">
<div class="col-sm-12"><h6 class="form-section-heading uppercase">{{ __("Customers in Queue") }}</h6></div>
<div class="pos-list-row pos-bill-header">
<div class="cell"><input class="list-select-all" type="checkbox">{{ __("Customer") }}</div>
<div class="cell subject"><input class="list-select-all" type="checkbox">{{ __("Customer") }}</div>
<div class="cell text-left">{{ __("Status") }}</div>
<div class="cell text-right">{{ __("Paid Amount") }}</div>
<div class="cell text-right">{{ __("Amount") }}</div>
<div class="cell text-right">{{ __("Grand Total") }}</div>
</div>
<div class="list-customers-table border-left border-right border-bottom">

View File

@ -1,5 +1,8 @@
<div class="pos-list-row" invoice-name = "{{name}}">
<div class="list-column cell"><input class="list-delete" type="checkbox">{%= customer %}</div>
<div class="list-column cell subject">
<input class="list-delete" type="checkbox">
<a class="grey list-id" title="{{ customer }}">{%= customer %}</a>
</div>
<div class="list-column cell text-left"><span class="indicator {{data.indicator}}">{{ data.status }}</span></div>
<div class="list-column cell text-right">{%= paid_amount %}</div>
<div class="list-column cell text-right">{%= grand_total %}</div>

View File

@ -330,7 +330,7 @@ body[data-route="pos"] .modal-dialog {
}
.subject {
width: 50%
width: 40%
}
.list-row-checkbox, .list-select-all {
@ -369,7 +369,7 @@ body[data-route="pos"] .modal-dialog {
height: 100%;
}
.pos .items .pos-list-row:last-child {
.pos .pos-list-row:last-child {
border-bottom: none;
}