How to change data type of column in laravel migration?

|
Relaxed Guy 2022-06-20 15:03:34
More help share your anydesk id
Relaxed Guy 2022-06-20 15:03:46
I help you
Relaxed Guy 2022-06-20 15:04:04
@nanribet share yours I help you too
Relaxed Guy 2022-06-20 15:06:20
nanribet 2022-06-20 14:46:53

Code looks weird

Relaxed Guy 2022-06-20 15:06:47
Abit… on the request->get(route)
Bright 2022-06-20 15:49:01
laravel_discuss-126148.jpg
Pharmacy management system with POS, pay on delivery and the ability to assign admins of many branches, work in progress
natghi2010 2022-06-20 15:57:02
Bright 2022-06-20 15:49:01
Pharmacy management system with POS, pay on delivery and the ability to assign admins of many branches, work in progress

some tips

natghi2010 2022-06-20 15:57:13
currency should 2 decimal places
natghi2010 2022-06-20 15:57:51
why does the admin need a newsletter?
Bright 2022-06-20 15:59:42
The footer is dynamic which can be easily remove if the buyer or owner doesn’t want it
Bright 2022-06-20 16:02:39
In currency is just to format it using php formatting, I’m still working on it
Bright 2022-06-20 16:17:08
natghi2010 2022-06-20 15:57:02
some tips

Thanks so much

natghi2010 2022-06-20 16:17:26
Bright 2022-06-20 15:49:01
Pharmacy management system with POS, pay on delivery and the ability to assign admins of many branches, work in progress

also

natghi2010 2022-06-20 16:17:47
get yourself something pretty from here
natghi2010 2022-06-20 16:17:57
https://colorlib.com/wp/free-admin-templates/

40 Best Free & Responsive Admin Templates 2022Colorlib
Boost your workflow and save enormous amounts of time and effort with these powerful and flexible free admin templates.
gumisri 2022-06-20 16:29:32
Has anyone worked on single store db ?
Amit Sharma 2022-06-20 16:41:56
laravel_discuss-126160.jpg
anyone pls support me how to do this for each years
Relaxed Guy 2022-06-20 16:51:05
$(function() {
$( “#datepicker” ).datepicker({dateFormat: ‘yy’});
});​ add this to your code in the scripts #datepicker is the id of your input type
Norkulov2oo1 2022-06-20 17:04:39
How to change data type of column in laravel migration?
Amit Sharma 2022-06-20 17:06:25
Relaxed Guy 2022-06-20 16:51:05
$(function() {
$( “#datepicker” ).datepicker({dateFormat: ‘yy’});
});​ add this to your code in the scripts #datepicker is the id of your input type

yes i have done this but in screen shot you can see the section is add more type

Amit Sharma 2022-06-20 17:07:06
so when i try to add more then this datepicker is not working
Jigar D 2022-06-20 18:14:52
Norkulov2oo1 2022-06-20 17:04:39
How to change data type of column in laravel migration?

By using change() method. Make sure you use doctrine’s dbal package. Search for change( in the docs.

Jinreign 2022-06-21 04:44:40
Required parameter $dompdf follows optional parameter $paper
Jinreign 2022-06-21 04:45:01
how to fix my site cannot print it show “Required parameter $dompdf follows optional parameter $paper”
Nayan Koshti 2022-06-21 04:54:38
Hey any one knows laravel yajara
Nayan Koshti 2022-06-21 04:55:13
I am stuck in error
Nayan Koshti 2022-06-21 04:58:46
I have query like
$dd = Select * from (
Select col1, col2 from table1
Union
Select col1, col2 from table2
) demo

So if I pass this $dd in datatables::of ($dd) ->make(true)
It shows error when I want to search

Error is where condition is not found

sHryung01 2022-06-21 05:19:04
permission to ask, I made a check if email exists using ajax in laravel, the error I got was “Cross-Origin Request Blocked”. is there any solution to handle this ?
sHryung01 2022-06-21 05:19:23
laravel_discuss-126183.jpg

sHryung01 2022-06-21 05:19:37
$( document ).ready(function() {
$(‘.formEmail’).on(‘change’, function() {
//ajax request
$.ajax({
type: ‘post’,
url: “http://localhost:8080/supplier/user”,
headers: {
‘Content-Type’:’application/json’
},
data: {
‘value’ : $(‘.formEmail’).val()
},
dataType: ‘json’,
success: function(data) {
if(data == true) {
// alert(‘Email exists!’);
console.log(data)
}
else {
alert(‘Email doesnt!’);
}
},
error: function(data){
//error
}
});
});
});
sHryung01 2022-06-21 05:20:04
laravel_discuss-126185.jpg
controller in laravel
Siva 2022-06-21 05:52:04
laravel_discuss-126188.jpg

Siva 2022-06-21 05:52:24
laravel_discuss-126189.jpg

fredaster23 2022-06-21 06:07:32
Siva 2022-06-21 05:52:24

Resultcheak must be a typto

fredaster23 2022-06-21 06:09:34
sHryung01 2022-06-21 05:19:04
permission to ask, I made a check if email exists using ajax in laravel, the error I got was “Cross-Origin Request Blocked”. is there any solution to handle this ?

If you want to check EXISTING table, you should use findOrFail in your controller, not Request $request since the request is mainly for storing data.

|