#756 ticket.sale-tracking

This commit is contained in:
Carlos Jimenez 2018-10-28 12:36:41 +01:00
parent 11787ec2e1
commit 2a9dd98e6a
3 changed files with 14 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<vn-horizontal> <vn-horizontal>
<vn-one>{{::$ctrl.concept}}</vn-one> <vn-one>{{::$ctrl.concept}}</vn-one>
<vn-two> <vn-one>
<section <section
class="inline-tag ellipsize" ng-class="{'empty': !fetchedTag.value}" class="inline-tag ellipsize" ng-class="{'empty': !fetchedTag.value}"
ng-repeat="fetchedTag in $ctrl.tags track by $index" ng-repeat="fetchedTag in $ctrl.tags track by $index"

View File

@ -1,4 +1,5 @@
import ngModule from '../module'; import ngModule from '../module';
import './style.scss';
class Controller { class Controller {
constructor($scope, $stateParams) { constructor($scope, $stateParams) {
@ -15,8 +16,8 @@ class Controller {
warehouseFk: ${this.ticket.warehouseFk}, warehouseFk: ${this.ticket.warehouseFk},
ticketFk: ${this.ticket.id} ticketFk: ${this.ticket.id}
})`, })`,
tooltip: 'Item diary' tooltip: 'Item diary',
} },
}; };
this.$scope.descriptor.itemFk = itemFk; this.$scope.descriptor.itemFk = itemFk;
this.$scope.descriptor.parent = event.target; this.$scope.descriptor.parent = event.target;
@ -34,6 +35,6 @@ ngModule.component('vnTicketSaleTracking', {
template: require('./index.html'), template: require('./index.html'),
controller: Controller, controller: Controller,
bindings: { bindings: {
ticket: '<' ticket: '<',
} },
}); });

View File

@ -0,0 +1,8 @@
@import "colors";
vn-table {
@media screen and (max-width: 1200px){
font-size: 0.9em;
padding: 0.2em
}
}