feat: implementing form to reconciliation jar.
This commit is contained in:
		| @@ -28,6 +28,3 @@ | |||||||
|     <h2>No hay pagos registrados.</h2> |     <h2>No hay pagos registrados.</h2> | ||||||
| </div> | </div> | ||||||
| {% endif %} | {% endif %} | ||||||
|      |  | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
| @@ -51,7 +51,6 @@ class TestBilling(TestCase): | |||||||
|         reconciliation_jar.save() |         reconciliation_jar.save() | ||||||
|  |  | ||||||
|         reconciliation_jar.add_payments(jar_summary.payments) |         reconciliation_jar.add_payments(jar_summary.payments) | ||||||
|  |  | ||||||
|         with self.assertRaises(ValidationError): |         with self.assertRaises(ValidationError): | ||||||
|             reconciliation_jar.clean() |             reconciliation_jar.clean() | ||||||
|  |  | ||||||
|   | |||||||
| @@ -31,6 +31,7 @@ class TestReconciliationJarClient(TestCase): | |||||||
|         ) |         ) | ||||||
|         self.assertRedirects(response, '/don_confiao/cuadres') |         self.assertRedirects(response, '/don_confiao/cuadres') | ||||||
|  |  | ||||||
|  |  | ||||||
|     def _generate_two_cash_payments(self): |     def _generate_two_cash_payments(self): | ||||||
|         cash_payment1 = Payment() |         cash_payment1 = Payment() | ||||||
|         cash_payment1.date_time = '2024-07-07 12:00:00' |         cash_payment1.date_time = '2024-07-07 12:00:00' | ||||||
|   | |||||||
| @@ -95,11 +95,9 @@ def reconciliate_jar(request): | |||||||
|         {'summary': summary, 'form': form} |         {'summary': summary, 'form': form} | ||||||
|     ) |     ) | ||||||
|  |  | ||||||
|  |  | ||||||
| def reconciliations(request): | def reconciliations(request): | ||||||
|     return HttpResponse('<h1>Reconciliaciones</h1>') |     return HttpResponse('<h1>Reconciliaciones</h1>') | ||||||
|  |  | ||||||
|  |  | ||||||
| def _categories_from_csv_string(categories_string, separator="&"): | def _categories_from_csv_string(categories_string, separator="&"): | ||||||
|     categories = categories_string.split(separator) |     categories = categories_string.split(separator) | ||||||
|     clean_categories = [c.strip() for c in categories] |     clean_categories = [c.strip() for c in categories] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user