Added column in preorder datagrid and corrected the spelling in customer document

This commit is contained in:
Prashant Singh 2019-06-29 11:05:58 +05:30
parent c217598843
commit 51f0eec908
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ return [
'type' => 'Type',
'status' => 'Status',
'active' => 'Active',
'in-active' => 'Inacvtive',
'in-active' => 'Inactive',
'product' => 'Product',
'marketing' => 'Marketing',
'add-document' => 'Add Document',

View File

@ -28,6 +28,7 @@ class PreOrder extends DataGrid
$this->addFilter('id', 'pre_order_items.id');
$this->addFilter('status', 'pre_order_items.status');
$this->addFilter('order_id', 'pre_order_items.order_id');
$this->addFilter('payment_order_id', 'payment_order_items.order_id');
$this->addFilter('product_name', 'order_items.name');
$this->addFilter('customer_name', DB::raw('CONCAT(orders.customer_first_name, " ", orders.customer_last_name)'));