Verified Commit b4efd38d authored by Damien's avatar Damien

FEAT #13626 TIME 0:45 Remove folder type from doctype

parent b44f3924
......@@ -90,20 +90,6 @@
</div>
</div>
<div class="form-group">
<div class="col-sm-12">
<mat-form-field>
<mat-select id="foldertypeList" name="foldertypeList"
title="{{lang.folderTypeList}}" placeholder="{{lang.folderTypeList}}"
[(ngModel)]="currentFirstLevel.foldertype_id" multiple required>
<mat-option *ngFor="let folderType of folderTypes"
[value]="folderType.foldertype_id">
{{folderType.foldertype_label}}
</mat-option>
</mat-select>
</mat-form-field>
</div>
</div>
<div class="form-group">
<div class="col-md-12 text-center" style="padding:10px;">
<button mat-raised-button [disabled]="!firstLevelForm.form.valid" color="primary"
(click)="saveFirstLevel()">{{lang.save}}</button>
......
......@@ -30,7 +30,6 @@ export class DoctypesAdministrationComponent implements OnInit {
currentSecondLevel: any = false;
currentFirstLevel: any = false;
firstLevels: any = false;
folderTypes: any = false;
types: any = false;
secondLevels: any = false;
processModes: any = false;
......@@ -218,7 +217,6 @@ export class DoctypesAdministrationComponent implements OnInit {
this.http.get("../../rest/doctypes/firstLevel/" + data.node.original.doctypes_first_level_id )
.subscribe((data: any) => {
this.currentFirstLevel = data['firstLevel'];
this.folderTypes = data['folderTypes'];
}, (err) => {
this.notify.error(err.error.errors);
});
......@@ -413,7 +411,6 @@ export class DoctypesAdministrationComponent implements OnInit {
$j('#jstree').jstree('deselect_all');
this.http.get("../../rest/administration/doctypes/new")
.subscribe((data: any) => {
this.folderTypes = data['folderTypes'];
this.firstLevels = data['firstLevel'];
this.secondLevels = data['secondLevel'];
this.processModes = ['NORMAL', 'SVA', 'SVR'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment