Skip adding attachments on receipts

This commit is contained in:
M66B 2019-07-21 11:56:59 +02:00
parent 3d5d994852
commit bad6f79ff7
1 changed files with 1 additions and 1 deletions

View File

@ -2196,7 +2196,7 @@ public class FragmentCompose extends FragmentBase {
if (uris != null)
for (Uri uri : uris)
addAttachment(context, draft.id, uri, false);
} else {
} else if (!"receipt".equals(action)) {
int sequence = 0;
List<EntityAttachment> attachments = db.attachment().getAttachments(ref.id);
for (EntityAttachment attachment : attachments)