Don't show delivery note option when emailing
This commit is contained in:
parent
6f743974ce
commit
59095a1c9d
|
|
@ -262,18 +262,19 @@ class _InvoicePdfViewState extends State<InvoicePdfView> {
|
||||||
: null,
|
: null,
|
||||||
body: Column(
|
body: Column(
|
||||||
children: [
|
children: [
|
||||||
Material(
|
if (widget.showAppBar)
|
||||||
child: Padding(
|
Material(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 8),
|
child: Padding(
|
||||||
child: Row(
|
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||||
children: [
|
child: Row(
|
||||||
if (supportsDesignTemplates()) designPicker,
|
children: [
|
||||||
activityPicker,
|
if (supportsDesignTemplates()) designPicker,
|
||||||
if (invoice.isInvoice && _activityId == null) deliveryNote,
|
activityPicker,
|
||||||
],
|
if (invoice.isInvoice && _activityId == null) deliveryNote,
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
Expanded(
|
Expanded(
|
||||||
child: _isLoading || _response == null
|
child: _isLoading || _response == null
|
||||||
? LoadingIndicator()
|
? LoadingIndicator()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue