Compare commits
No commits in common. "814321996bc54704a4f8f40b9f4425e8cce06ff8" and "ba49b79cc6b8786183e05eb15f57cd1c981533ed" have entirely different histories.
814321996b
...
ba49b79cc6
@ -507,21 +507,9 @@ namespace BankClientApp.Controllers
|
||||
{
|
||||
return Redirect("~/Home/Enter");
|
||||
}
|
||||
ViewBag.Cards = APIClient.GetRequest<List<CardViewModel>>($"api/card/getcardlist?clientid={APIClient.Client.Id}");
|
||||
ViewBag.Cards = new List<CardViewModel>();
|
||||
return View();
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public void TransferListReport(List<int> cards, bool word, bool excel)
|
||||
{
|
||||
if (APIClient.Client == null)
|
||||
{
|
||||
throw new Exception("Вы как суда попали? Суда вход только авторизованным");
|
||||
}
|
||||
APIClient.PostRequest<ReportBindingModel>($"api/report/savetransferword", new ReportBindingModel{
|
||||
|
||||
});
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region//ошибки
|
||||
|
@ -18,13 +18,10 @@
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
<asp:RadioButton id="word" name="word" runat="server" GroupName="format">Получать в формате Word</asp:RadioButton>
|
||||
<asp:RadioButton id="excel" name="excel" runat="server" GroupName="format">Получать в формате Word</asp:RadioButton>
|
||||
<input id="word" type="radio" name=" word" value="Получать в формате Word" GroupName="format"/>
|
||||
<input id="word" type="radio" name=" word" value="Получать в формате Word" GroupName="format" />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-9"></div>
|
||||
<div class="col-1"><input type="submit" value="Получить список" class="btn btn-primary" /></div>
|
||||
<div class="col-1"><input type="submit" value="Word" class="btn btn-primary" /></div>
|
||||
<div class="col-1"><input type="submit" value="Excel" class="btn btn-primary" /></div>
|
||||
</div>
|
||||
</form>
|
Loading…
Reference in New Issue
Block a user