chore: bump version to 1.5.08
This commit is contained in:
parent
1fc1622f43
commit
976ac6be20
5 changed files with 53 additions and 40 deletions
|
|
@ -6,7 +6,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "com.example.gemi_invoice"
|
namespace = "com.example.h_1"
|
||||||
compileSdk = flutter.compileSdkVersion
|
compileSdk = flutter.compileSdkVersion
|
||||||
ndkVersion = flutter.ndkVersion
|
ndkVersion = flutter.ndkVersion
|
||||||
|
|
||||||
|
|
@ -21,7 +21,7 @@ android {
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||||
applicationId = "com.example.gemi_invoice"
|
applicationId = "com.example.h_1"
|
||||||
// You can update the following values to match your application needs.
|
// You can update the following values to match your application needs.
|
||||||
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
||||||
minSdk = flutter.minSdkVersion
|
minSdk = flutter.minSdkVersion
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<manifest
|
<manifest
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.example.gemi_invoice"
|
package="com.example.h_1"
|
||||||
>
|
>
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
</queries>
|
</queries>
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:label="gemi_invoice"
|
android:label="h-1"
|
||||||
android:name="${applicationName}"
|
android:name="${applicationName}"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package com.example.gemi_invoice
|
package com.example.h_1
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
|
||||||
|
|
@ -10,6 +10,7 @@ import '../widgets/invoice_pdf_preview_page.dart';
|
||||||
import 'invoice_detail_page.dart';
|
import 'invoice_detail_page.dart';
|
||||||
import '../services/gps_service.dart';
|
import '../services/gps_service.dart';
|
||||||
import 'customer_picker_modal.dart';
|
import 'customer_picker_modal.dart';
|
||||||
|
import 'customer_master_screen.dart';
|
||||||
import 'product_picker_modal.dart';
|
import 'product_picker_modal.dart';
|
||||||
import '../models/company_model.dart';
|
import '../models/company_model.dart';
|
||||||
import '../services/company_repository.dart';
|
import '../services/company_repository.dart';
|
||||||
|
|
@ -30,6 +31,7 @@ class InvoiceInputForm extends StatefulWidget {
|
||||||
|
|
||||||
class _InvoiceInputFormState extends State<InvoiceInputForm> {
|
class _InvoiceInputFormState extends State<InvoiceInputForm> {
|
||||||
final _repository = InvoiceRepository();
|
final _repository = InvoiceRepository();
|
||||||
|
final InvoiceRepository _invoiceRepo = InvoiceRepository();
|
||||||
Customer? _selectedCustomer;
|
Customer? _selectedCustomer;
|
||||||
final List<InvoiceItem> _items = [];
|
final List<InvoiceItem> _items = [];
|
||||||
double _taxRate = 0.10;
|
double _taxRate = 0.10;
|
||||||
|
|
@ -214,20 +216,30 @@ class _InvoiceInputFormState extends State<InvoiceInputForm> {
|
||||||
final fmt = NumberFormat("#,###");
|
final fmt = NumberFormat("#,###");
|
||||||
final themeColor = Colors.white;
|
final themeColor = Colors.white;
|
||||||
final textColor = Colors.black87;
|
final textColor = Colors.black87;
|
||||||
|
final bottomInset = MediaQuery.of(context).viewInsets.bottom;
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: themeColor,
|
backgroundColor: themeColor,
|
||||||
|
resizeToAvoidBottomInset: true,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
leading: const BackButton(),
|
leading: const BackButton(),
|
||||||
title: const Text("販売アシスト1号 V1.5.06"),
|
title: const Text("販売アシスト1号 V1.5.08"),
|
||||||
),
|
),
|
||||||
body: Stack(
|
body: Stack(
|
||||||
children: [
|
children: [
|
||||||
Column(
|
AnimatedPadding(
|
||||||
|
duration: const Duration(milliseconds: 200),
|
||||||
|
padding: EdgeInsets.only(bottom: bottomInset),
|
||||||
|
child: InteractiveViewer(
|
||||||
|
panEnabled: false,
|
||||||
|
minScale: 0.8,
|
||||||
|
maxScale: 2.5,
|
||||||
|
clipBehavior: Clip.none,
|
||||||
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
padding: const EdgeInsets.all(16.0),
|
padding: EdgeInsets.fromLTRB(16, 16, 16, 140 + bottomInset),
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
|
|
@ -249,6 +261,8 @@ class _InvoiceInputFormState extends State<InvoiceInputForm> {
|
||||||
_buildBottomActionBar(),
|
_buildBottomActionBar(),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
if (_isSaving)
|
if (_isSaving)
|
||||||
Container(
|
Container(
|
||||||
color: Colors.black54,
|
color: Colors.black54,
|
||||||
|
|
@ -314,17 +328,16 @@ class _InvoiceInputFormState extends State<InvoiceInputForm> {
|
||||||
subtitle: const Text("顧客マスターから選択"), // 修正
|
subtitle: const Text("顧客マスターから選択"), // 修正
|
||||||
trailing: const Icon(Icons.chevron_right),
|
trailing: const Icon(Icons.chevron_right),
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
await showModalBottomSheet(
|
final Customer? picked = await Navigator.push(
|
||||||
context: context,
|
context,
|
||||||
isScrollControlled: true,
|
MaterialPageRoute(
|
||||||
builder: (context) => FractionallySizedBox(
|
builder: (_) => CustomerMasterScreen(selectionMode: true),
|
||||||
heightFactor: 0.9,
|
fullscreenDialog: true,
|
||||||
child: CustomerPickerModal(onCustomerSelected: (c) {
|
|
||||||
setState(() => _selectedCustomer = c);
|
|
||||||
Navigator.pop(context);
|
|
||||||
}),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
if (picked != null) {
|
||||||
|
setState(() => _selectedCustomer = picked);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
name: gemi_invoice
|
name: h_1
|
||||||
description: "A new Flutter project."
|
description: "A new Flutter project."
|
||||||
# The following line prevents the package from being accidentally published to
|
# The following line prevents the package from being accidentally published to
|
||||||
# pub.dev using `flutter pub publish`. This is preferred for private packages.
|
# pub.dev using `flutter pub publish`. This is preferred for private packages.
|
||||||
|
|
@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 1.5.07+152
|
version: 1.5.08+153
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.10.7
|
sdk: ^3.10.7
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue