|
|
@@ -4,7 +4,8 @@ from oscar.core.loading import import_module
|
|
4
|
4
|
models = import_module('payment.models', ['Source', 'Transaction', 'SourceType'])
|
|
5
|
5
|
|
|
6
|
6
|
class SourceAdmin(admin.ModelAdmin):
|
|
7
|
|
- list_display = ('order', 'type', 'amount_allocated', 'amount_debited', 'balance', 'reference')
|
|
|
7
|
+ list_display = ('order', 'source_type', 'amount_allocated', 'amount_debited', 'balance', 'reference')
|
|
|
8
|
+
|
|
8
|
9
|
|
|
9
|
10
|
admin.site.register(models.Source, SourceAdmin)
|
|
10
|
11
|
admin.site.register(models.SourceType)
|