Updated translations

This commit is contained in:
David Bomba 2025-02-06 17:54:56 +11:00
parent d49c9703a7
commit ddcce76eca
20 changed files with 155 additions and 74 deletions

View File

@ -405,21 +405,21 @@ class FacturaEInvoice extends AbstractService
if (strlen($item->tax_name1) > 1) { if (strlen($item->tax_name1) > 1) {
$data[$this->resolveTaxCode($item->tax_name1)] = $item->tax_rate1; $data[$this->resolveTaxCode($item->tax_name1)] = abs($item->tax_rate1);
} }
if (strlen($item->tax_name2) > 1) { if (strlen($item->tax_name2) > 1) {
$data[$this->resolveTaxCode($item->tax_name2)] = $item->tax_rate2; $data[$this->resolveTaxCode($item->tax_name2)] = abs($item->tax_rate2);
} }
if (strlen($item->tax_name3) > 1) { if (strlen($item->tax_name3) > 1) {
$data[$this->resolveTaxCode($item->tax_name3)] = $item->tax_rate3; $data[$this->resolveTaxCode($item->tax_name3)] = abs($item->tax_rate3);
} }

View File

@ -212,7 +212,9 @@ class PdfBuilder
$template = $template->render($data); $template = $template->render($data);
$f = $this->document->createDocumentFragment(); $f = $this->document->createDocumentFragment();
$f->appendXML($template); $f->appendXML($template);
$replacements[] = $f; $replacements[] = $f;
} }

View File

@ -21,6 +21,7 @@ use App\Models\Company;
use App\Models\Invoice; use App\Models\Invoice;
use App\Libraries\MultiDB; use App\Libraries\MultiDB;
use App\Export\CSV\BaseExport; use App\Export\CSV\BaseExport;
use App\Models\Project;
use App\Utils\Traits\MakesDates; use App\Utils\Traits\MakesDates;
use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\App;
use App\Services\Template\TemplateService; use App\Services\Template\TemplateService;
@ -86,4 +87,31 @@ class ProjectReport extends BaseExport
return $ts_instance->getPdf(); return $ts_instance->getPdf();
} }
private function getTaskAllocationData(Project $project)
{
$tasks = $project->tasks()->withTrashed()->map(function ($task) {
return [
'label' => strlen($task->description ?? '') > 0 ? $task->description : $task->number,
'hours' => ($task->calcDuration() / 3600)
];
});
$taskAllocationData = [
'labels' => $tasks->pluck('label'),
'datasets' => [
[
'label' => 'Hours Spent',
'data' => $tasks->pluck('hours'),
'backgroundColor' => 'rgba(54, 162, 235, 0.2)',
'borderColor' => 'rgba(54, 162, 235, 1)',
'borderWidth' => 1
]
]
];
return $taskAllocationData;
}
} }

View File

@ -120,9 +120,11 @@ class TemplateService
$function = new \Twig\TwigFunction('img', \Closure::fromCallable(function (string $image_src, string $image_style = '') { $function = new \Twig\TwigFunction('img', \Closure::fromCallable(function (string $image_src, string $image_style = '') {
$html = '<img src="' . $image_src . '" style="' . $image_style . '"></img>'; $html = '<img src="' . $image_src . '" style="' . $image_style . '"></img>';
return new \Twig\Markup($html, 'UTF-8'); return $html;
// return new \Twig\Markup($html, 'UTF-8');
})); }));
$this->twig->addFunction($function); $this->twig->addFunction($function);
$function = new \Twig\TwigFunction('t', \Closure::fromCallable(function (string $text_key) { $function = new \Twig\TwigFunction('t', \Closure::fromCallable(function (string $text_key) {

View File

@ -257,7 +257,6 @@ class TemplateEngine
/*If no custom design exists, send back a blank!*/ /*If no custom design exists, send back a blank!*/
if (strlen($wrapper) > 1) { if (strlen($wrapper) > 1) {
// $wrapper = $this->renderView($wrapper, $data);
} else { } else {
$wrapper = ''; $wrapper = '';
} }

52
composer.lock generated
View File

@ -8589,16 +8589,16 @@
}, },
{ {
"name": "open-telemetry/api", "name": "open-telemetry/api",
"version": "1.2.1", "version": "1.2.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/opentelemetry-php/api.git", "url": "https://github.com/opentelemetry-php/api.git",
"reference": "74b1a03263be8c5acb578f41da054b4bac3af4a0" "reference": "8b925df3047628968bc5be722468db1b98b82d51"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/opentelemetry-php/api/zipball/74b1a03263be8c5acb578f41da054b4bac3af4a0", "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/8b925df3047628968bc5be722468db1b98b82d51",
"reference": "74b1a03263be8c5acb578f41da054b4bac3af4a0", "reference": "8b925df3047628968bc5be722468db1b98b82d51",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8655,7 +8655,7 @@
"issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "issues": "https://github.com/open-telemetry/opentelemetry-php/issues",
"source": "https://github.com/open-telemetry/opentelemetry-php" "source": "https://github.com/open-telemetry/opentelemetry-php"
}, },
"time": "2025-01-20T23:35:16+00:00" "time": "2025-02-03T21:49:11+00:00"
}, },
{ {
"name": "open-telemetry/context", "name": "open-telemetry/context",
@ -11310,16 +11310,16 @@
}, },
{ {
"name": "sentry/sentry-laravel", "name": "sentry/sentry-laravel",
"version": "4.11.0", "version": "4.12.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/getsentry/sentry-laravel.git", "url": "https://github.com/getsentry/sentry-laravel.git",
"reference": "ad7d59652f6fb2934b54ef9d469abeaaf5f4eb96" "reference": "da1ee3417dfb3576a6aaa0f8b25892ebdb98fdb0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/ad7d59652f6fb2934b54ef9d469abeaaf5f4eb96", "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/da1ee3417dfb3576a6aaa0f8b25892ebdb98fdb0",
"reference": "ad7d59652f6fb2934b54ef9d469abeaaf5f4eb96", "reference": "da1ee3417dfb3576a6aaa0f8b25892ebdb98fdb0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -11383,7 +11383,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/getsentry/sentry-laravel/issues", "issues": "https://github.com/getsentry/sentry-laravel/issues",
"source": "https://github.com/getsentry/sentry-laravel/tree/4.11.0" "source": "https://github.com/getsentry/sentry-laravel/tree/4.12.0"
}, },
"funding": [ "funding": [
{ {
@ -11395,7 +11395,7 @@
"type": "custom" "type": "custom"
} }
], ],
"time": "2025-01-23T12:35:37+00:00" "time": "2025-02-05T13:13:03+00:00"
}, },
{ {
"name": "setasign/fpdf", "name": "setasign/fpdf",
@ -11445,31 +11445,31 @@
}, },
{ {
"name": "setasign/fpdi", "name": "setasign/fpdi",
"version": "v2.6.2", "version": "v2.6.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Setasign/FPDI.git", "url": "https://github.com/Setasign/FPDI.git",
"reference": "9e013b376939c0d4029f54150d2a16f3c67a5797" "reference": "67c31f5e50c93c20579ca9e23035d8c540b51941"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Setasign/FPDI/zipball/9e013b376939c0d4029f54150d2a16f3c67a5797", "url": "https://api.github.com/repos/Setasign/FPDI/zipball/67c31f5e50c93c20579ca9e23035d8c540b51941",
"reference": "9e013b376939c0d4029f54150d2a16f3c67a5797", "reference": "67c31f5e50c93c20579ca9e23035d8c540b51941",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-zlib": "*", "ext-zlib": "*",
"php": "^5.6 || ^7.0 || ^8.0" "php": "^7.1 || ^8.0"
}, },
"conflict": { "conflict": {
"setasign/tfpdf": "<1.31" "setasign/tfpdf": "<1.31"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~5.7", "phpunit/phpunit": "^7",
"setasign/fpdf": "~1.8.6", "setasign/fpdf": "~1.8.6",
"setasign/tfpdf": "~1.33", "setasign/tfpdf": "~1.33",
"squizlabs/php_codesniffer": "^3.5", "squizlabs/php_codesniffer": "^3.5",
"tecnickcom/tcpdf": "~6.2" "tecnickcom/tcpdf": "^6.2"
}, },
"suggest": { "suggest": {
"setasign/fpdf": "FPDI will extend this class but as it is also possible to use TCPDF or tFPDF as an alternative. There's no fixed dependency configured." "setasign/fpdf": "FPDI will extend this class but as it is also possible to use TCPDF or tFPDF as an alternative. There's no fixed dependency configured."
@ -11505,7 +11505,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/Setasign/FPDI/issues", "issues": "https://github.com/Setasign/FPDI/issues",
"source": "https://github.com/Setasign/FPDI/tree/v2.6.2" "source": "https://github.com/Setasign/FPDI/tree/v2.6.3"
}, },
"funding": [ "funding": [
{ {
@ -11513,7 +11513,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-12-10T13:12:19+00:00" "time": "2025-02-05T13:22:35+00:00"
}, },
{ {
"name": "smalot/pdfparser", "name": "smalot/pdfparser",
@ -17510,16 +17510,16 @@
}, },
{ {
"name": "composer/class-map-generator", "name": "composer/class-map-generator",
"version": "1.5.0", "version": "1.6.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/class-map-generator.git", "url": "https://github.com/composer/class-map-generator.git",
"reference": "4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915" "reference": "ffe442c5974c44a9343e37a0abcb1cc37319f5b9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/class-map-generator/zipball/4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915", "url": "https://api.github.com/repos/composer/class-map-generator/zipball/ffe442c5974c44a9343e37a0abcb1cc37319f5b9",
"reference": "4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915", "reference": "ffe442c5974c44a9343e37a0abcb1cc37319f5b9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -17563,7 +17563,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/composer/class-map-generator/issues", "issues": "https://github.com/composer/class-map-generator/issues",
"source": "https://github.com/composer/class-map-generator/tree/1.5.0" "source": "https://github.com/composer/class-map-generator/tree/1.6.0"
}, },
"funding": [ "funding": [
{ {
@ -17579,7 +17579,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-11-25T16:11:06+00:00" "time": "2025-02-05T10:05:34+00:00"
}, },
{ {
"name": "composer/semver", "name": "composer/semver",

View File

@ -34,7 +34,7 @@ $lang = array(
'frequency_id' => 'Wie oft', 'frequency_id' => 'Wie oft',
'discount' => 'Rabatt', 'discount' => 'Rabatt',
'taxes' => 'Steuern', 'taxes' => 'Steuern',
'tax' => 'Steuer', 'tax' => 'USt',
'item' => 'Artikel', 'item' => 'Artikel',
'description' => 'Beschreibung', 'description' => 'Beschreibung',
'unit_cost' => 'Einzelpreis', 'unit_cost' => 'Einzelpreis',
@ -5494,7 +5494,12 @@ Leistungsempfängers',
'activity_149' => ':user hat Gutschrift :credit für :client an :contact gesendet', 'activity_149' => ':user hat Gutschrift :credit für :client an :contact gesendet',
'email_history_empty' => 'Kein E-Mail-Verlauf gefunden, diese Funktion ist nur beim Senden mit Postmark/Mailgun verfügbar.', 'email_history_empty' => 'Kein E-Mail-Verlauf gefunden, diese Funktion ist nur beim Senden mit Postmark/Mailgun verfügbar.',
'e_invoicing' => 'E-Rechnung', 'e_invoicing' => 'E-Rechnung',
'einvoice_token_not_found' => 'E-Rechnung Token nicht gefunden. Senden Sie eine Mail an contact@invoiceninja.com, um weitere Informationen zu erhalten.', 'einvoice_token_not_found' => 'Token für E-Rechnung nicht gefunden. Bitte gehen Sie zu Einstellungen > E-Rechnung und generieren Sie den Token erneut.',
'regenerate' => 'Erneut generieren',
'subscription_unavailable' => 'Dieser Artikel ist nicht mehr verfügbar',
'currency_samoan_tala' => 'Samoan Tala',
'confirm_duplicate_gateway' => 'Möchten Sie wirklich eine weitere Verbindung erstellen?',
'clients_limit' => 'Sie haben Ihr Kundenlimit erreicht. Bitte aktualisieren Sie Ihren Plan.',
); );
return $lang; return $lang;

View File

@ -5488,9 +5488,12 @@ Développe automatiquement la section des notes dans le tableau de produits pour
'activity_149' => ':user a envoyé par courriel le crédit :credit pour :client à :contact', 'activity_149' => ':user a envoyé par courriel le crédit :credit pour :client à :contact',
'email_history_empty' => 'Aucun historique de courriel trouvé. Cette fonctionnalité est uniquement disponible lors de l\'envoi avec Postmark/Mailgun.', 'email_history_empty' => 'Aucun historique de courriel trouvé. Cette fonctionnalité est uniquement disponible lors de l\'envoi avec Postmark/Mailgun.',
'e_invoicing' => 'Facture électronique', 'e_invoicing' => 'Facture électronique',
'einvoice_token_not_found' => 'Le jeton de facturation électronique est introuvable. Veuillez vous rendre dans Réglages > Facturation électronique et régénérer le jeton.', 'einvoice_token_not_found' => 'Jeton de facturation électronique introuvable. Veuillez aller dans Paramètres > Facture électronique et régénérer le jeton.',
'regenerate' => 'Régénérer', 'regenerate' => 'Régénérer',
'subscription_unavailable' => 'Cet item n\'est plus disponible',
'currency_samoan_tala' => 'Tala samoane',
'confirm_duplicate_gateway' => 'Êtes-vous sûr de vouloir créer une autre connexion ?',
'clients_limit' => 'Vous avez atteint la limite de clients. Veuillez mettre à niveau votre plan.',
); );
return $lang; return $lang;

View File

@ -43,7 +43,7 @@ $lang = array(
'subtotal' => 'Subtotaal', 'subtotal' => 'Subtotaal',
'net_subtotal' => 'Netto', 'net_subtotal' => 'Netto',
'paid_to_date' => 'Reeds betaald', 'paid_to_date' => 'Reeds betaald',
'balance_due' => 'Te voldaan', 'balance_due' => 'Te voldoen',
'invoice_design_id' => 'Ontwerp', 'invoice_design_id' => 'Ontwerp',
'terms' => 'Voorwaarden', 'terms' => 'Voorwaarden',
'your_invoice' => 'Uw factuur', 'your_invoice' => 'Uw factuur',
@ -5492,7 +5492,10 @@ E-mail: :email<b><br><b>',
'e_invoicing' => 'E-Invoicing', 'e_invoicing' => 'E-Invoicing',
'einvoice_token_not_found' => 'E-invoicing token not found. Please go to Settings > E-invoice and regenerate token.', 'einvoice_token_not_found' => 'E-invoicing token not found. Please go to Settings > E-invoice and regenerate token.',
'regenerate' => 'Regenerate', 'regenerate' => 'Regenerate',
'subscription_unavailable' => 'This item is no longer available',
'currency_samoan_tala' => 'Samoan Tala',
'confirm_duplicate_gateway' => 'Are you sure you want to create another connection?',
'clients_limit' => 'You have reached your client limit. Please upgrade your plan.',
); );
return $lang; return $lang;

View File

@ -5490,7 +5490,12 @@ $lang = array(
'activity_149' => ':user đã gửi email ghi rõ :credit cho :client đến :contact', 'activity_149' => ':user đã gửi email ghi rõ :credit cho :client đến :contact',
'email_history_empty' => 'Không tìm thấy lịch sử email , tính năng này chỉ khả dụng khi gửi bằng Postmark/Mailgun.', 'email_history_empty' => 'Không tìm thấy lịch sử email , tính năng này chỉ khả dụng khi gửi bằng Postmark/Mailgun.',
'e_invoicing' => 'E- lập hóa đơn', 'e_invoicing' => 'E- lập hóa đơn',
'einvoice_token_not_found' => 'Không tìm thấy mã thông báo lập hóa đơn . email contact@invoiceninja.com để biết thêm thông tin.', 'einvoice_token_not_found' => 'Không tìm thấy mã thông báo lập hóa đơn . Vui lòng đến Cài đặt &gt; E- Hóa đơn và tạo lại token.',
'regenerate' => 'Tái tạo',
'subscription_unavailable' => 'Mục này không còn nữa',
'currency_samoan_tala' => 'Samoa Tala',
'confirm_duplicate_gateway' => 'Bạn có chắc chắn Tạo đến nối khác không?',
'clients_limit' => 'Bạn đã đạt đến giới hạn khách hàng của mình. Vui lòng nâng cấp gói của bạn.',
); );
return $lang; return $lang;

59
package-lock.json generated
View File

@ -9,6 +9,8 @@
"axios": "^0.25", "axios": "^0.25",
"card-js": "^1.0.13", "card-js": "^1.0.13",
"card-validator": "^8.1.1", "card-validator": "^8.1.1",
"chartjs": "^0.3.24",
"chartjs-plugin-datalabels": "^2.2.0",
"clipboard": "^2.0.10", "clipboard": "^2.0.10",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"jsignature": "^2.1.3", "jsignature": "^2.1.3",
@ -2186,6 +2188,12 @@
"@jridgewell/sourcemap-codec": "^1.4.14" "@jridgewell/sourcemap-codec": "^1.4.14"
} }
}, },
"node_modules/@kurkle/color": {
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.4.tgz",
"integrity": "sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==",
"peer": true
},
"node_modules/@leichtgewicht/ip-codec": { "node_modules/@leichtgewicht/ip-codec": {
"version": "2.0.4", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz",
@ -3630,6 +3638,31 @@
"node": "*" "node": "*"
} }
}, },
"node_modules/chart.js": {
"version": "4.4.7",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.7.tgz",
"integrity": "sha512-pwkcKfdzTMAU/+jNosKhNL2bHtJc/sSmYgVbuGTEDhzkrhmyihmP7vUc/5ZK9WopidMDHNe3Wm7jOd/WhuHWuw==",
"peer": true,
"dependencies": {
"@kurkle/color": "^0.3.0"
},
"engines": {
"pnpm": ">=8"
}
},
"node_modules/chartjs": {
"version": "0.3.24",
"resolved": "https://registry.npmjs.org/chartjs/-/chartjs-0.3.24.tgz",
"integrity": "sha512-h6G9qcDqmFYnSWqjWCzQMeOLiypS+pM6Fq2Rj7LPty8Kjx5yHonwwJ7oEHImZpQ2u9Pu36XGYfardvvBiQVrhg=="
},
"node_modules/chartjs-plugin-datalabels": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/chartjs-plugin-datalabels/-/chartjs-plugin-datalabels-2.2.0.tgz",
"integrity": "sha512-14ZU30lH7n89oq+A4bWaJPnAG8a7ZTk7dKf48YAzMvJjQtjrgg5Dpk9f+LbjCF6bpx3RAGTeL13IXpKQYyRvlw==",
"peerDependencies": {
"chart.js": ">=3.0.0"
}
},
"node_modules/check-more-types": { "node_modules/check-more-types": {
"version": "2.24.0", "version": "2.24.0",
"resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz",
@ -12833,6 +12866,12 @@
"@jridgewell/sourcemap-codec": "^1.4.14" "@jridgewell/sourcemap-codec": "^1.4.14"
} }
}, },
"@kurkle/color": {
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.4.tgz",
"integrity": "sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==",
"peer": true
},
"@leichtgewicht/ip-codec": { "@leichtgewicht/ip-codec": {
"version": "2.0.4", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz",
@ -14012,6 +14051,26 @@
"resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz",
"integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==" "integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA=="
}, },
"chart.js": {
"version": "4.4.7",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.7.tgz",
"integrity": "sha512-pwkcKfdzTMAU/+jNosKhNL2bHtJc/sSmYgVbuGTEDhzkrhmyihmP7vUc/5ZK9WopidMDHNe3Wm7jOd/WhuHWuw==",
"peer": true,
"requires": {
"@kurkle/color": "^0.3.0"
}
},
"chartjs": {
"version": "0.3.24",
"resolved": "https://registry.npmjs.org/chartjs/-/chartjs-0.3.24.tgz",
"integrity": "sha512-h6G9qcDqmFYnSWqjWCzQMeOLiypS+pM6Fq2Rj7LPty8Kjx5yHonwwJ7oEHImZpQ2u9Pu36XGYfardvvBiQVrhg=="
},
"chartjs-plugin-datalabels": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/chartjs-plugin-datalabels/-/chartjs-plugin-datalabels-2.2.0.tgz",
"integrity": "sha512-14ZU30lH7n89oq+A4bWaJPnAG8a7ZTk7dKf48YAzMvJjQtjrgg5Dpk9f+LbjCF6bpx3RAGTeL13IXpKQYyRvlw==",
"requires": {}
},
"check-more-types": { "check-more-types": {
"version": "2.24.0", "version": "2.24.0",
"resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz",

View File

@ -27,6 +27,8 @@
"axios": "^0.25", "axios": "^0.25",
"card-js": "^1.0.13", "card-js": "^1.0.13",
"card-validator": "^8.1.1", "card-validator": "^8.1.1",
"chartjs": "^0.3.24",
"chartjs-plugin-datalabels": "^2.2.0",
"clipboard": "^2.0.10", "clipboard": "^2.0.10",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"jsignature": "^2.1.3", "jsignature": "^2.1.3",

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@
"file": "assets/wait-8f4ae121.js" "file": "assets/wait-8f4ae121.js"
}, },
"resources/js/app.js": { "resources/js/app.js": {
"file": "assets/app-0556b83f.js", "file": "assets/app-09990367.js",
"imports": [ "imports": [
"_index-08e160a7.js", "_index-08e160a7.js",
"__commonjsHelpers-725317a4.js" "__commonjsHelpers-725317a4.js"

View File

@ -1 +0,0 @@
.card-js input.card-number{padding-right:48px}.card-js .card-number-wrapper .card-type-icon{height:23px;width:32px;position:absolute;display:block;right:8px;top:7px;background:url(https://cardjs.co.uk/img/cards.png) 0 23px no-repeat;pointer-events:none;opacity:0;-webkit-transition:opacity .15s linear;-moz-transition:opacity .15s linear;-ms-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.card-js .card-number-wrapper .show{opacity:1}.card-js .card-number-wrapper .card-type-icon.visa{background-position:0 0}.card-js .card-number-wrapper .card-type-icon.master-card{background-position:-32px 0}.card-js .card-number-wrapper .card-type-icon.american-express{background-position:-64px 0}.card-js .card-number-wrapper .card-type-icon.discover{background-position:-96px 0}.card-js .card-number-wrapper .card-type-icon.diners{background-position:-128px 0}.card-js .card-number-wrapper .card-type-icon.jcb{background-position:-160px 0}.card-js .cvc-container{width:50%;float:right}.card-js .cvc-wrapper{box-sizing:border-box;margin-left:5px}.card-js .cvc-wrapper .cvc{display:block;width:100%}.card-js .expiry-container{width:50%;float:left}.card-js .expiry-wrapper{box-sizing:border-box;margin-right:5px}.card-js .expiry-wrapper .expiry{display:block;width:100%}.card-js .expiry-wrapper .expiry-month{border-top-right-radius:0;border-bottom-right-radius:0;padding-left:30px}.card-js .expiry-wrapper .expiry-year{border-top-left-radius:0;border-bottom-left-radius:0;border-left:0}.card-js .expiry-wrapper .expiry-month,.card-js .expiry-wrapper .expiry-year{display:inline-block}.card-js .expiry-wrapper .expiry{padding-left:38px}.card-js .icon{position:absolute;display:block;width:24px;height:17px;left:8px;top:10px;pointer-events:none}.card-js .icon.right{right:8px;left:auto}.card-js .icon.popup{cursor:pointer;pointer-events:auto}.card-js .icon .svg{fill:#888}.card-js .icon.popup .svg{fill:#aaa!important}.card-js .card-number-wrapper,.card-js .name-wrapper{margin-bottom:15px;width:100%}.card-js .card-number-wrapper,.card-js .cvc-wrapper,.card-js .expiry-wrapper,.card-js .name-wrapper{-webkit-box-shadow:0 1px 0 rgba(255,255,255,.7),inset 0 1px 0 rgba(255,255,255,.7);-moz-box-shadow:0 1px 0 rgba(255,255,255,.7),inset 0 1px 0 rgba(255,255,255,.7);-ms-box-shadow:0 1px 0 rgba(255,255,255,.7),inset 0 1px 0 rgba(255,255,255,.7);-o-box-shadow:0 1px 0 rgba(255,255,255,.7),inset 0 1px 0 rgba(255,255,255,.7);box-shadow:0 1px 0 rgba(255,255,255,.7),inset 0 1px 0 rgba(255,255,255,.7);position:relative}.card-js .card-number-wrapper,.card-js .cvc-container,.card-js .expiry-container,.card-js .name-wrapper{display:inline-block}.card-js::after{content:' ';display:table;clear:both}.card-js input,.card-js select{color:#676767;font-size:15px;font-weight:300;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;height:36px;border:1px solid #d9d9d9;border-radius:4px;box-shadow:none;background-color:#FDFDFD;box-sizing:border-box;padding:0;-webkit-transition:border-color .15s linear,box-shadow .15s linear;-moz-transition:border-color .15s linear,box-shadow .15s linear;-ms-transition:border-color .15s linear,box-shadow .15s linear;-o-transition:border-color .15s linear,box-shadow .15s linear;transition:border-color .15s linear,box-shadow .15s linear}.card-js select{-moz-appearance:none;text-indent:.01px;text-overflow:''}.card-js input[disabled],.card-js select[disabled]{background-color:#eee;color:#555}.card-js select option[hidden]{color:#ABA9A9}.card-js input:focus,.card-js select:focus{background-color:#fff;outline:0;border-color:#66afe9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.card-js input[readonly=readonly]:not([disabled]),.card-js input[readonly]:not([disabled]){background-color:#fff;cursor:pointer}.card-js .has-error input,.card-js .has-error input:focus{border-color:#F64B2F;box-shadow:none}.card-js input.card-number,.card-js input.cvc,.card-js input.name{padding-left:38px;width:100%}.card-js.stripe .icon .svg{fill:#559A28}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
public/js/coreui.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -58,20 +58,7 @@ export default defineConfig({
'resources/js/clients/payments/blockonomics.js', 'resources/js/clients/payments/blockonomics.js',
]), ]),
viteStaticCopy({ viteStaticCopy({
targets: [ targets: [],
{
src: 'node_modules/card-js/card-js.min.js',
dest: 'public/js/card-js.min.js',
},
{
src: 'node_modules/card-js/card-js.min.css',
dest: 'public/css/card-js.min.css',
},
{
src: 'node_modules/clipboard/dist/clipboard.min.js',
dest: 'public/vendor/clipboard.min.js',
},
],
}), }),
], ],
}); });