variable name
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
6a5d49a535
commit
8bbb5d5c27
|
@ -3,3 +3,7 @@ CREATE TABLE `vn`.`docuwareConfig` (
|
||||||
`url` varchar(75) NULL,
|
`url` varchar(75) NULL,
|
||||||
`token` varchar(1000) DEFAULT NULL
|
`token` varchar(1000) DEFAULT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
INSERT INTO `vn`.`docuwareConfig` (`url`)
|
||||||
|
VALUES
|
||||||
|
('https://verdnatura.docuware.cloud/docuware/platform');
|
|
@ -20,13 +20,13 @@
|
||||||
<vn-menu vn-id="showDeliveryNoteMenu">
|
<vn-menu vn-id="showDeliveryNoteMenu">
|
||||||
<vn-list>
|
<vn-list>
|
||||||
<vn-item
|
<vn-item
|
||||||
ng-if="!$ctrl.hasDocuware"
|
ng-if="!$ctrl.hasDocuwareFile"
|
||||||
ng-click="$ctrl.showPdfDeliveryNote()"
|
ng-click="$ctrl.showPdfDeliveryNote()"
|
||||||
translate>
|
translate>
|
||||||
as PDF
|
as PDF
|
||||||
</vn-item>
|
</vn-item>
|
||||||
<a class="vn-item"
|
<a class="vn-item"
|
||||||
ng-if="$ctrl.hasDocuware"
|
ng-if="$ctrl.hasDocuwareFile"
|
||||||
href='api/Docuwares/{{$ctrl.ticket.id}}/download/deliveryClient/findTicket?access_token={{$ctrl.vnToken.token}}'
|
href='api/Docuwares/{{$ctrl.ticket.id}}/download/deliveryClient/findTicket?access_token={{$ctrl.vnToken.token}}'
|
||||||
target="_blank"
|
target="_blank"
|
||||||
translate>
|
translate>
|
||||||
|
|
|
@ -130,7 +130,7 @@ class Controller extends Section {
|
||||||
};
|
};
|
||||||
this.$http.post(`Docuwares/${this.id}/checkFile`, params)
|
this.$http.post(`Docuwares/${this.id}/checkFile`, params)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
this.hasDocuware = res.data;
|
this.hasDocuwareFile = res.data;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue