リビジョン 213
請求書データ税込金額計算修正
branches/ddl/CreateBilling/CreateBilling/CreateBillingDataAux.cs | ||
---|---|---|
383 | 383 |
|
384 | 384 |
HeadRec.RequestAmount = (long)InRec.PaymentAmount; // 請求金額 |
385 | 385 |
HeadRec.TaxAmount = (long)(InRec.PaymentAmount * 0.08); // 消費税 |
386 |
HeadRec.RequestTotalAmount = (long)InRec.PaymentAmount + HeadRec.TaxAmount; // 請求金額合計
|
|
386 |
HeadRec.RequestTotalAmount = HeadRec.RequestAmount + HeadRec.TaxAmount; // 請求金額合計
|
|
387 | 387 |
|
388 | 388 |
HeadRec.UnpaidAmount = 0; // 未入金 |
389 | 389 |
HeadRec.Note = ""; // 備考 |
... | ... | |
537 | 537 |
} |
538 | 538 |
|
539 | 539 |
DetailRec.RequestName = CommonMotions.cnvString(objRec[m_DefColumn + (int)InDataOrder.ODetailString]); // 発注者先名 |
540 |
DetailRec.TotalAmount = (long)InRec.PaymentAmount; // 税込み合計金額
|
|
541 |
DetailRec.TaxAmount = (long)(InRec.PaymentAmount * 0.08); // 消費税金額 |
|
540 |
DetailRec.TotalAmount = (long)InRec.PaymentAmount + (long)(InRec.PaymentAmount * 0.08); // 税込み合計金額
|
|
541 |
DetailRec.TaxAmount = (long)(InRec.PaymentAmount * 0.08); // 消費税金額
|
|
542 | 542 |
DetailRec.Comment1 = ""; // コメント1 |
543 | 543 |
DetailRec.Comment2 = ""; // コメント2 |
544 | 544 |
DetailRec.Comment3 = ""; // コメント3 |
他の形式にエクスポート: Unified diff