From 6c57325f80031e2017461f5903f2fe76e8784aba Mon Sep 17 00:00:00 2001 From: Ramon Gutierrez Date: Mon, 26 Feb 2018 18:46:55 +0800 Subject: [PATCH] Change customer mobile numbers to general contact numbers #23 --- templates/customer/form.html.twig | 12 ++++++------ templates/customer/list.html.twig | 2 +- templates/job-order/form.html.twig | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/customer/form.html.twig b/templates/customer/form.html.twig index d4c8ff65..65255dc0 100644 --- a/templates/customer/form.html.twig +++ b/templates/customer/form.html.twig @@ -85,7 +85,7 @@

- Mobile Numbers + Contact Numbers

@@ -95,12 +95,12 @@
- + - Use the format 63xxxxxxxxxx +
- +
@@ -579,7 +579,7 @@ }); return true; - } else if (id.toString().length != 12) { + } else if (id.toString().length > 12) { swal({ title: 'Whoops', text: 'Invalid mobile number specified.', @@ -917,7 +917,7 @@ columns: [ { field: 'id', - title: 'Mobile Number', + title: 'Contact Number', template: function (row, index, datatable) { return row.id + '
'; } diff --git a/templates/customer/list.html.twig b/templates/customer/list.html.twig index 0bb7036a..f17b28de 100644 --- a/templates/customer/list.html.twig +++ b/templates/customer/list.html.twig @@ -97,7 +97,7 @@ }, { field: 'mobile_numbers', - title: 'Mobile Numbers', + title: 'Contact Numbers', sortable: false }, { diff --git a/templates/job-order/form.html.twig b/templates/job-order/form.html.twig index d395a52b..9ec1917f 100644 --- a/templates/job-order/form.html.twig +++ b/templates/job-order/form.html.twig @@ -70,7 +70,7 @@
- +