forked from expo/troggle
samedate for all wallets on wallet edit form
This commit is contained in:
@@ -845,6 +845,7 @@ def walletedit(request, path=None):
|
||||
if samedate:
|
||||
svxothers = SurvexFile.objects.filter(survexblock__date=samedate).distinct()
|
||||
trips = LogbookEntry.objects.filter(date=samedate)
|
||||
wallets = Wallet.objects.filter(walletdate=samedate)
|
||||
else:
|
||||
svxothers = None
|
||||
trips = None
|
||||
@@ -887,6 +888,7 @@ def walletedit(request, path=None):
|
||||
"checked": checked,
|
||||
"trips": trips,
|
||||
"manywallets": [thiswallet],
|
||||
"wallets": wallets,
|
||||
"svxothers": svxothers,
|
||||
"create": create,
|
||||
"metadataurl": metadataurl,
|
||||
|
||||
Reference in New Issue
Block a user