* Further improvements of Warehouse view
* Fixed issue with not saving Products updates
This commit is contained in:
@@ -21,6 +21,14 @@ public class WarehouseService(IHttpClientFactory httpClientFactory)
|
||||
return await response.Content.ReadFromJsonAsync<IEnumerable<MaterialTransactionDto>>();
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<WzHeaderDto>> GetAllClientWzHeadersAsync(string customerNumber, int customerSequence)
|
||||
{
|
||||
var response = await _httpClient.GetAsync(
|
||||
$"api/WzHeader/all-wz-headers?customerNumber={customerNumber}&customerSequence={customerSequence}");
|
||||
response.EnsureSuccessStatusCode();
|
||||
return await response.Content.ReadFromJsonAsync<IEnumerable<WzHeaderDto>>();
|
||||
}
|
||||
|
||||
public async Task CreateWzHeaderAsync(WzHeaderDto wzHeader)
|
||||
{
|
||||
var response = await _httpClient.PostAsJsonAsync("api/WzHeader", wzHeader);
|
||||
|
||||
Reference in New Issue
Block a user