Project

General

Profile

Actions

Bug #2906

open

Issue #2189: XCG_2025

[08] Lỗi phân quyền XCG trường hợp MTN = 0

Added by Lê Xuân Công over 1 year ago. Updated over 1 year ago.

Status:
3.2.Đã test đạt
Priority:
Immediate
Target version:
Start date:
31/03/2025
Due date:
% Done:

100%

Estimated time:
Nguồn phát sinh:
Ngày phát sinh:
Người yêu cầu:
Line:
Xe cơ giới
Phân loại:
Chức năng:
Ưu tiên:
BA:
Tester:
Ngày bàn giao:
Người nhận bàn giao:
Ngày nghiệm thu:
Người nghiệm thu:
Branch name:
Actions #1

Updated by Phạm Việt Anh over 1 year ago

for b_lp in 1..dk_ma.count loop
  -- viet anh them dkien dk_tien=0
    if dk_phiB(b_lp)>dk_phi(b_lp) then
       if  dk_tien(b_lp)<>0 and dk_ptB(b_lp) <= 100 then
         dk_phiG(b_lp):=dk_phiB(b_lp)-dk_phi(b_lp);
         dk_ptG(b_lp):=round(dk_phiG(b_lp)*dk_ptB(b_lp)/dk_phiB(b_lp),2);
       else 
         dk_phiG(b_lp):=dk_phiB(b_lp)-dk_phi(b_lp);
         dk_ptG(b_lp):=round(dk_phiG(b_lp)*100/dk_phiB(b_lp),2);
       end if;
    else
        dk_ptG(b_lp):=0; dk_phiG(b_lp):=0;
    end if;
end loop;

Actions #2

Updated by Phạm Việt Anh over 1 year ago

  • Status changed from 2.1.Chưa phát triển to 2.2.Đang phát triển
  • % Done changed from 0 to 100
Actions #3

Updated by Phạm Việt Anh over 1 year ago

  • Status changed from 2.2.Đang phát triển to 2.3.Đã xong
Actions #4

Updated by Phạm Việt Anh over 1 year ago

pbh_xeG_nh;
pbh_xeG_nh_nh;
pbh_xeG_testr;
pbh_xeH_testr

Actions #5

Updated by Lê Xuân Công over 1 year ago

  • Subject changed from [08] Lỗi phân quyền XCG/2B trường hợp MTN = 0 to [08] Lỗi phân quyền XCG trường hợp MTN = 0
Actions #6

Updated by Lê Xuân Công over 1 year ago

  • Status changed from 2.3.Đã xong to 3.2.Đã test đạt
Actions

Also available in: Atom PDF