Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="row">
- <div class="col-xl-6">
- <div *ngIf="investment" class="card-box">
- <div class="row mb-1">
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <h4 class="mt-0 mb-1 pt-1">{{ investment.code }}</h4>
- </div>
- </div>
- <div class="row mb-1">
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <p class="text-muted font-13 mb-0">
- <strong>Název investice :</strong>
- </p>
- </div>
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <form
- #f="ngForm"
- *ngIf="showSimpleEditForm"
- class="form-inline float-left"
- (ngSubmit)="editInvestmentSimple(f.value)"
- >
- <input
- type="text"
- hidden
- [(ngModel)]="investmentID"
- name="investment_ID"
- />
- <input type="text" hidden ngModel="subject" name="field" />
- <input
- type="text"
- class="form-control float-left"
- [(ngModel)]="investment.subject"
- name="subject"
- />
- <button
- *ngIf="showSimpleEditForm"
- type="submit"
- class="btn btn-link"
- >
- <i class="fe-check"></i>
- </button>
- </form>
- <span class="float-left" *ngIf="!showSimpleEditForm">{{
- investment.subject
- }}</span>
- <button
- (click)="toggleSimpleEditForm()"
- type="button"
- class="btn btn-link"
- >
- <i class="fe-edit"></i>
- </button>
- </div>
- </div>
- <div class="row mb-1">
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <p class="text-muted mb-0 font-13">
- <strong>{{ "investment.product" | translate }} :</strong>
- </p>
- </div>
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- Obchodní koš
- </div>
- </div>
- <div class="row mb-1">
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <p class="text-muted mb-2 font-13">
- <strong>{{ "investment.started_at" | translate }} :</strong>
- </p>
- </div>
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <form
- #activateForm="ngForm"
- (ngSubmit)="activateInvestment(activateForm.value)"
- >
- <div *ngIf="investment.started_at === null" class="form-group">
- <div class="input-group">
- <div class="input-group-prepend">
- <span class="input-group-text" id="basic-addon1"
- ><i class="mdi mdi-calendar"></i
- ></span>
- </div>
- <input
- name="date"
- class="form-control"
- mwlFlatpickr
- type="text"
- [dateFormat]="'Y-m-d'"
- [altInput]="true"
- [altFormat]="'d.M.Y'"
- ngModel
- />
- <div class="input-group-append">
- <button class="btn btn-primary">Aktivovat</button>
- </div>
- </div>
- </div>
- <div *ngIf="investment.started_at !== null">
- <span>{{ investment.started_at_formated }}</span>
- </div>
- </form>
- </div>
- </div>
- <div class="row mb-1">
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <p class="text-muted font-13 mb-0">
- <strong>{{ "investment.activated_at" | translate }} :</strong>
- </p>
- </div>
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <span>{{ investment.activated_at_formated }}</span>
- </div>
- </div>
- <div class="row mb-1">
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <p class="text-muted font-13 mb-0">
- <strong>{{ "investment.deadline" | translate }} :</strong>
- </p>
- </div>
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <div *ngIf="investment.done_at === null">
- <button
- *ngIf="investment.activated_at"
- (click)="endInvestment()"
- class="btn btn-secondary btn-xs"
- >
- {{ "investment.action_end_investment_button" }}
- </button>
- </div>
- <div *ngIf="investment.done_at !== null">
- <span>{{ investment.done_at_formated }}</span>
- </div>
- </div>
- </div>
- <div class="row mb-1">
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <p class="text-muted font-13 mb-0"><strong>Klient :</strong></p>
- </div>
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <span>{{ investment.customer.fullname}}</span>
- </div>
- </div>
- <div class="row mb-1">
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <p class="text-muted font-13 mb-0"><strong>Přidáno :</strong></p>
- </div>
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <span>{{ investment.created_at_formated}}</span>
- </div>
- </div>
- <div class="row mb-1">
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <p class="text-muted font-13 mb-0">
- <strong>Aktualizováno :</strong>
- </p>
- </div>
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <span>{{investment.updated_at_formated}}</span>
- </div>
- </div>
- <div class="row mb-1">
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <p class="text-muted font-13 mb-0">
- <strong>{{ "customer.beneficiary" | translate }} :</strong>
- </p>
- </div>
- <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
- <form
- #ff="ngForm"
- *ngIf="showSimpleEditFormBeneficiary"
- class="form-inline float-left"
- (ngSubmit)="editInvestmentSimple(ff.value)"
- >
- <input
- type="text"
- hidden
- [(ngModel)]="investmentID"
- name="investment_ID"
- />
- <input type="text" hidden ngModel="beneficiary_ID" name="field" />
- <select
- [(ngModel)]="investment.beneficiary.customer_ID"
- name="beneficiary_ID"
- class="form-control"
- >
- <option value="">{{ "global.none" | translate }}</option>
- <option
- value="{{ b.customer_ID }}"
- *ngFor="let b of investment.customer[0].beneficiary"
- >{{ b.name + " " + b.surname }}</option
- >
- </select>
- <button
- *ngIf="showSimpleEditFormBeneficiary"
- type="submit"
- class="btn btn-link"
- >
- <i class="fe-check"></i>
- </button>
- </form>
- <a *ngIf="!showSimpleEditFormBeneficiary">{{
- investment.beneficiary.name !== null
- ? investment.beneficiary?.name +
- " " +
- investment.beneficiary?.surname
- : "Žádná"
- }}</a>
- <button
- type="button"
- (click)="toggleSimpleEditFormBeneficiary()"
- class="btn btn-link"
- >
- <i class="fe-edit"></i>
- </button>
- </div>
- </div>
- <div class="text-right">
- <button
- type="button"
- class="btn btn-secondary"
- (click)="requestInvestmentDocument()"
- >
- {{ "investment.action_generate_document_button" | translate }}
- </button>
- <button
- type="button"
- class="btn btn-danger ml-2"
- (click)="deleteInvestment()"
- >
- {{ "investment.action_remove_investment_button" | translate }}
- </button>
- </div>
- </div>
- <app-withdraw-request
- [investmentID]="investmentID"
- (refresh)="refreshRequests()"
- [requests]="investmentRequest"
- ></app-withdraw-request>
- </div>
- <div class="col-xl-6">
- <div class="row">
- <div class="col-xs-12 col-sm-12 col-md-12 col-lg-6">
- <app-counterup
- [title]="'Aktuální stav'"
- [amount]="5000"
- ></app-counterup>
- </div>
- <div class="col-xs-12 col-sm-12 col-md-12 col-lg-6">
- <app-counterup [title]="'Zisk'" [amount]="10000"></app-counterup>
- </div>
- </div>
- <div class="row">
- <div class="col-xs-12 col-sm-12 col-md-12 col-lg-6">
- <app-counterup [title]="'Vklady'" [amount]="15000"></app-counterup>
- </div>
- <div class="col-xs-12 col-sm-12 col-md-12 col-lg-6">
- <app-counterup [title]="'Výběry'" [amount]="17000"></app-counterup>
- </div>
- </div>
- <div class="row">
- <div class="col-12">
- <app-documents [documents]="investment?.document"></app-documents>
- </div>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-lg-6">
- <div class="card-box">
- <div class="card-body">
- <h4 class="header-title">Vývoj investice</h4>
- <div class="row mt-4 text-center">
- <div class="col-4">
- <p class="text-muted font-15 mb-1 text-truncate">Cíl</p>
- <h4>
- <i class="fe-arrow-down text-danger mr-1"></i>
- CZK 7.8k
- </h4>
- </div>
- <div class="col-4">
- <p class="text-muted font-15 mb-1 text-truncate">Minulé období</p>
- <h4>
- <i class="fe-arrow-up text-success mr-1"></i>
- CZK 1.4k
- </h4>
- </div>
- <div class="col-4">
- <p class="text-muted font-15 mb-1 text-truncate">Aktuální období</p>
- <h4>
- <i class="fe-arrow-down text-danger mr-1"></i>
- CZK 15k
- </h4>
- </div>
- </div>
- <apx-chart
- [series]="series"
- [chart]="chart"
- [theme]="theme"
- [tooltip]="tooltip"
- [grid]="grid"
- [yaxis]="yaxis"
- ></apx-chart>
- </div>
- </div>
- </div>
- <div class="col-lg-6">
- <div class="card-box">
- <div class="card-body">
- <h4 class="header-title">Měsíční přípisy investice</h4>
- <div class="row mt-4 text-center">
- <div class="col-4">
- <p class="text-muted font-15 mb-1 text-truncate">Cíl</p>
- <h4>
- <i class="fe-arrow-down text-danger mr-1"></i>
- CZK 7.8k
- </h4>
- </div>
- <div class="col-4">
- <p class="text-muted font-15 mb-1 text-truncate">Minulé období</p>
- <h4>
- <i class="fe-arrow-up text-success mr-1"></i>
- CZK 1.4k
- </h4>
- </div>
- <div class="col-4">
- <p class="text-muted font-15 mb-1 text-truncate">Aktuální období</p>
- <h4>
- <i class="fe-arrow-down text-danger mr-1"></i>
- CZK 15k
- </h4>
- </div>
- </div>
- <apx-chart
- [series]="series"
- [chart]="chartBar"
- [theme]="themeBar"
- [tooltip]="tooltip"
- [grid]="grid"
- ></apx-chart>
- </div>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-12">
- <div class="card-box">
- <div class="card-header">
- <div class="row">
- <div class="col-sm-4">
- <h4 class="header-title">
- {{ "investment.withdraws_and_deposits" | translate }}
- </h4>
- </div>
- <div class="col-sm-8">
- <div class="text-sm-right">
- <button type="button" class="btn btn-secondary mb-2 mr-1">
- <i class="mdi mdi-settings"></i>
- </button>
- <button type="button" class="btn btn-secondary mb-2 mr-1">
- Import
- </button>
- <button type="button" class="btn btn-secondary mb-2">
- Export
- </button>
- </div>
- </div>
- </div>
- </div>
- <div class="card-body pt-0">
- <div class="table-responsive">
- <table
- datatable
- [dtOptions]="dtOptions"
- [dtTrigger]="dtTrigger"
- class="table table-centered"
- >
- <thead>
- <tr>
- <th>ID</th>
- <th>First name</th>
- <th>Last name</th>
- </tr>
- </thead>
- <tbody>
- <tr *ngFor="let person of persons">
- <td>{{ person.id }}</td>
- <td>{{ person.firstName }}</td>
- <td>{{ person.lastName }}</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement