Browse Source

live changes

master
shakun 8 months ago
parent
commit
f897977e68
  1. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/v17/.futdcache.v2
  2. BIN
      CustomerOnlineV2/.vs/CustomerOnlineV2/v17/.suo
  3. BIN
      CustomerOnlineV2/.vs/ProjectEvaluation/customeronlinev2.metadata.v7.bin
  4. BIN
      CustomerOnlineV2/.vs/ProjectEvaluation/customeronlinev2.projects.v7.bin
  5. 2
      CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/RegisterRepository/RegisterRepository.cs
  6. 2
      CustomerOnlineV2/CustomerOnlineV2/Properties/PublishProfiles/FolderProfile.pubxml.user
  7. 85
      CustomerOnlineV2/CustomerOnlineV2/Views/Customer/CustomerRegistration.cshtml
  8. 13
      CustomerOnlineV2/CustomerOnlineV2/Views/Customer/Refer.cshtml
  9. 4
      CustomerOnlineV2/CustomerOnlineV2/appsettings.json
  10. 2
      CustomerOnlineV2/CustomerOnlineV2/wwwroot/css/refer.css

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/v17/.futdcache.v2

BIN
CustomerOnlineV2/.vs/CustomerOnlineV2/v17/.suo

BIN
CustomerOnlineV2/.vs/ProjectEvaluation/customeronlinev2.metadata.v7.bin

BIN
CustomerOnlineV2/.vs/ProjectEvaluation/customeronlinev2.projects.v7.bin

2
CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/RegisterRepository/RegisterRepository.cs

@ -43,7 +43,7 @@ namespace CustomerOnlineV2.Repository.Repository.RegisterRepository
sql += ",@middleName =" + _connHelper.FilterString(model.middleName);
sql += ",@lastName1 =" + _connHelper.FilterString(model.lastName1);
sql += ",@lastName2 =" + _connHelper.FilterString(model.lastName2);
//sql += ",@custAdd1 =" + _connHelper.FilterString(model.address);
sql += ",@referralCode =" + _connHelper.FilterString(model.ReferralCode);
sql += ",@sourceOfFound =" + _connHelper.FilterString(model.sourceOfFound);
sql += ",@custMobile =" + _connHelper.FilterString(model.mobile);
sql += ",@custGender =" + _connHelper.FilterString(model.gender);

2
CustomerOnlineV2/CustomerOnlineV2/Properties/PublishProfiles/FolderProfile.pubxml.user

@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<Project>
<PropertyGroup>
<_PublishTargetUrl>D:\Publish\Imelondon\New folder</_PublishTargetUrl>
<History>True|2023-12-08T08:01:34.5508826Z;True|2023-12-08T13:22:59.7907396+05:45;True|2023-12-08T13:16:18.2446566+05:45;True|2023-12-08T01:36:46.4929190+05:45;True|2023-12-01T14:29:54.6987204+05:45;True|2023-12-01T13:48:23.4841029+05:45;True|2023-12-01T00:12:04.2288558+05:45;True|2023-11-30T23:51:56.2008888+05:45;True|2023-11-30T23:49:36.9385794+05:45;True|2023-11-30T23:46:46.8847879+05:45;True|2023-11-30T23:46:03.6979693+05:45;True|2023-11-30T23:44:27.3157126+05:45;True|2023-11-30T23:33:55.0600332+05:45;False|2023-11-30T23:32:36.1977723+05:45;True|2023-11-30T23:26:29.2113993+05:45;True|2023-11-30T23:04:07.5067771+05:45;True|2023-11-29T01:51:42.3247259+05:45;True|2023-11-28T23:34:50.6877537+05:45;True|2023-11-28T23:31:23.9257392+05:45;True|2023-11-28T17:22:07.3908940+05:45;True|2023-11-28T16:44:59.6364591+05:45;True|2023-11-28T16:39:13.8831139+05:45;True|2023-11-28T16:35:01.7962202+05:45;True|2023-11-28T15:54:09.3703564+05:45;True|2023-11-28T13:17:36.9582579+05:45;True|2023-11-28T11:06:56.1393117+05:45;True|2023-11-27T21:26:39.4737693+05:45;True|2023-11-27T20:27:44.8267131+05:45;True|2023-11-27T15:15:02.7845576+05:45;True|2023-11-27T15:14:24.7414474+05:45;True|2023-11-27T15:12:20.8631275+05:45;True|2023-11-27T14:53:12.8806451+05:45;True|2023-11-27T14:44:42.3370519+05:45;True|2023-11-27T14:03:02.0808830+05:45;True|2023-11-26T22:29:14.7842119+05:45;True|2023-11-26T22:26:41.5591080+05:45;True|2023-11-26T22:24:00.1770904+05:45;True|2023-11-26T22:20:37.2082479+05:45;True|2023-11-26T12:54:30.6489713+05:45;True|2023-11-25T09:37:52.6378019+05:45;True|2023-11-24T23:46:21.5762377+05:45;True|2023-11-24T23:40:44.7042923+05:45;True|2023-11-24T22:26:01.6024702+05:45;True|2023-11-24T22:11:31.5563357+05:45;True|2023-11-23T20:11:39.9968178+05:45;True|2023-11-23T19:11:12.3226825+05:45;True|2023-11-23T14:34:53.3821861+05:45;True|2023-11-22T21:49:39.4855996+05:45;True|2023-11-22T00:55:02.7339322+05:45;True|2023-11-22T00:35:33.7932258+05:45;True|2023-11-22T00:06:39.0977881+05:45;True|2023-11-21T16:56:40.9165139+05:45;True|2023-11-21T16:55:43.5238508+05:45;True|2023-11-21T13:06:42.6334262+05:45;True|2023-11-21T13:05:56.8163644+05:45;True|2023-11-21T01:30:01.6294845+05:45;True|2023-11-21T01:25:46.8788948+05:45;True|2023-11-21T01:18:10.9400288+05:45;True|2023-11-20T17:46:52.6414077+05:45;False|2023-11-20T17:46:20.7035330+05:45;True|2023-11-20T16:17:17.6490092+05:45;True|2023-11-19T23:00:54.1411776+05:45;True|2023-11-19T15:41:16.8030592+05:45;True|2023-11-19T15:27:21.5495440+05:45;True|2023-11-19T12:52:51.4532176+05:45;True|2023-11-17T19:30:12.1934196+05:45;True|2023-11-16T23:07:05.3180955+05:45;True|2023-11-16T23:02:00.4838743+05:45;True|2023-11-16T22:59:08.9347336+05:45;True|2023-11-16T22:55:10.4213631+05:45;True|2023-11-16T22:43:21.8981804+05:45;True|2023-11-14T17:28:08.3885160+05:45;True|2023-11-14T17:22:29.1626336+05:45;True|2023-11-14T17:04:07.2972823+05:45;True|2023-11-11T20:35:29.2080326+05:45;True|2023-11-11T20:32:15.2845349+05:45;True|2023-11-10T16:47:06.4019617+05:45;False|2023-11-10T13:51:28.3018175+05:45;True|2023-11-10T02:19:03.5340681+05:45;True|2023-11-10T01:20:14.2700570+05:45;True|2023-11-09T21:01:27.9875543+05:45;True|2023-11-09T20:59:19.5230056+05:45;True|2023-11-09T18:16:23.7470131+05:45;False|2023-11-09T18:16:03.5500533+05:45;True|2023-11-09T18:09:25.9299204+05:45;True|2023-11-09T15:14:04.7264848+05:45;True|2023-11-09T15:11:19.0085135+05:45;True|2023-11-09T15:07:24.6950375+05:45;True|2023-11-09T00:57:27.0432228+05:45;True|2023-11-09T00:52:22.0688681+05:45;True|2023-11-08T23:45:10.1218798+05:45;True|2023-11-08T23:42:07.1091081+05:45;True|2023-11-08T23:36:21.1551855+05:45;True|2023-11-08T23:32:16.8459083+05:45;True|2023-11-08T23:29:21.9724548+05:45;True|2023-11-08T23:14:15.4606206+05:45;True|2023-11-08T20:17:27.8481449+05:45;True|2023-11-08T19:52:59.1891066+05:45;True|2023-11-08T16:44:42.6170002+05:45;True|2023-11-08T16:33:32.3937081+05:45;</History>
<History>True|2024-01-07T20:03:51.6977336Z;True|2024-01-04T16:57:00.8366880+05:45;True|2024-01-04T16:39:14.5116891+05:45;True|2023-12-29T16:17:33.3592875+05:45;True|2023-12-28T15:22:54.5509910+05:45;True|2023-12-27T21:20:24.7590400+05:45;True|2023-12-20T21:29:37.0436015+05:45;True|2023-12-08T13:46:34.5508826+05:45;True|2023-12-08T13:22:59.7907396+05:45;True|2023-12-08T13:16:18.2446566+05:45;True|2023-12-08T01:36:46.4929190+05:45;True|2023-12-01T14:29:54.6987204+05:45;True|2023-12-01T13:48:23.4841029+05:45;True|2023-12-01T00:12:04.2288558+05:45;True|2023-11-30T23:51:56.2008888+05:45;True|2023-11-30T23:49:36.9385794+05:45;True|2023-11-30T23:46:46.8847879+05:45;True|2023-11-30T23:46:03.6979693+05:45;True|2023-11-30T23:44:27.3157126+05:45;True|2023-11-30T23:33:55.0600332+05:45;False|2023-11-30T23:32:36.1977723+05:45;True|2023-11-30T23:26:29.2113993+05:45;True|2023-11-30T23:04:07.5067771+05:45;True|2023-11-29T01:51:42.3247259+05:45;True|2023-11-28T23:34:50.6877537+05:45;True|2023-11-28T23:31:23.9257392+05:45;True|2023-11-28T17:22:07.3908940+05:45;True|2023-11-28T16:44:59.6364591+05:45;True|2023-11-28T16:39:13.8831139+05:45;True|2023-11-28T16:35:01.7962202+05:45;True|2023-11-28T15:54:09.3703564+05:45;True|2023-11-28T13:17:36.9582579+05:45;True|2023-11-28T11:06:56.1393117+05:45;True|2023-11-27T21:26:39.4737693+05:45;True|2023-11-27T20:27:44.8267131+05:45;True|2023-11-27T15:15:02.7845576+05:45;True|2023-11-27T15:14:24.7414474+05:45;True|2023-11-27T15:12:20.8631275+05:45;True|2023-11-27T14:53:12.8806451+05:45;True|2023-11-27T14:44:42.3370519+05:45;True|2023-11-27T14:03:02.0808830+05:45;True|2023-11-26T22:29:14.7842119+05:45;True|2023-11-26T22:26:41.5591080+05:45;True|2023-11-26T22:24:00.1770904+05:45;True|2023-11-26T22:20:37.2082479+05:45;True|2023-11-26T12:54:30.6489713+05:45;True|2023-11-25T09:37:52.6378019+05:45;True|2023-11-24T23:46:21.5762377+05:45;True|2023-11-24T23:40:44.7042923+05:45;True|2023-11-24T22:26:01.6024702+05:45;True|2023-11-24T22:11:31.5563357+05:45;True|2023-11-23T20:11:39.9968178+05:45;True|2023-11-23T19:11:12.3226825+05:45;True|2023-11-23T14:34:53.3821861+05:45;True|2023-11-22T21:49:39.4855996+05:45;True|2023-11-22T00:55:02.7339322+05:45;True|2023-11-22T00:35:33.7932258+05:45;True|2023-11-22T00:06:39.0977881+05:45;True|2023-11-21T16:56:40.9165139+05:45;True|2023-11-21T16:55:43.5238508+05:45;True|2023-11-21T13:06:42.6334262+05:45;True|2023-11-21T13:05:56.8163644+05:45;True|2023-11-21T01:30:01.6294845+05:45;True|2023-11-21T01:25:46.8788948+05:45;True|2023-11-21T01:18:10.9400288+05:45;True|2023-11-20T17:46:52.6414077+05:45;False|2023-11-20T17:46:20.7035330+05:45;True|2023-11-20T16:17:17.6490092+05:45;True|2023-11-19T23:00:54.1411776+05:45;True|2023-11-19T15:41:16.8030592+05:45;True|2023-11-19T15:27:21.5495440+05:45;True|2023-11-19T12:52:51.4532176+05:45;True|2023-11-17T19:30:12.1934196+05:45;True|2023-11-16T23:07:05.3180955+05:45;True|2023-11-16T23:02:00.4838743+05:45;True|2023-11-16T22:59:08.9347336+05:45;True|2023-11-16T22:55:10.4213631+05:45;True|2023-11-16T22:43:21.8981804+05:45;True|2023-11-14T17:28:08.3885160+05:45;True|2023-11-14T17:22:29.1626336+05:45;True|2023-11-14T17:04:07.2972823+05:45;True|2023-11-11T20:35:29.2080326+05:45;True|2023-11-11T20:32:15.2845349+05:45;True|2023-11-10T16:47:06.4019617+05:45;False|2023-11-10T13:51:28.3018175+05:45;True|2023-11-10T02:19:03.5340681+05:45;True|2023-11-10T01:20:14.2700570+05:45;True|2023-11-09T21:01:27.9875543+05:45;True|2023-11-09T20:59:19.5230056+05:45;True|2023-11-09T18:16:23.7470131+05:45;False|2023-11-09T18:16:03.5500533+05:45;True|2023-11-09T18:09:25.9299204+05:45;True|2023-11-09T15:14:04.7264848+05:45;True|2023-11-09T15:11:19.0085135+05:45;True|2023-11-09T15:07:24.6950375+05:45;True|2023-11-09T00:57:27.0432228+05:45;True|2023-11-09T00:52:22.0688681+05:45;True|2023-11-08T23:45:10.1218798+05:45;True|2023-11-08T23:42:07.1091081+05:45;True|2023-11-08T23:36:21.1551855+05:45;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>

85
CustomerOnlineV2/CustomerOnlineV2/Views/Customer/CustomerRegistration.cshtml

@ -279,11 +279,20 @@
<div class="col-md-4">
<div class="mb-4">
<div class="form-floating">
<input type="text" class="form-control" name="mobile" asp-for="mobile" placeholder="(+44) 99000000" prefix="+44" value="+44" required>
<input type="text" class="form-control" id="mobile" name="mobile" asp-for="mobile" placeholder="(+44) 99000000" value="+44" required>
<label for="mobile">Mobile Number *</label>
<span id="mobile-error" class="text-danger"></span>
</div>
</div>
</div>
@* <div class="col-md-4">
<div class="mb-4">
<div class="form-floating">
<input type="text" class="form-control" name="mobile" asp-for="mobile" placeholder="(+44) 99000000" value="+44" oninput="checkDefaultValue(this)" required>
<label for="mobile">Mobile Number *</label>
</div>
</div>
</div> *@
<div class="col-md-4">
<div class="mb-4">
<div class="form-floating">
@ -530,9 +539,79 @@
}
});
document.getElementById('mobile').addEventListener('input', function (e) {
var x = e.target.value.replace(/\D/g, '').match(/(\d{0,2})(\d{0,3})(\d{0,3})(\d{0,2})(\d{0,2})/);
// document.getElementById('mobile').addEventListener('input', function (e) {
// var x = e.target.value.replace(/\D/g, '').match(/(\d{0,2})(\d{0,3})(\d{0,3})(\d{0,2})(\d{0,2})/);
// e.target.value = '+44' + x[2] + '' + x[3] + '' + x[4] + '' + x[5];
// });
const mobileInput = document.getElementById('mobile');
const mobileError = document.getElementById('mobile-error');
mobileInput.addEventListener('input', validateMobileNumber);
mobileInput.addEventListener('keydown', validateMobileNumber);
mobileInput.addEventListener('keyup', validateMobileNumber);
mobileInput.addEventListener('click', validateMobileNumber);
function validateMobileNumber(e) {
const inputValue = e.target.value;
// Check if the current value is the default value
if (inputValue === '+44') {
mobileError.textContent = 'Invalid Mobile Number';
} else {
// Reset the error message
mobileError.textContent = '';
}
// Handle 'keydown' event
if (e.type === 'keydown' && inputValue === '+44') {
e.target.value = '';
}
// Handle 'click' event
if (e.type === 'click' && inputValue === '+44') {
e.target.value = '';
}
// Format the input as a phone number with the "+44" prefix
const x = inputValue.replace(/\D/g, '').match(/(\d{0,2})(\d{0,3})(\d{0,3})(\d{0,2})(\d{0,2})/);
e.target.value = '+44' + x[2] + '' + x[3] + '' + x[4] + '' + x[5];
}
// Handle input events (input and keydown)
// mobileInput.addEventListener('input', validateMobileNumber);
// mobileInput.addEventListener('keydown', validateMobileNumber);
// function validateMobileNumber(e) {
// const inputValue = e.target.value;
// if (e.type === 'keydown' && inputValue === '+44') {
// e.target.value = '';
// }
// // Check if the current value is the default value
// if (inputValue === '+44') {
// mobileError.textContent = 'Invalid Mobile Number';
// } else {
// // Reset the error message
// mobileError.textContent = '';
// }
// // Format the input as a phone number with the "+44" prefix
// const x = inputValue.replace(/\D/g, '').match(/(\d{0,2})(\d{0,3})(\d{0,3})(\d{0,2})(\d{0,2})/);
// e.target.value = '+44' + x[2] + '' + x[3] + '' + x[4] + '' + x[5];
// }
// Handle form submission
document.querySelector('form').addEventListener('submit', function (event) {
// Check if the mobile number is still the default value
if (mobileInput.value === '+44') {
mobileError.textContent = 'Invalid Mobile Number';
event.preventDefault(); // Prevent form submission
} else {
// Reset the error message
mobileError.textContent = '';
}
});
// $('#mobile').keyup(function () {

13
CustomerOnlineV2/CustomerOnlineV2/Views/Customer/Refer.cshtml

@ -166,11 +166,16 @@
<h5 class="referral-code-header">Available Reward Amount: <span id="showRewardPoints" style="color:green;"></span></h5>
</div>
<h4 class="referral-code-header">Refer Now</h4>
<p>Receive a FREE £5.00 bonus credit as Reward Amount</p>
<p style="width:80%">You and your friend will each be given £5.00 in bonus credit.
<br>Get £1.00 after they successfully register, and £4 after their first transaction.</p>
<p>Receive a FREE 10£ bonus credit as Reward Amount</p>
<p style="width:80%">
You and your friend will each be given 10£ in bonus credit.
@* <br>Get £5.00 after they successfully register, and £5 after their first transaction.</p> *@
<p>There may be minimum send requirements.</p>
<p><a href="https://imelondon.co.uk/RewardPoint_Declaration.html" target="_blank">Terms &amp; Conditions</a></p>
<p>
<a href="https://imelondon.co.uk/RewardPoint_Declaration.html" target="_blank">
Terms &amp; conditions applied.
</a>
</p>
@* <p class="text-black fs-5">Refer IME Londong to your friends &amp; get many more exciting deals <br> plus discount on your every transfer.</p> *@
<h5 class="referral-code-header">Your Referral Code:</h5>
<div class="referral-code-container">

4
CustomerOnlineV2/CustomerOnlineV2/appsettings.json

@ -50,7 +50,7 @@
]
},
"ConnectionStrings": {
"ApplicationDb": "Server=77.68.90.58,1433;database=FastMoneyPro_Remit;uid=dev;password=P@ssw0rd;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"
"ApplicationDb": "Server=VM97E9E72\\MSSQLSERVER01;database=FastMoneyPro_Remit;uid=sa;password=DbAmin123;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"
},
"JWT": {
"ValidAudience": "@Ud!3nCH#3p0!Nc1",
@ -77,6 +77,6 @@
"profilePicUploadURL": "D:\\CustomerDocument\\App\\MobileApi\\Images\\Profile\\",
"customerPortalUrl": "https://web.imelondon.co.uk:2095/",
"mobileJsonRxUrl": "https://mobile.imelondon.co.uk:2086/",
"tp_base_url": "http://77.68.26.191:2082/api/v1/",
"tp_base_url": "http://77.68.15.91:1083/api/v1/",
"apiAccessKey": "KPb1ttRs3CJnORpVU8SmAKUs7a42vtvjzQ47gU0b4u0vxAEI0PgZref6puzkVhLTX2PRNMGCbnb2TglupsjV5AGhYvw8a8POTcUcFSrEdHmTkhkIGNvUvxSpKjUOXGFQWaGU1bxoqqUSaFOmNE5zGojVmwPoMy38CNLwnpQKjdsIuxCKGCApa2gWHJl9gebmIpUODv9jAZgmMEaXqyR4CLg4iSksfTyYNjdqxEE88P5THYt5GuNk8Ti6K2RxIKfPWY49hBOpiYnXcApgSDiKFYqQG9WuZ7cvDGJIWg5WgWKjGle8Y3OydhONXVkN5OMPXDA4VZkK4c5nM363Zkg4w4qdzWuwhsEoAwU4rej6sMRZue3L0BowBJja1OK0iPoTX70EexX8rviMLOZPUDwhxzkL3eODS69VEEbjHb8WSjhho5h3KnCE4tcqCWihwSZ8Yuyhw1rzIMNw2C8pN1GEJyXc6goIFkf7dmK9ynJSxu52D9GjOkKqoD7dFNFulOFVfgeCuhPDYG2A2c2RSvGHv24VDXvmGVaAMLiPtsTz5oD8f0na7fX1xGg0Qveh0KgQL5THnrMK6gm5Ky7O8nbecIxY"
}

2
CustomerOnlineV2/CustomerOnlineV2/wwwroot/css/refer.css

@ -150,7 +150,7 @@
.referral-code-header {
width: 500px;
height: 20px;
height: 10px;
}
.p {

Loading…
Cancel
Save