|
@@ -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(),
|