def revokeOffer(request): offer_id = int(request.POST['offer_id']) comment_content = request.POST['comment'] offer = issue_services.revoke_existing_offer(offer_id, comment_content, request.user) return redirect(offer.issue.get_view_link())
def revokeOffer(request): offer_id = int(request.POST['offer_id']) comment_content = request.POST['comment'] offer, comment = issue_services.revoke_existing_offer( offer_id, comment_content, request.user) ActionLog.log_revoke(offer=offer, user=request.user, issue_comment=comment) return redirect(offer.issue.get_view_link())
def revokeOffer(request): offer_id = int(request.POST["offer_id"]) comment_content = request.POST["comment"] offer, comment = issue_services.revoke_existing_offer(offer_id, comment_content, request.user) ActionLog.log_revoke(offer=offer, user=request.user, issue_comment=comment) return redirect(offer.issue.get_view_link())