diff --git a/Back/Controllers/TaxPayerController.cs b/Back/Controllers/TaxPayerController.cs index 74e684b..a3c07d9 100644 --- a/Back/Controllers/TaxPayerController.cs +++ b/Back/Controllers/TaxPayerController.cs @@ -223,7 +223,8 @@ namespace Back.Controllers //کد شعبه فروشنده Sbc = string.IsNullOrEmpty(result.sbc) ? null : result.sbc, //کد پستی خریدار - Bpc = level == 10 || string.IsNullOrEmpty(result.bpc) ? null : result.bpc, + Bpc = level == 10 || string.IsNullOrEmpty(result.bpc) || !string.IsNullOrEmpty(result.tinb) + || result.tob == 1 || result.tob == 2 || result.tob == 3 || result.tob == 4 ? null : result.bpc, //کد شعبه خریدار Bbc = level == 10 || string.IsNullOrEmpty(result.bbc) ? null : result.bbc, //نوع پرواز