リビジョン 178
請求書印刷(請求日を発効日で暫定で設定)
branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmRequestPrint.cs | ||
---|---|---|
535 | 535 |
} |
536 | 536 |
else |
537 | 537 |
{ |
538 |
dateTimePicker1.Value = m_InvData.CretateDate;
|
|
538 |
dateTimePicker1.Value = m_InvData.RequestDate;
|
|
539 | 539 |
} |
540 | 540 |
|
541 | 541 |
lblOrderersName.Text = m_InvData.RequestName; |
... | ... | |
734 | 734 |
m_InvData.TotalAmount = lTotalAmount; |
735 | 735 |
m_InvData.TaxAmount = lTaxAmount; |
736 | 736 |
|
737 |
if (rdPrint.Checked == true) |
|
738 |
{ |
|
739 |
m_InvData.CretateDate = dateTimePicker1.Value; |
|
740 |
} |
|
741 |
else |
|
742 |
{ |
|
743 |
m_InvData.CretateDate = DateTime.MinValue; |
|
744 |
} |
|
737 |
m_InvData.RequestDate = m_ExcuteDate; |
|
745 | 738 |
|
746 | 739 |
m_InvData.Comment1 = txtComment1.Text; |
747 | 740 |
m_InvData.Comment2 = txtComment2.Text; |
... | ... | |
827 | 820 |
|
828 | 821 |
nOldStatus = Info.ConstructionStatusFlg; |
829 | 822 |
|
830 |
// 工事状態が「請求準備」ではない場合は、対象外
|
|
823 |
// 工事状態が「請求準備」ではない場合は対象外 |
|
831 | 824 |
if (nOldStatus != (int)CommonDefine.StatNumArray.Status9) |
832 | 825 |
{ |
833 | 826 |
continue; |
834 | 827 |
} |
835 | 828 |
|
836 |
// 工事基本情報で請求一括の場合 |
|
837 |
// 工事状態フラグを「請求完了」に変更 |
|
838 |
if (Info.BillingSplitFlg == (int)CommonDefine.BaseInfoBillingSplitFlg.AllOnBilling) |
|
829 |
// 工事基本情報で請求一括でない場合は対象外 |
|
830 |
if (Info.BillingSplitFlg != (int)CommonDefine.BaseInfoBillingSplitFlg.AllOnBilling) |
|
839 | 831 |
{ |
840 |
Info.ConstructionStatusFlg = (int)CommonDefine.StatNumArray.Status10;
|
|
832 |
continue;
|
|
841 | 833 |
} |
842 | 834 |
|
835 |
// 工事状態フラグを「請求完了」に変更 |
|
836 |
Info.ConstructionStatusFlg = (int)CommonDefine.StatNumArray.Status10; |
|
837 |
|
|
843 | 838 |
// 工事基本情報を更新 |
844 | 839 |
sql = ioInfo.CreatePrimarykeyString(nConstructionCode); |
845 | 840 |
if (ioInfo.UpdateAction(sql, Info) == false) |
他の形式にエクスポート: Unified diff