|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
from django.contrib.auth.mixins import LoginRequiredMixin
|
|
|
|
|
from django.http import HttpResponse
|
|
|
|
|
from django.urls import reverse
|
|
|
|
|
from mixins.views import ObjectList, ObjectUpdate
|
|
|
|
|
from mixins.views import ObjectDelete, ObjectList, ObjectUpdate
|
|
|
|
|
from rest_framework import status
|
|
|
|
|
from two_factor.views.mixins import OTPRequiredMixin
|
|
|
|
|
|
|
|
|
@ -45,6 +45,10 @@ class BanksRequisitionUpdate(LoginRequiredMixin, OTPRequiredMixin, ObjectUpdate)
|
|
|
|
|
return req
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class BanksRequisitionDelete(LoginRequiredMixin, OTPRequiredMixin, ObjectDelete):
|
|
|
|
|
model = Requisition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class BanksCurrencies(LoginRequiredMixin, OTPRequiredMixin, ObjectList):
|
|
|
|
|
"""
|
|
|
|
|
Get a list of bank accounts with their details.
|
|
|
|
|