<div bsModal #createOrEditModal="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="createOrEditModal" aria-hidden="true" [config]="{backdrop: 'static'}">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <form *ngIf="active" #orderPackageForm="ngForm" novalidate (ngSubmit)="save()" autocomplete="off">
                <div class="modal-header">
                    <h4 class="modal-title">
                        <span *ngIf="orderPackage.id">{{l("EditOrderPackage")}}</span>
                        <span *ngIf="!orderPackage.id">{{l("CreateNewOrderPackage")}}</span>
                    </h4>
                    <button type="button" class="close" (click)="close()" aria-label="Close" [disabled]="saving">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                 


								<div class="form-group">
									<!-- <label for="OrderPackage_OrderId">{{l("OrderId")}}</label>
                                    <input type="number" id="OrderPackage_OrderId" class="form-control" [(ngModel)]="orderPackage.orderId" name="OrderId"  /> -->
                                    <select class="form-control kt-select2" id="selectedOrder" data-placeholder="Select City" name="selectPreview" >
                                            <!-- <option value="0">Select Tag Type</option> -->
                                            <option *ngFor="let orders of filteredOrders"  [(value)]="orders.id" [selected]="orders.id == orderPackage.orderId ">
                                                {{orders.id}}
                                            </option>
                                    </select>
								</div>
                                
								<div class="form-group">
									<!-- <label for="OrderPackage_PackageId">{{l("PackageId")}}</label>
                                    <input type="number" id="OrderPackage_PackageId" class="form-control" [(ngModel)]="orderPackage.packageId" name="PackageId"  /> -->
                                    <select class="form-control kt-select2" id="selectedPackage" data-placeholder="Select City" name="selectPreview" >
                                            <!-- <option value="0">Select Tag Type</option> -->
                                            <option *ngFor="let packages of filteredPackages"  [(value)]="packages.package.id" [selected]="packages.package.id == orderPackage.packageId">
                                                {{packages.package.name}}
                                            </option>
                                    </select>
								</div>
					
								<div class="form-group">
									<label for="OrderPackage_Quantity">{{l("Quantity")}}</label>
									<input type="number" id="OrderPackage_Quantity" class="form-control" [(ngModel)]="orderPackage.quantity" name="Quantity"  />
								</div>
                </div>
                <div class="modal-footer">
                    <button [disabled]="saving" type="button" class="btn btn-default btn-pill" (click)="close()">{{l("Cancel")}}</button>
                    <button type="submit" class="btn btn-primary blue btn-pill" [disabled]="!orderPackageForm.form.valid" [buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save")}}</span></button>
                </div>
            </form>
        </div>
    </div>

</div>