chore: bump version to 1.5.08

This commit is contained in:
joe 2026-02-26 12:48:00 +09:00
parent 1fc1622f43
commit 976ac6be20
5 changed files with 53 additions and 40 deletions

View file

@ -6,7 +6,7 @@ plugins {
}
android {
namespace = "com.example.gemi_invoice"
namespace = "com.example.h_1"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
@ -21,7 +21,7 @@ android {
defaultConfig {
// 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.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion

View file

@ -1,6 +1,6 @@
<manifest
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" />
@ -31,7 +31,7 @@
</queries>
<application
android:label="gemi_invoice"
android:label="h-1"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
>

View file

@ -1,4 +1,4 @@
package com.example.gemi_invoice
package com.example.h_1
import io.flutter.embedding.android.FlutterActivity

View file

@ -10,6 +10,7 @@ import '../widgets/invoice_pdf_preview_page.dart';
import 'invoice_detail_page.dart';
import '../services/gps_service.dart';
import 'customer_picker_modal.dart';
import 'customer_master_screen.dart';
import 'product_picker_modal.dart';
import '../models/company_model.dart';
import '../services/company_repository.dart';
@ -30,6 +31,7 @@ class InvoiceInputForm extends StatefulWidget {
class _InvoiceInputFormState extends State<InvoiceInputForm> {
final _repository = InvoiceRepository();
final InvoiceRepository _invoiceRepo = InvoiceRepository();
Customer? _selectedCustomer;
final List<InvoiceItem> _items = [];
double _taxRate = 0.10;
@ -214,20 +216,30 @@ class _InvoiceInputFormState extends State<InvoiceInputForm> {
final fmt = NumberFormat("#,###");
final themeColor = Colors.white;
final textColor = Colors.black87;
final bottomInset = MediaQuery.of(context).viewInsets.bottom;
return Scaffold(
backgroundColor: themeColor,
resizeToAvoidBottomInset: true,
appBar: AppBar(
leading: const BackButton(),
title: const Text("販売アシスト1号 V1.5.06"),
title: const Text("販売アシスト1号 V1.5.08"),
),
body: Stack(
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: [
Expanded(
child: SingleChildScrollView(
padding: const EdgeInsets.all(16.0),
padding: EdgeInsets.fromLTRB(16, 16, 16, 140 + bottomInset),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@ -249,6 +261,8 @@ class _InvoiceInputFormState extends State<InvoiceInputForm> {
_buildBottomActionBar(),
],
),
),
),
if (_isSaving)
Container(
color: Colors.black54,
@ -314,17 +328,16 @@ class _InvoiceInputFormState extends State<InvoiceInputForm> {
subtitle: const Text("顧客マスターから選択"), //
trailing: const Icon(Icons.chevron_right),
onTap: () async {
await showModalBottomSheet(
context: context,
isScrollControlled: true,
builder: (context) => FractionallySizedBox(
heightFactor: 0.9,
child: CustomerPickerModal(onCustomerSelected: (c) {
setState(() => _selectedCustomer = c);
Navigator.pop(context);
}),
final Customer? picked = await Navigator.push(
context,
MaterialPageRoute(
builder: (_) => CustomerMasterScreen(selectionMode: true),
fullscreenDialog: true,
),
);
if (picked != null) {
setState(() => _selectedCustomer = picked);
}
},
),
);

View file

@ -1,4 +1,4 @@
name: gemi_invoice
name: h_1
description: "A new Flutter project."
# The following line prevents the package from being accidentally published to
# 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
# 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.
version: 1.5.07+152
version: 1.5.08+153
environment:
sdk: ^3.10.7