|
|
|
@ -286,7 +286,7 @@ class ClientesBoletosView(LoginRequiredMixin, PermissionRequiredMixin, DetailVie |
|
|
|
post_data = request.POST.copy() |
|
|
|
|
|
|
|
if post_data['boleto'] != '': |
|
|
|
if post_data['delete'] != 'S': |
|
|
|
if post_data.get('delete', '') == '': |
|
|
|
boleto = Boleto.objects.get(pk=post_data['boleto']) |
|
|
|
boleto.numero_boleto = post_data['numero_boleto'] |
|
|
|
boleto.data_vencimento = datetime.strptime( |
|
|
|
|