Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
5a21116
Remove kata-kana input name
toannguyen-lockon Jan 7, 2019
31f7342
Remove kata-kana input name
toannguyen-lockon Jan 7, 2019
7dc9a12
Fix install vi lang
lqdung-lockon Jan 8, 2019
0390eb0
Merge pull request #1 from eccubevn/vn-install-vi
toannguyen-lockon Jan 8, 2019
e5e6026
Merge branch 'master' of https://github.com/eccubevn/ec-cube-vn into …
toannguyen-lockon Jan 8, 2019
14666c8
Merge pull request #2 from eccubevn/4.0-remove-kata-kana-form
toannguyen-lockon Jan 8, 2019
ad53d2a
Merge branch 'master' of https://github.com/eccubevn/ec-cube-vn into …
toannguyen-lockon Jan 8, 2019
f8b7560
Merge pull request #3 from eccubevn/4.0-remove-kata-kana-form
toannguyen-lockon Jan 8, 2019
534bdfd
Fix fixtures load
lqdung-lockon Jan 8, 2019
698847b
Merge pull request #4 from eccubevn/vn-fixtures-load
lqdung-lockon Jan 8, 2019
c7bbc05
- Replace yubinbango by js which allow fill pref + address of VN
ndquocphong Jan 8, 2019
6d6ca10
Trans msg.
toannguyen-lockon Jan 8, 2019
94c1371
Merge pull request #6 from eccubevn/translate-to-vn
toannguyen-lockon Jan 9, 2019
4ef0a0f
- Remove validate postal code
ndquocphong Jan 9, 2019
1162fd1
Remove whitespace validate when entering names on English and Vietna…
toannguyen-lockon Jan 9, 2019
c4bcd0e
done frontend
hoand-vn Jan 9, 2019
62b4eab
Merge pull request #7 from eccubevn/translate_twig_files
hoand-vn Jan 9, 2019
7012290
Change datetime format to vn.
toannguyen-lockon Jan 10, 2019
90fa114
Move message key to app template path.
toannguyen-lockon Jan 10, 2019
4d03cb4
Merge pull request #8 from eccubevn/move-msg-to-app-template-path
toannguyen-lockon Jan 10, 2019
0bf7054
Merge branch 'master' of https://github.com/eccubevn/ec-cube-vn into …
toannguyen-lockon Jan 10, 2019
b9139f1
- Replace hard code currency by local currency
ndquocphong Jan 10, 2019
1a0a723
Merge pull request #9 from eccubevn/vn-currency
ndquocphong Jan 10, 2019
4604e9e
Merge pull request #5 from eccubevn/vn-postalcode
ndquocphong Jan 10, 2019
64dc328
Merge pull request #10 from eccubevn/change-validate-name-input-all-form
toannguyen-lockon Jan 10, 2019
19ee80f
Merge branch 'master' of https://github.com/eccubevn/ec-cube-vn into …
toannguyen-lockon Jan 10, 2019
8deb26a
Search and change format fixed from ymd to dmy
toannguyen-lockon Jan 11, 2019
f55a40f
- Revert yubinbango default on core
ndquocphong Jan 11, 2019
cbdc397
Merge pull request #12 from eccubevn/vn-postalcode
ndquocphong Jan 11, 2019
69af2ec
Fix export csv/pdf
lqdung-lockon Jan 11, 2019
a39dd70
Revert JS datetime format
toannguyen-lockon Jan 11, 2019
a1c4863
Trans up to 731 lines
toannguyen-lockon Jan 11, 2019
078b506
Trans up to 731 lines
toannguyen-lockon Jan 14, 2019
1946039
Trans up to 120 lines
toannguyen-lockon Jan 14, 2019
b114aa6
- Fix not match pref with postal code
ndquocphong Jan 15, 2019
074b605
Merge pull request #15 from eccubevn/vn-postalcode
ndquocphong Jan 15, 2019
3d67d4b
Merge pull request #14 from eccubevn/trans-up-to-731-lines
toannguyen-lockon Jan 15, 2019
1372690
Trans up to 1503 lines
toannguyen-lockon Jan 15, 2019
069d15d
Fix import csv vi
lqdung-lockon Jan 15, 2019
fca5284
done frontend
hoand-vn Jan 15, 2019
920882c
Trans up to 1684 lines
toannguyen-lockon Jan 15, 2019
3aaeb4c
Merge pull request #11 from eccubevn/change-datetime-format-to-vn
lqdung-lockon Jan 16, 2019
05a5b28
Merge pull request #13 from eccubevn/vn-csv-output
lqdung-lockon Jan 16, 2019
6740ebd
Merge branch 'master' into trans-all-msg-file-yaml
lqdung-lockon Jan 16, 2019
bc8dc99
Merge pull request #16 from eccubevn/trans-all-msg-file-yaml
lqdung-lockon Jan 16, 2019
8d0918f
Fix install by default
lqdung-lockon Jan 16, 2019
6cb29fb
translate Admin
hoand-vn Jan 16, 2019
4ea05b8
Change message + config
lqdung-lockon Jan 16, 2019
dfa8d74
Fix conflict
lqdung-lockon Jan 16, 2019
9621d13
Fix conflict
lqdung-lockon Jan 16, 2019
5e4a2c2
Fix break font at some text using font awesome
ndquocphong Jan 16, 2019
9731cd8
Fix font
lqdung-lockon Jan 16, 2019
3c7b61b
Merge pull request #17 from eccubevn/vn-fix-break-font-awsome
ndquocphong Jan 16, 2019
15c7890
Translate email template
ndquocphong Jan 16, 2019
b9625a1
Remove comment
ndquocphong Jan 16, 2019
4615e2d
Merge pull request #18 from eccubevn/vn-translate-email-template
ndquocphong Jan 16, 2019
68a75d9
Review and fix text translated
toannguyen-lockon Jan 17, 2019
c66358a
Fix mail
lqdung-lockon Jan 17, 2019
51d905a
- Change format address
ndquocphong Jan 17, 2019
9995547
- Change function name avoid conflict
ndquocphong Jan 17, 2019
c9dee97
Merge branch 'master' into vn-fix-postal-address
ndquocphong Jan 17, 2019
fcda667
Fix message, UI
toannguyen-lockon Jan 17, 2019
3a9df64
Revert css file, css map
toannguyen-lockon Jan 17, 2019
de7f5af
Merge branch 'master' of https://github.com/eccubevn/ec-cube-vn into …
toannguyen-lockon Jan 17, 2019
ba3ebd4
Merge branch 'master' of https://github.com/eccubevn/ec-cube-vn into …
toannguyen-lockon Jan 17, 2019
286cf6e
Merge branch 'master' of https://github.com/eccubevn/ec-cube-vn into …
toannguyen-lockon Jan 17, 2019
c24c28f
Add translate msg for pt
toannguyen-lockon Jan 17, 2019
797fa0c
Fix point
lqdung-lockon Jan 17, 2019
7aa694b
Merge pull request #19 from eccubevn/vn-fix-postal-address
toannguyen-lockon Jan 18, 2019
f0fd8ed
Merge branch 'master' of https://github.com/eccubevn/ec-cube-vn into …
toannguyen-lockon Jan 18, 2019
6333693
Merge pull request #20 from eccubevn/change-msg-fix-ui
toannguyen-lockon Jan 18, 2019
32c4b16
Fix message meaning product
lqdung-lockon Jan 18, 2019
d10ad35
Merge remote-tracking branch 'eccubevn/master'
lqdung-lockon Jan 18, 2019
aaa1816
Fix message meaning order + search
lqdung-lockon Jan 18, 2019
2dd0e28
Fix missing file in pdf
lqdung-lockon Jan 18, 2019
ab9a9db
Fix shipping/error
lqdung-lockon Jan 18, 2019
27e0ba0
Fix search customer name
lqdung-lockon Jan 21, 2019
0a1255c
Fix shopping postal code link
lqdung-lockon Jan 21, 2019
03ee669
Fix some messages mean
lqdung-lockon Jan 21, 2019
7f4c018
Review and fix
toannguyen-lockon Jan 22, 2019
f60a91a
Merge branch 'master' of https://github.com/eccubevn/ec-cube-vn into …
toannguyen-lockon Jan 22, 2019
43b61f2
Fix require postal code
lqdung-lockon Jan 22, 2019
f034e47
Fix text of email content, currency product format
toannguyen-lockon Jan 22, 2019
7344a08
Fix postal code + show address
lqdung-lockon Jan 22, 2019
4a84bf0
Fix text of email content, currency product format
toannguyen-lockon Jan 22, 2019
844ae38
mrg conflict
toannguyen-lockon Jan 22, 2019
9bb2fbc
Merge pull request #21 from eccubevn/review-and-fix-about-iu-text
toannguyen-lockon Jan 22, 2019
a1c0029
Add header/footer for search postal code
lqdung-lockon Jan 22, 2019
47f0687
Merge remote-tracking branch 'eccubevn/master'
lqdung-lockon Jan 22, 2019
ad1fe94
Change user guide
toannguyen-lockon Jan 22, 2019
aa86f07
Merge remote-tracking branch 'origin/master'
toannguyen-lockon Jan 22, 2019
f4bf2f7
Update message
toannguyen-lockon Jan 30, 2019
5f62b7b
Merge pull request #22 from eccubevn/master-update-msg
toannguyen-lockon Jan 30, 2019
c19495f
Fix: change message, UI, config, etc...
toannguyen-lockon Feb 20, 2019
758bf9f
Fix: change message, UI, config, etc...
toannguyen-lockon Feb 21, 2019
fe790d4
Refactor code
toannguyen-lockon Feb 21, 2019
11e68f3
Merge pull request #23 from eccubevn/fix-tps-review
toannguyen-lockon Feb 22, 2019
8f06e18
Add form extension for shipping form
lqdung-lockon Feb 25, 2019
f2e2b59
Merge remote-tracking branch 'origin/master'
lqdung-lockon Feb 25, 2019
15fbd82
Fix name
lqdung-lockon Feb 25, 2019
5b6116c
Fix bug shipping edit
lqdung-lockon Feb 25, 2019
dabe713
Add shipping edit event
lqdung-lockon Feb 25, 2019
d4d6a8d
Fix error template shipping
lqdung-lockon Feb 25, 2019
e40f91a
Add order update status event
lqdung-lockon Feb 25, 2019
61a248e
Fix message, UI of setting, csv product price
toannguyen-lockon Feb 27, 2019
4877567
Fix message, UI of setting, csv product price
toannguyen-lockon Feb 27, 2019
394f90e
Merge pull request #24 from eccubevn/master-fix-p2
toannguyen-lockon Feb 27, 2019
da1834c
Fix datetime format
toannguyen-lockon Feb 27, 2019
a9f7ffd
Fix datetime format
toannguyen-lockon Feb 27, 2019
cb153c2
Datetime format - set config format
toannguyen-lockon Feb 28, 2019
7447b79
Datetime format - set message for VN
toannguyen-lockon Feb 28, 2019
c5942ee
Merge pull request #25 from eccubevn/master-fix-datetime-format
toannguyen-lockon Feb 28, 2019
3872d1d
fix translate order edit
lqdung-lockon Mar 4, 2019
05196c6
Merge remote-tracking branch 'origin/master'
lqdung-lockon Mar 4, 2019
3b8420b
Fix japan message
lqdung-lockon Mar 4, 2019
c723937
Fix price format
lqdung-lockon Mar 5, 2019
d389a59
Update readme
lqdung-lockon Mar 5, 2019
2f7ad4f
Update composer.json
lqdung-lockon Mar 6, 2019
2e27555
Merge branch '4.0' of https://github.com/eccubevn/ec-cube-vn
toannguyen-lockon Apr 1, 2019
8385724
Update and fix some change for VN version
toannguyen-lockon Apr 1, 2019
d41dfed
Remove code unnecessary.
toannguyen-lockon Apr 1, 2019
27f0fd1
Fix js syntax (store plugin).
toannguyen-lockon Apr 1, 2019
d408d43
Change message.
toannguyen-lockon Apr 1, 2019
348d39f
Merge pull request #27 from eccubevn/4.0.2
toannguyen-lockon Apr 2, 2019
ab0e311
Translate message for maintenance page.
toannguyen-lockon Apr 4, 2019
2d4e1f8
Composer update ext-intl version.
toannguyen-lockon Apr 5, 2019
30f965b
Issue: Convert default theme to Bootstrap 4
tantruong-groove Sep 10, 2019
c40076a
Issue: Convert default theme to Bootstrap 4
tantruong-groove Sep 11, 2019
9767946
Merge pull request #24 from tantv/master
onshopVN Sep 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
75 changes: 17 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,73 +1,32 @@
# EC-CUBE 4.0
# EC-CUBE 4.0 VI Version

[![Build Status](https://travis-ci.com/EC-CUBE/ec-cube.svg?branch=4.0)](https://travis-ci.com/EC-CUBE/ec-cube)
[![Build status](https://ci.appveyor.com/api/projects/status/lg3uh1539cwln2g6/branch/4.0?svg=true)](https://ci.appveyor.com/project/ECCUBE/ec-cube/branch/4.0)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/EC-CUBE/ec-cube/badges/quality-score.png?b=4.0)](https://scrutinizer-ci.com/g/EC-CUBE/ec-cube/?branch=4.0)
[![Coverage Status](https://coveralls.io/repos/github/EC-CUBE/ec-cube/badge.svg?branch=4.0)](https://coveralls.io/github/EC-CUBE/ec-cube?branch=4.0)
## Cách cài đặt EC-CUBE 4.0

[![Slack](http://img.shields.io/badge/slack-join%5fchat-brightgreen.svg?style=flat)](https://www.ec-cube.net/rd.php?aid=join-slack)
Vui lòng cài đặt theo quy trình về [cách cài đặt](http://docs.ec-cube.vn/?p=253) ở tài liệu phát triển.

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
## Cách chỉnh sửa / xây dựng CSS

Nó được mô tả bằng [Sass](http://sass-lang.com).
Mã nguồn Sass được đặt trong `html/template/{admin,default}/assets/scss`.
Vui lòng cài đặt [nodejs](https://nodejs.org/en/) để chạy Sass

+ 本ドキュメントはEC-CUBEの開発者を主要な対象者としております。
+ パッケージ版は正式リリース後に[EC-CUBEオフィシャルサイト](http://www.ec-cube.net)で配布します。
+ カスタマイズやEC-CUBEの利用、仕様に関しては[開発コミュニティ](http://xoops.ec-cube.net)をご利用ください。
+ 本体開発にあたって不明点などあれば[Issue](https://github.com/EC-CUBE/ec-cube/wiki/Issues%E3%81%AE%E5%88%A9%E7%94%A8%E6%96%B9%E6%B3%95)をご利用下さい。
+ EC-CUBE 3.0系のについては、masterブランチにて開発を行っております。
+ EC-CUBE 2.13系の保守については、[EC-CUBE/eccube-2_13](https://github.com/EC-CUBE/eccube-2_13/)にて開発を行っております。

## インストール

### EC-CUBE 4.0のインストール方法

開発ドキュメントの [インストール方法](http://doc4.ec-cube.net/quickstart_install) の手順に従ってインストールしてください。

### CSS の編集・ビルド方法

[Sass](http://sass-lang.com) を使用して記述されています。
Sass のソースコードは `html/template/{admin,default}/assets/scss` にあります。
前提として [https://nodejs.org/ja/] より、 Node.js をインストールしておいてください。

以下のコマンドでビルドすることで、 `html/template/{admin,default}/assets/css` に CSS ファイルが出力されます。
Cách chạy nodejs

```shell
npm install # 初回のみ
npm run build # Sass のビルド
npm install
npm run build
```

### 動作確認環境
## Môi trường xác nhận hoạt động

* Apache/2.4.x (mod_rewrite / mod_ssl 必須)
* Apache/2.4.x (mod_rewrite / mod_ssl)
* PHP7.1.20
* PostgreSQL 9.2.1
* ブラウザー:Google Chrome

詳しくは開発ドキュメントの [システム要件](http://doc4.ec-cube.net/quickstart_requirement) をご確認ください。

## ドキュメント

### [EC-CUBE 4.0 開発ドキュメント@doc4.ec-cube.net](http://doc4.ec-cube.net/)


EC-CUBE 4.0 の仕様や手順、開発Tipsに関するドキュメントを掲載しています。
修正や追記、新規ドキュメントの作成をいただく場合、以下のレポジトリからPullRequestをお送りください。
[https://github.com/EC-CUBE/ec-cube.github.io](https://github.com/EC-CUBE/ec-cube.github.io)

## 開発への参加

EC-CUBE 4.0の不具合の修正、機能のブラッシュアップを目的として、継続的に開発を行っております。
コードのリファクタリング、不具合修正以外のPullRequestを送る際は、Pull Requestのコメントなどに意図を明確に記載してください。

Pull Requestの送信前に、Issueにて提議いただく事も可能です。
Issuesの利用方法については、[こちら](https://github.com/EC-CUBE/ec-cube/wiki/Issues%E3%81%AE%E5%88%A9%E7%94%A8%E6%96%B9%E6%B3%95)をご確認ください。

[Slack](https://www.ec-cube.net/rd.php?aid=join-slack)でも本体の開発に関する意見交換などを行っております。


Vui lòng kiểm tra các [yêu cầu hệ thống](http://docs.ec-cube.vn/?p=80) của tài liệu phát triển để biết chi tiết.

### コピーライトポリシーへの同意
## Tài liệu
http://docs.ec-cube.vn/

コードの提供・追加、修正・変更その他「EC-CUBE」への開発の御協力(Issue投稿、PullRequest投稿など、GitHub上での活動)を行っていただく場合には、
[EC-CUBEのコピーライトポリシー](https://github.com/EC-CUBE/ec-cube/blob/50de4ac511ab5a5577c046b61754d98be96aa328/LICENSE.txt)をご理解いただき、ご了承いただく必要がございます。
Issueの投稿やPullRequestを送信する際は、EC-CUBEのコピーライトポリシーに同意したものとみなします。
## Cộng đồng FB
https://www.facebook.com/groups/eccube.vn/
31 changes: 21 additions & 10 deletions app/config/eccube/packages/eccube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ parameters:
plugin_realdir: '%kernel.project_dir%/app/Plugin'
plugin_data_realdir: '%kernel.project_dir%/app/PluginData'
plugin_temp_realdir: /PATH/TO/WEB_ROOT/src/Eccube/Repository/Master/upload/temp_plugin/ # upload_tmp_dir に任せればよい?
eccube_price_len: 8 # 最大値で制御したい
eccube_price_len: 16 # 最大値で制御したい
eccube_search_pmax: 10
eccube_stext_len: 255
eccube_sltext_len: 500
Expand All @@ -71,23 +71,26 @@ parameters:
# CSVの区切り文字(タブ区切りにしたい場合は'\t'ではなく' 'で設定する
eccube_csv_export_separator: ,
# 出力エンコーディング
eccube_csv_export_encoding: SJIS-win
# ja: SJIS-win
# vi: Windows-1258 - alias: CP1258 use iconv function
# ref: https://symfony.com/doc/3.4/components/polyfill_iconv.html
eccube_csv_export_encoding: 'UTF-8'
# 日付のフォーマット
eccube_csv_export_date_format: 'Y-m-d H:i:s'
eccube_csv_export_date_format: 'H:i:s d-m-Y'
# 複数データの区切り文字
eccube_csv_export_multidata_separator: ,
eccube_csv_import_delimiter: ,
eccube_csv_import_enclosure: '"'
eccube_csv_import_escape: \
eccube_info_url: 'https://www.ec-cube.net/info/4/'
eccube_owners_store_url: '%env(ECCUBE_OWNERS_STORE_URL)%'
eccube_official_site_url: https://www.ec-cube.net
eccube_community_site_url: https://xoops.ec-cube.net
eccube_document_url: http://doc4.ec-cube.net
eccube_name_len: 16
eccube_official_site_url: http://ec-cube.vn
eccube_community_site_url: https://www.facebook.com/groups/eccube.vn/
eccube_document_url: http://docs.ec-cube.vn/
eccube_name_len: 20
eccube_kana_len: 25
eccube_address1_len: 32
eccube_address2_len: 32
eccube_address1_len: 50
eccube_address2_len: 50
eccube_birth_max: 110
eccube_product_order_price_lower: 1
eccube_product_order_newer: 2
Expand Down Expand Up @@ -118,8 +121,16 @@ parameters:
# {random,桁数}: ランダムな数値を桁数分作成
# {random_alnum,桁数} : ランダムな半角英数大文字を桁数分作成
eccube_order_no_format: ''
eccube_order_pdf_message_len: 30
eccube_order_pdf_message_len: 50
# Font for print pdf file:
# ja: kozminproregular
# vi: dejavusans
eccube_order_pdf_font: 'dejavusans'
eccube_news_start_year: 2000
eccube_result_cache_lifetime: 3600 # doctrineのresult cacheのlifetime.
eccube_result_cache_lifetime_short: 10 # doctrineのresult cacheのlifetime. 商品一覧画面など長期間キャッシュできない箇所で使用する.
eccube_content_maintenance_file_path: '%kernel.project_dir%/.maintenance'
eccube_form_date_format: 'dd-MM-yyyy'
eccube_form_date_format_js_calendar: 'dd-mm-yyyy'
eccube_space: ' '

8 changes: 5 additions & 3 deletions app/config/eccube/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ parameters:
container.dumper.inline_class_loader: true

# ec-cube parameters
env(ECCUBE_LOCALE): 'ja'
env(ECCUBE_TIMEZONE): 'Asia/Tokyo'
env(ECCUBE_CURRENCY): 'JPY'
env(ECCUBE_LOCALE): 'vi'
env(ECCUBE_TIMEZONE): 'Asia/Ho_Chi_Minh'
env(ECCUBE_CURRENCY): 'VND'
locale: '%env(ECCUBE_LOCALE)%'
timezone: '%env(ECCUBE_TIMEZONE)%'
currency: '%env(ECCUBE_CURRENCY)%'
Expand Down Expand Up @@ -164,6 +164,8 @@ services:

Symfony\Component\HttpFoundation\ParameterBag:

# Eccube\Common\EccubeConfig\LocalUtil:

Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension:
# Symfony\Bridge\Twig\Extension\RoutingExtensionの後に登録するため,
# autoconfigureはfalseにし, CompilerPassで追加する.
Expand Down
185 changes: 185 additions & 0 deletions app/template/admin/Customer/delivery_edit.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
{#
This file is part of EC-CUBE

Copyright(c) LOCKON CO.,LTD. All Rights Reserved.

http://www.lockon.co.jp/

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}

{% extends '@admin/default_frame.twig' %}

{% set menus = ['customer', 'customer_edit'] %}

{% block title %}{{ 'admin.customer.customer_address_registration'|trans }}{% endblock %}
{% block sub_title %}{{ 'admin.customer.customer_management'|trans }}{% endblock %}

{% form_theme form '@admin/Form/bootstrap_4_horizontal_layout.html.twig' %}

{% block javascript %}
<script src="{{ asset('assets/js/postalcode.js') }}" charset="UTF-8"></script>
{% endblock javascript %}

{% block main %}

<form name="customer_address_form"
role="form"
id="customer_address_form"
method="post"
action="{%- if CustomerAddress.id %}{{ url('admin_customer_delivery_edit', { id : Customer.id, did: CustomerAddress.id }) }}{% else %}{{ url('admin_customer_delivery_new', { id: Customer.id }) }}{% endif -%}"
novalidate class="h-adr">
{{ form_widget(form._token) }}
<span class="p-country-name" style="display:none;">Japan</span>
<div class="c-contentsArea__cols">
<div class="c-contentsArea__primaryCol">
<div class="c-primaryCol">
<div class="card rounded border-0 mb-4">
<div class="card-header">
<span class="card-title">{{ 'admin.customer.customer_address_info'|trans }}</span>
</div>
<div class="card-body">
{% if CustomerAddress.id %}
<div class="row mb-2">
<div class="col-3">
{{ 'admin.common.id'|trans }}
</div>
<div class="col">
{{ CustomerAddress.id }}
</div>
</div>
{% endif %}

<div class="row mb-2">
<div class="col-3">
{{ 'admin.common.name'|trans }}
</div>
<div class="col">
<div class="row mb-2">
<div class="col">
{{ form_widget(form.name.name01) }}
{{ form_errors(form.name.name01) }}
</div>
<div class="col">
{{ form_widget(form.name.name02) }}
{{ form_errors(form.name.name02) }}
</div>
</div>
</div>
</div>
{{ form_widget(form.kana.kana01, { type : 'hidden', attr : { value: 'カナ'}}) }}
{{ form_widget(form.kana.kana02, { type : 'hidden', attr : { value: 'カナ'}}) }}
<div class="row mb-2">
<div class="col-3 mb-2">
{{ 'admin.common.company_name'|trans }}
</div>
<div class="col mb-2">
{{ form_widget(form.company_name) }}
{{ form_errors(form.company_name) }}
</div>
</div>

<div class="row mb-2">
<div class="col-3">
{{ 'admin.common.address'|trans }}
</div>
<div class="col">
<div class="row mb-2">
<div class="col-auto pr-0 align-self-center"><span>{{ 'admin.common.postal_symbol'|trans }}</span></div>
<div class="col-2">
{{ form_widget(form.postal_code) }}
{{ form_errors(form.postal_code) }}
</div>
</div>
</div>
</div>

<div class="row mb-2">
<div class="col-3">
&nbsp;
</div>
<div class="col form-inline mb-2">
{{ form_widget(form.address.pref) }}
{{ form_errors(form.address.pref) }}
</div>
</div>

<div class="row mb-2">
<div class="col-3">
&nbsp;
</div>
<div class="col mb-2">
{{ form_widget(form.address.addr01) }}
{{ form_errors(form.address.addr01) }}
</div>
</div>

<div class="row mb-2">
<div class="col-3">
&nbsp;
</div>
<div class="col mb-2">
{{ form_widget(form.address.addr02) }}
{{ form_errors(form.address.addr02) }}
</div>
</div>

<div class="row mb-2">
<div class="col-3">
{{ 'admin.common.phone_number'|trans }}
</div>
<div class="col">
{{ form_widget(form.phone_number) }}
{{ form_errors(form.phone_number) }}
</div>
</div>

{# エンティティ拡張の自動出力 #}
{% for f in form if f.vars.eccube_form_options.auto_render %}
{% if f.vars.eccube_form_options.form_theme %}
{% form_theme f f.vars.eccube_form_options.form_theme %}
{{ form_row(f) }}
{% else %}
<div class="row mb-2">
<div class="col-3">
<span>{{ f.vars.label|trans }}</span>
</div>
<div class="col">
{{ form_widget(f) }}
{{ form_errors(f) }}
</div>
</div>
{% endif %}
{% endfor %}

</div>
</div>
</div>
</div>
</div>

<div class="c-conversionArea">
<div class="c-conversionArea__container">
<div class="row justify-content-between align-items-center">
<div class="col-6">
<div class="c-conversionArea__leftBlockItem">
<a class="c-baseLink" href="{{ url('admin_customer_edit', { id: Customer.id }) }}">
<i class="fa fa-backward" aria-hidden="true"></i>
<span>{{ 'admin.customer.customer_registration'|trans }}</span></a>
</div>
</div>
<div id="ex-conversion-action" class="col-6">
<div class="row align-items-center justify-content-end">
<div class="col-auto">
<button class="btn btn-ec-conversion px-5"
type="submit">{{ 'admin.common.registration'|trans }}</button>
</div>
</div>
</div>
</div>
</div>
</div>
</form>

{% endblock %}
Loading