Merge branch 'develop'

This commit is contained in:
Hillel Coren 2024-01-23 15:44:27 +02:00
commit b6da033a43
9 changed files with 44 additions and 34 deletions

View File

@ -86,7 +86,7 @@ jobs:
draft: false draft: false
prerelease: false prerelease: false
title: "Latest Release" title: "Latest Release"
automatic_release_tag: "v5.0.150" automatic_release_tag: "v5.0.151"
files: | files: |
${{ github.workspace }}/artifacts/Invoice-Ninja-Archive ${{ github.workspace }}/artifacts/Invoice-Ninja-Archive
${{ github.workspace }}/artifacts/Invoice-Ninja-Hash ${{ github.workspace }}/artifacts/Invoice-Ninja-Hash

View File

@ -50,6 +50,7 @@
</screenshots> </screenshots>
<content_rating type="oars-1.1"/> <content_rating type="oars-1.1"/>
<releases> <releases>
<release version="5.0.151" date="2024-01-23"/>
<release version="5.0.150" date="2024-01-18"/> <release version="5.0.150" date="2024-01-18"/>
<release version="5.0.149" date="2024-01-12"/> <release version="5.0.149" date="2024-01-12"/>
<release version="5.0.148" date="2024-01-08"/> <release version="5.0.148" date="2024-01-08"/>

View File

@ -6,7 +6,7 @@ class Constants {
} }
// TODO remove version once #46609 is fixed // TODO remove version once #46609 is fixed
const String kClientVersion = '5.0.150'; const String kClientVersion = '5.0.151';
const String kMinServerVersion = '5.0.4'; const String kMinServerVersion = '5.0.4';
const String kAppName = 'Invoice Ninja'; const String kAppName = 'Invoice Ninja';

View File

@ -385,6 +385,7 @@ class ReportsScreen extends StatelessWidget {
viewModel.onExportPressed(context); viewModel.onExportPressed(context);
}, },
), ),
if (supportsLatestFeatures('5.8.0'))
AppTextButton( AppTextButton(
label: localization.schedule, label: localization.schedule,
isInHeader: true, isInHeader: true,
@ -545,6 +546,7 @@ class ReportsScreen extends StatelessWidget {
}, },
), ),
), ),
if (supportsLatestFeatures('5.8.0')) ...[
SizedBox(width: kGutterWidth), SizedBox(width: kGutterWidth),
Expanded( Expanded(
child: AppButton( child: AppButton(
@ -555,6 +557,7 @@ class ReportsScreen extends StatelessWidget {
), ),
), ),
], ],
],
), ),
), ),
ReportDataTable( ReportDataTable(

View File

@ -19,6 +19,7 @@ import 'package:invoiceninja_flutter/ui/schedule/edit/schedule_edit_vm.dart';
import 'package:invoiceninja_flutter/utils/localization.dart'; import 'package:invoiceninja_flutter/utils/localization.dart';
import 'package:invoiceninja_flutter/utils/completers.dart'; import 'package:invoiceninja_flutter/utils/completers.dart';
import 'package:invoiceninja_flutter/ui/app/scrollable_listview.dart'; import 'package:invoiceninja_flutter/ui/app/scrollable_listview.dart';
import 'package:invoiceninja_flutter/utils/platforms.dart';
import 'package:invoiceninja_flutter/utils/strings.dart'; import 'package:invoiceninja_flutter/utils/strings.dart';
class ScheduleEdit extends StatefulWidget { class ScheduleEdit extends StatefulWidget {
@ -163,6 +164,9 @@ class _ScheduleEditState extends State<ScheduleEdit> {
); );
}, },
items: ScheduleEntity.TEMPLATES items: ScheduleEntity.TEMPLATES
.where((entry) =>
supportsLatestFeatures('5.8.0') ||
entry != ScheduleEntity.TEMPLATE_EMAIL_REPORT)
.map((entry) => DropdownMenuItem( .map((entry) => DropdownMenuItem(
value: entry, value: entry,
child: Text(localization.lookup(entry)), child: Text(localization.lookup(entry)),

View File

@ -356,6 +356,7 @@ class _ImportExportState extends State<ImportExport> {
}, },
), ),
), ),
if (supportsLatestFeatures('5.8.0')) ...[
SizedBox(width: kGutterWidth), SizedBox(width: kGutterWidth),
Expanded( Expanded(
child: AppButton( child: AppButton(
@ -371,6 +372,7 @@ class _ImportExportState extends State<ImportExport> {
}, },
)) ))
], ],
],
) )
], ],
], ],

View File

@ -1,6 +1,6 @@
name: invoiceninja_flutter name: invoiceninja_flutter
description: Client for Invoice Ninja description: Client for Invoice Ninja
version: 5.0.150+150 version: 5.0.151+151
homepage: https://invoiceninja.com homepage: https://invoiceninja.com
documentation: https://invoiceninja.github.io documentation: https://invoiceninja.github.io
publish_to: none publish_to: none

View File

@ -1,6 +1,6 @@
name: invoiceninja_flutter name: invoiceninja_flutter
description: Client for Invoice Ninja description: Client for Invoice Ninja
version: 5.0.150+150 version: 5.0.151+151
homepage: https://invoiceninja.com homepage: https://invoiceninja.com
documentation: https://invoiceninja.github.io documentation: https://invoiceninja.github.io
publish_to: none publish_to: none

View File

@ -1,5 +1,5 @@
name: invoiceninja name: invoiceninja
version: '5.0.150' version: '5.0.151'
summary: Create invoices, accept payments, track expenses & time tasks summary: Create invoices, accept payments, track expenses & time tasks
description: "### Note: if the app fails to run using `snap run invoiceninja` it may help to run `/snap/invoiceninja/current/bin/invoiceninja` instead description: "### Note: if the app fails to run using `snap run invoiceninja` it may help to run `/snap/invoiceninja/current/bin/invoiceninja` instead