This commit is contained in:
mmrbnjd
2024-10-20 16:46:27 +03:30
parent 42a5e76cde
commit 847b92e56f
4 changed files with 44 additions and 19 deletions

View File

@@ -214,11 +214,12 @@ namespace Back.Controllers
//شماره اقتصادی فروشنده به جاش شناسه ملی داده شد
Tins = string.IsNullOrEmpty(result.tins) ? null : result.tins,
//نوع شخص خریدار
Tob = level == 10 ? null : result.tob,
Tob = level == 10 ? null : result.tob==5 ? 1 : result.tob==6 ? 4 : result.tob,
//شماره/شناسه ملی/شناسه مشارکت مدنی / کد فراگیر
Bid = level == 10 || string.IsNullOrEmpty(result.bid) ? null : result.bid,
Bid = level == 10 || string.IsNullOrEmpty(result.bid) || !string.IsNullOrEmpty(result.tinb)
|| result.tob == 1 || result.tob == 2 || result.tob == 3 || result.tob == 4 ? null : result.bid,
//شماره اقتصادی خریدار
Tinb = level == 10 || string.IsNullOrEmpty(result.tinb) ? null : result.tinb,
Tinb = level == 10 || string.IsNullOrEmpty(result.tinb) || result.tob == 5 || result.tob == 6 ? null : result.tinb,
//کد شعبه فروشنده
Sbc = string.IsNullOrEmpty(result.sbc) ? null : result.sbc,
//کد پستی خریدار