Compare commits
12 Commits
2551da28b4
...
31e8b80d9d
Author | SHA1 | Date | |
---|---|---|---|
|
31e8b80d9d | ||
|
83dabadc7f | ||
|
50c8f3070e | ||
|
46cd09306b | ||
|
f127d97074 | ||
|
467708f2bc | ||
|
13a5f9c68b | ||
|
b585fa198c | ||
|
5f9d203803 | ||
|
7e744cb8d9 | ||
|
8bded9e4bd | ||
|
02c015aa69 |
@ -51,7 +51,7 @@ public class Invoice
|
||||
AvailabilityOfPromotionalCode = availabilityOfPromotionalCode,
|
||||
DiscountPercentage = discountPercentage,
|
||||
SellingPrice = sellingPrice,
|
||||
DateInvoice = DateTime.Now,
|
||||
Date = DateTime.Now,
|
||||
Products = products
|
||||
};
|
||||
}
|
||||
|
@ -50,8 +50,7 @@ namespace ProjectCompanyFurniture.Forms
|
||||
{
|
||||
try
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(textBoxName.Text)
|
||||
|| string.IsNullOrEmpty(textBoxCategory.Text)
|
||||
if (string.IsNullOrWhiteSpace(textBoxName.Text) || string.IsNullOrEmpty(textBoxCategory.Text)
|
||||
|| comboBoxManufacturer.SelectedIndex < 0)
|
||||
{
|
||||
throw new Exception("Имеются незаполненные поля");
|
||||
|
Loading…
x
Reference in New Issue
Block a user