소스 검색

Stock Journal

Atul 2 년 전
부모
커밋
03dae39b70
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      Efacto.API/Controllers/SAController.cs

+ 3 - 3
Efacto.API/Controllers/SAController.cs

@@ -293,12 +293,12 @@ namespace Efacto.API.Controllers
         }
         [HttpGet]
         [Route("BindDropDown")]
-        public async Task<IActionResult> BindDropDown(string Search, string type, long? EmpId, long BtpId = 35)
+        public async Task<IActionResult> BindDropDown(string BtpCode = "SJ")
         {
             return Ok(new
             {
-                VoucherTypeList = await _vouchertypeService.GetVouchertypeList(BtpId),
-                VendorList = await _acmService.GetVendorList(Search, type, EmpId),
+                VoucherTypeList = await _vouchertypeService.GetVouchertypeListByBtpCode(BtpCode),
+                //VendorList = await _acmService.GetVendorList(Search, type, EmpId),
                 UnitList = await _unitService.GetUnitList(),
                 GstList = await _gstService.GetGstList(),
                 WarehouseList = await _warehouseService.GetWarehouseList(),