@@ -54,7 +54,7 @@ class DeclarationController extends Controller
...
@@ -54,7 +54,7 @@ class DeclarationController extends Controller
'to_address_id',
'to_address_id',
'edited',
'edited',
DB::raw('(SELECT concat(firstname,\' \', secondname) FROM address_info where address_info.id=orders.to_address_id) as r_name'),
DB::raw('(SELECT concat(firstname,\' \', secondname) FROM address_info where address_info.id=orders.to_address_id) as r_name'),
DB::raw('(SELECT name_uz FROM payment_statuses where payment_statuses.id=(select payment_statuses_id from payment where payment.order_id=orders.id)) as payment_status'),
DB::raw('(SELECT name FROM payment_statuses where payment_statuses.id=(select payment_statuses_id from payment where payment.order_id=orders.id)) as payment_status'),