[init] init version

This commit is contained in:
2023-10-10 03:58:47 +07:00
commit 73359d5f24
299 changed files with 55909 additions and 0 deletions

161
@note/input.html Normal file
View File

@@ -0,0 +1,161 @@
------------------------------------------------------------
# INPUT
------------------------------------------------------------
<mat-label></mat-label>
<mat-form-field>
<input
matInput
name="KEY"
#KEY="ngModel"
[(ngModel)]="dataForm.KEY"
required
>
<mat-error *ngIf="isFieldValid(ngf, KEY)"> กรุณากรอกข้อมูล</mat-error>
</mat-form-field>
------------------------------------------------------------
# textarea
------------------------------------------------------------
<mat-form-field>
<mat-label></mat-label>
<textarea
matInput
name="KEY"
#KEY="ngModel"
[(ngModel)]="dataForm.KEY"
required
>
</textarea>
<mat-error *ngIf="isFieldValid(ngf, KEY)"> กรุณากรอกข้อมูล</mat-error>
</mat-form-field>
------------------------------------------------------------
# SELECT
------------------------------------------------------------
<mat-form-field>
<mat-label></mat-label>
<mat-select
name="KEY"
#KEY="ngModel"
[(ngModel)]="dataForm.KEY"
required
>
<mat-option [value]=""></mat-option>
<mat-option
*ngFor="let item of select.KEY"
[value]="item.KEY">
{{item.KEY}}
</mat-option>
</mat-select>
<mat-error *ngIf="isFieldValid(ngf, KEY)"> กรุณากรอกข้อมูล</mat-error>
</mat-form-field>
------------------------------------------------------------
# SELECT 2
------------------------------------------------------------
<mat-label></mat-label>
<ng-select
name="budget_year_uid"
#KEY="ngModel"
[(ngModel)]="dataForm.KEY"
(change)="onSelect()"
appendTo="body"
required
>
<ng-option value=""></ng-option>
<ng-option
*ngFor="let item of select.KEY"
[value]="item.KEY">
{{item.KEY}}
</ng-option>
</ng-select>
<mat-error *ngIf="isFieldValid(ngf, KEY)"> กรุณากรอกข้อมูล</mat-error>
<mat-label></mat-label>
<ng-select
#KEY="ngModel"
(change)="onSelectionChange('KEY',$event)"
[(ngModel)]="dataForm.KEY"
[items]="select.KEY"
appendTo="body"
bindLabel="KEY"
bindValue="KEY"
name="KEY"
>
</ng-select>
<mat-error *ngIf="isFieldValid(ngf, KEY)"> กรุณากรอกข้อมูล</mat-error>
------------------------------------------------------------
# AUTOCOMPLETE
------------------------------------------------------------
<mat-form-field>
<mat-label></mat-label>
<input
matInput
name="KEY"
#KEY="ngModel"
[(ngModel)]="dataForm.KEY"
[matAutocomplete]="MATAUTO"
>
<mat-icon matSuffix>search</mat-icon>
</mat-form-field>
<mat-autocomplete #MATAUTO="matAutocomplete" autoActiveFirstOption>
<mat-option
(onSelectionChange)="onSelectionChange('KEY', item)"
*ngFor="let item of select.KEY | searchAuto : dataForm.KEY : 'KEY'"
[value]="item.KEY">
{{item.KEY}}
</mat-option>
</mat-autocomplete>
------------------------------------------------------------
# DATEPICKER
------------------------------------------------------------
<mat-form-field>
<mat-label>วันที่</mat-label>
<input
matInput
name="KEY"
#KEY="ngModel"
(click)="dpkName.open()"
[(ngModel)]="dataForm.KEY"
[matDatepicker]="dpkName"
readonly
required
/>
<mat-datepicker-toggle [for]="dpkName" matSuffix></mat-datepicker-toggle>
<mat-datepicker #dpkName></mat-datepicker>
<mat-error *ngIf="isFieldValid(ngf, KEY)"> กรุณากรอกข้อมูล</mat-error>
</mat-form-field>
------------------------------------------------------------
# DIALOG
------------------------------------------------------------
<form #ngf="ngForm" (ngSubmit)="onSubmit(ngf)" autocomplete="off" class="dialog-main dialog-form ">
<div class="dialog-main">
<div class="dialog-header">
<h2>{{title}}</h2>
</div>
<div class="dialog-body">
</div>
<div class="dialog-footer">
<button cdkFocusInitial mat-dialog-close mat-raised-button type="button">ยกเลิก</button>
<button class="bg-bpi-primary-color" color="primary" mat-raised-button type="submit">บันทึก</button>
</div>
</div>
</form>
------------------------------------------------------------
# ICON LINK
------------------------------------------------------------
<i [routerLink]="['/app/research-and-evaluation/evaluate-collect/send', item.budget_policy_uid]" class="material-icons" style="cursor: pointer;color: #F8A300;">create</i>

140
@note/note.txt Normal file
View File

@@ -0,0 +1,140 @@
ประเมินราคา/ค่ามัดจำ
ประเมินราคาครั้งที่ 1
ประเมินราคาครั้งที่ 2
ประเมินราคาครั้งที่ 3
การเงิน
ใบเสนอราคา
ใบแจ้งชำระเงิน
ใบแจ้งหนี้
รับชำระเงิน/ใบเสร็จรับเงิน
คืนเงินค่ามัดจำ
สัญญา
ทำสัญญา
ข้อมูลการผ่อนชำระ
คลังสินค้า
สินค้า
ค่าเบี่ยงเบนการวัด
ยี่ห้อ
หมวดหมู่
ตั้งค่าระบบ
ลูกค้า
Appraisals
AppraisalP1
AppraisalP2
AppraisalP3
finance
quotation
bill payment
invoice
Receive payment/receipt
refund deposit
contract
make a contract
installment information
warehouse
product
measurement deviation
brand
category
system settings
customer(แก้ไขแล้ว)เรียกคืนต้นฉบับ
'code','name','brandId','size','color','year','price','latestPrice',
กรอกข้อมูลการจัดผ่อน (ราคาล่าสุด 257,000.00 บาท)
วันที่เริ่มจัดผ่อน
8/03/2023
บาท (THB)
ราคา (Price)
499,999.00
บาท (THB)
มัดจำแม่ค้า
0.00
บาท (THB)
มัดจำ CMFS
150,000.00
บาท (THB)
เงินต้นคงเหลือ (Total)
349,000.00
บาท (THB)
ต้องการผ่อน (Term)
3
งวด
ล้างข้อมูล
คำนวน
รายละเอียดค่าใช้จ่ายในการโอนเงิน
มัดจำ CMFS Deposit
150,000.00
บาท (THB)
หัก เงินมัดจำแม่ค้า
0.00
บาท (THB)
บวก Packing
500.00
บาท (THB)
บวก Luxury handbag
authentication
3,500.00
บาท (THB)
บวก Bank fee,
Insurance , Storage
200.00
บาท (THB)
สรุปยอดโอน
154,200.00
บาท (THB)
งวดที่
กำหนดจ่ายวันที่ Due date
เงินต้น
Principle
ดอกเบี้ย(บาท)
Interest Total
Bank fee, Insurance ,Storage
รวมยอดจ่ายต่อเดือน Total payment
เงินต้นคงเหลือ Principle Total
ข้อมูลลูกค้า
ชื่อลูกค้า
นามสกุล
เบอร์โทร
นางสาวน้ำค้าง
ทดสอบศรี
0896765555
รหัสสินค้า
เลขที่ใบเสนอราคา
A660092
As00022
ชื่อพนักงาน
นางสาวปาดวาด ศิริทรัพย์
customerFirstName
customerLastName
customerPhone
customerIdentificationCard
customerIdentificationCardImage
customerAddress
customerEmail
customerLine
customerLineShop
customerFacebook
customerOccupation: string;
customerIg
<button type="button" class="btn btn-export" (click)="onExport()">Export</button>
onExport() {
const filter = generateParamsValue(this.dataFilter);
const url = `${API.customer}/export?${filter ? '&' + filter : '' }`;
window.open(url);
}