you can define a function instead of write twice the same it , for example:  

dateColumn('#emission_date', emission_column);
dateColumn('#payment_date', payment_column);

function dateColum (date, column ) {
......
}