Skip to content

Commit 4ff5a8a

Browse files
committed
Update Receipt.php
1 parent 2e81e89 commit 4ff5a8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

includes/Templates/Receipt.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
namespace WCPOS\WooCommercePOS\Templates;
99

1010
use Exception;
11+
use WCPOS\WooCommercePOS\Templates as TemplatesManager;
1112

1213
class Receipt {
1314
/**
@@ -151,7 +152,7 @@ private function get_custom_template(): ?array {
151152
}
152153

153154
// Get active receipt template from database
154-
return Templates::get_active_template( 'receipt' );
155+
return TemplatesManager::get_active_template( 'receipt' );
155156
}
156157

157158
/**

0 commit comments

Comments
 (0)