diff --git a/src/app/pages/admin/Coupons/Active/active-coupons.component.html b/src/app/pages/admin/Coupons/Active/active-coupons.component.html index ed0fd85..3011421 100644 --- a/src/app/pages/admin/Coupons/Active/active-coupons.component.html +++ b/src/app/pages/admin/Coupons/Active/active-coupons.component.html @@ -1,7 +1,7 @@
+ #couponsTable >
@@ -123,65 +123,6 @@
- - - - - - - - - - - - - - - - - - - - - - -
- Coupons - -
- - {{transaction.targetProduct |couponProductShort}} - - - {{transaction.quantity}} left - - - {{transaction.lower}} - {{transaction.upper}} - - - - {{transaction.type}} - -
-
- - -
- - Active - - - {{transaction.expiration | date:"dd-MM-yyyy"}} - -
-
- -
+
\ No newline at end of file diff --git a/src/app/pages/admin/Coupons/Active/active-coupons.component.ts b/src/app/pages/admin/Coupons/Active/active-coupons.component.ts index 736906c..7e3a7a0 100644 --- a/src/app/pages/admin/Coupons/Active/active-coupons.component.ts +++ b/src/app/pages/admin/Coupons/Active/active-coupons.component.ts @@ -21,7 +21,6 @@ import { DetailsDialogComponent } from '../DetailsDialog/details-dialog.componen export class ActiveCouponsComponent implements OnInit, AfterViewInit { @Input() couponsDataSource: MatTableDataSource; couponsTableColumns: string[] = ['product', 'quantity', 'type', 'condition', 'range', 'claimed', 'status', 'expiration', 'actions']; - couponsTableColumnsMobile: string[] = ['product', 'status']; @ViewChild('couponsTable', { read: MatSort }) couponsTableMatSort: MatSort; isScreenSmall: boolean; @ViewChild(MatPaginator) paginator: MatPaginator;