Fixes for pro/trial plan
This commit is contained in:
parent
5553bb1585
commit
b08f661a55
|
|
@ -270,7 +270,7 @@ class _InvoiceEmailViewState extends State<InvoiceEmailView>
|
|||
],
|
||||
),
|
||||
),
|
||||
if (state.isProPlan || state.isTrial)
|
||||
if (state.isProPlan)
|
||||
ColoredBox(
|
||||
color: Theme.of(context).canvasColor,
|
||||
child: Padding(
|
||||
|
|
|
|||
|
|
@ -678,7 +678,7 @@ class _MenuDrawerState extends State<MenuDrawer> {
|
|||
icon: getEntityIcon(EntityType.transaction),
|
||||
title: localization.transactions,
|
||||
),
|
||||
if ((state.isProPlan || state.isTrial) &&
|
||||
if (state.isProPlan &&
|
||||
state.userCompany.canViewReports)
|
||||
DrawerTile(
|
||||
company: company,
|
||||
|
|
|
|||
|
|
@ -517,7 +517,7 @@ class _AccountOverview extends StatelessWidget {
|
|||
child: ListDivider(),
|
||||
),
|
||||
],
|
||||
if (state.isProPlan || state.isTrial)
|
||||
if (state.isProPlan)
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Row(children: [
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
|||
FormCard(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: <Widget>[
|
||||
if (state.isProPlan || state.isTrial) ...[
|
||||
if (state.isProPlan) ...[
|
||||
if (company.isModuleEnabled(EntityType.invoice)) ...[
|
||||
DesignPicker(
|
||||
label: localization.invoiceDesign,
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@ class _TemplatesAndRemindersState extends State<TemplatesAndReminders>
|
|||
final settings = viewModel.settings;
|
||||
final template = widget.viewModel.selectedTemplate;
|
||||
final company = state.company;
|
||||
final enableCustomEmail = state.isProPlan || state.isTrial;
|
||||
final enableCustomEmail = state.isProPlan;
|
||||
|
||||
return EditScaffold(
|
||||
title: localization.templatesAndReminders,
|
||||
|
|
|
|||
Loading…
Reference in New Issue