From 0aaccebccf9eda1f95cc56cc46462aaf97b5161d Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Fri, 3 Feb 2023 10:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=BB=E7=BA=BF=E6=94=AF=E4=BB=98=E6=8F=92?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/OfflinePay/Lang/en/common.php | 14 ++++++++++++ plugins/OfflinePay/Lang/zh_cn/common.php | 14 ++++++++++++ plugins/OfflinePay/Static/image/logo.png | Bin 0 -> 3926 bytes .../Views/checkout/payment.blade.php | 18 +++++++++++++++ plugins/OfflinePay/columns.php | 21 ++++++++++++++++++ plugins/OfflinePay/config.json | 12 ++++++++++ 6 files changed, 79 insertions(+) create mode 100644 plugins/OfflinePay/Lang/en/common.php create mode 100644 plugins/OfflinePay/Lang/zh_cn/common.php create mode 100644 plugins/OfflinePay/Static/image/logo.png create mode 100644 plugins/OfflinePay/Views/checkout/payment.blade.php create mode 100644 plugins/OfflinePay/columns.php create mode 100644 plugins/OfflinePay/config.json diff --git a/plugins/OfflinePay/Lang/en/common.php b/plugins/OfflinePay/Lang/en/common.php new file mode 100644 index 00000000..ff5894a3 --- /dev/null +++ b/plugins/OfflinePay/Lang/en/common.php @@ -0,0 +1,14 @@ + + * @created 2022-12-27 16:19:06 + * @modified 2022-12-27 16:19:06 + */ + +return [ + 'comment' => 'Description of Offline Pay', +]; diff --git a/plugins/OfflinePay/Lang/zh_cn/common.php b/plugins/OfflinePay/Lang/zh_cn/common.php new file mode 100644 index 00000000..37a0a9fa --- /dev/null +++ b/plugins/OfflinePay/Lang/zh_cn/common.php @@ -0,0 +1,14 @@ + + * @created 2022-12-27 16:19:06 + * @modified 2022-12-27 16:19:06 + */ + +return [ + 'comment' => '转账说明', +]; diff --git a/plugins/OfflinePay/Static/image/logo.png b/plugins/OfflinePay/Static/image/logo.png new file mode 100644 index 0000000000000000000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P$wIlr2`n@^FXV1Z*+RCx`V;@IEaz4c-{C)W~w@tWDwl-4E z$y^L-7&iR-bZ2YRL+-L(-vK8}2`xt)cmr2ne)Y=6yG@@DUHm&M{goI9xZYu0PWR_8 zoZ-N%>HR+bA0$FNXCCF2lcRqhUz1UZY-ntF3a$y5C?m=t{42vEWUJEF6Mm9asVv%W z;AavRHqZ~I4wP^ViDn)Y}qMjQNx5asos`=;Vlo*J6{xi&pCC6=)(~X;G*zumtptP1F^D1X@l%I+Tzl-^YJUUSQbjfW zcpU=IOHWPwDa3||x1-Tf?UetOuE-Aa}jEht< zPVeP337WpW?8czMoD&*+!c#7_BKR5i`rP}6Mn +
+
{!! plugin_setting("offline_pay.comment")!!}
+
+
+ +
+
+
+ + + diff --git a/plugins/OfflinePay/columns.php b/plugins/OfflinePay/columns.php new file mode 100644 index 00000000..ae4ccd84 --- /dev/null +++ b/plugins/OfflinePay/columns.php @@ -0,0 +1,21 @@ + + * @created 2022-12-20 21:16:23 + * @modified 2022-12-20 21:16:23 + */ + +return [ + [ + 'name' => 'comment', + 'label_key' => 'common.comment', + 'type' => 'rich-text', + 'required' => true, + 'rules' => 'required', + 'description' => 'Description to payer', + ], +]; diff --git a/plugins/OfflinePay/config.json b/plugins/OfflinePay/config.json new file mode 100644 index 00000000..a7a269dd --- /dev/null +++ b/plugins/OfflinePay/config.json @@ -0,0 +1,12 @@ +{ + "code": "offline_pay", + "name": "线下支付", + "description": "线下支付", + "type": "payment", + "version": "v1.0.0", + "icon": "/image/logo.png", + "author": { + "name": "成都光大网络科技有限公司", + "email": "mengwb@guangda.work" + } +}