Compare commits
No commits in common. "e3e0b1c48f188ef1d8e058414738155847eb956f" and "8724d54c82f49e79d418dc86de1e1263f5ca7f63" have entirely different histories.
e3e0b1c48f
...
8724d54c82
27
CHANGELOG.md
|
@ -3,30 +3,6 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [2.0.0] - 2023-03-16
|
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- Added the Xero invoice number in the memo for invoice payments.
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- Various look and feel changes to support the latest version of Angular.
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- Correct display of translated phrases in various components.
|
|
||||||
|
|
||||||
## [2.0.0-beta] - 2023-02-23
|
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- Service to request language tokens from server
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- Parametrization of text elements
|
|
||||||
|
|
||||||
## [1.4.1] - 2023-01-09
|
## [1.4.1] - 2023-01-09
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -90,14 +66,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
- Convenience buttons on checkout for wallets that are not ZIP-321-compliant
|
- Convenience buttons on checkout for wallets that are not ZIP-321-compliant
|
||||||
- PmtService Component first alpha version ready for testing
|
- PmtService Component first alpha version ready for testing
|
||||||
- Add `crmToken` field to `owner.model.ts`
|
|
||||||
- Add `externalInvoice` field and `shortCode` field to `order.model.ts`
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Memo for checkout orders
|
- Memo for checkout orders
|
||||||
|
|
||||||
|
|
||||||
## [1.2.1] - 2022-08-01
|
## [1.2.1] - 2022-08-01
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
829
languages.csv
|
@ -1,829 +0,0 @@
|
||||||
"encode_id","view_name","view_element","view_element_text"
|
|
||||||
"br-US","business","business_accept_terms","Eu aceito os "
|
|
||||||
"br-US","business","business_addrs_nobiz","Não temos um negócio associado a este endereço Zcash, por favor insira suas informações abaixo:"
|
|
||||||
"br-US","business","business_biz_addressholder","Endereço"
|
|
||||||
"br-US","business","business_biz_addresslbl","Endereço:"
|
|
||||||
"br-US","business","business_biz_cityholder","Cidade"
|
|
||||||
"br-US","business","business_biz_citylbl","Cidade:"
|
|
||||||
"br-US","business","business_biz_countryholder","País"
|
|
||||||
"br-US","business","business_biz_countrylbl","País:"
|
|
||||||
"br-US","business","business_biz_info","Insira os dados da empresa"
|
|
||||||
"br-US","business","business_biz_mailholder","exemplo@dominio.com"
|
|
||||||
"br-US","business","business_biz_maillbl","E-mail"
|
|
||||||
"br-US","business","business_biz_nameholder","Nome da empresa"
|
|
||||||
"br-US","business","business_biz_namelbl","Nome da empresa:"
|
|
||||||
"br-US","business","business_biz_pcodeholder","Código Postal"
|
|
||||||
"br-US","business","business_biz_pcodelbl","Código postal:"
|
|
||||||
"br-US","business","business_biz_stateholder","Estado/Provincia"
|
|
||||||
"br-US","business","business_biz_statelbl","Estado/Provincia"
|
|
||||||
"br-US","business","business_biz_websiteholder","Website"
|
|
||||||
"br-US","business","business_biz_websitelbl","Website"
|
|
||||||
"br-US","business","business_contact_fnamelbl","Primeiro nome do contato:"
|
|
||||||
"br-US","business","business_contact_fnholder","Nome"
|
|
||||||
"br-US","business","business_contact_lnamelbl","Último sobrenome do contato:"
|
|
||||||
"br-US","business","business_contact_lnholder","Sobrenome "
|
|
||||||
"br-US","business","business_save_btn","Salvar"
|
|
||||||
"br-US","business","business_select_session","Selecione a duração da sessão que você necessita:"
|
|
||||||
"br-US","business","business_session_label","Sessão:"
|
|
||||||
"br-US","business","business_session_lengthlbl","Duração da sessão"
|
|
||||||
"br-US","business","business_session_paylbl","Pagar"
|
|
||||||
"br-US","business","business_signup_title","Inscrição de negócio"
|
|
||||||
"br-US","business","business_terms_ofuse","Termos de Uso"
|
|
||||||
"br-US","business","business_zgo_confirmlbl","ZGo confirma o seu pagamento"
|
|
||||||
"br-US","cancel","cancel_confirm_btn","Confirmar"
|
|
||||||
"br-US","cancel","cancel_dismiss_btn","Descartar"
|
|
||||||
"br-US","cancel","cancel_title","Cancelar"
|
|
||||||
"br-US","checkout","checkout_accept_btn","Aceitar"
|
|
||||||
"br-US","checkout","checkout_cant_scan","Não consegue escanear?"
|
|
||||||
"br-US","checkout","checkout_close_btn","Fechar"
|
|
||||||
"br-US","checkout","checkout_copyaddress_error","Erro ao copiar endereço"
|
|
||||||
"br-US","checkout","checkout_copyamount_error","Erro ao copiar o valor"
|
|
||||||
"br-US","checkout","checkout_copymemo_error","Erro ao copiar o memorando"
|
|
||||||
"br-US","checkout","checkout_copy_address","Copiar Endereço"
|
|
||||||
"br-US","checkout","checkout_copy_amount","Copiar Valor"
|
|
||||||
"br-US","checkout","checkout_copy_memo","Copiar Memo"
|
|
||||||
"br-US","checkout","checkout_copy_notavail","Funcionalidade de cópia não suportada!!"
|
|
||||||
"br-US","checkout","checkout_notserv_close","Fechar"
|
|
||||||
"br-US","checkout","checkout_notserv_error","Erro"
|
|
||||||
"br-US","checkout","checkout_scan_payment","Escaneie para fazer o pagamento"
|
|
||||||
"br-US","checkout","checkout_use_this","Use este/isso"
|
|
||||||
"br-US","checkout","checkout_wallet_link","link de carteira"
|
|
||||||
"br-US","checkout","checkout_wallet_or",", ou "
|
|
||||||
"br-US","dbexport","dbexport_btn_close","Cancelar"
|
|
||||||
"br-US","dbexport","dbexport_closed_no","Não"
|
|
||||||
"br-US","dbexport","dbexport_closed_yes","Sim"
|
|
||||||
"br-US","dbexport","dbexport_date_range","Intervalo de datas:"
|
|
||||||
"br-US","dbexport","dbexport_download_link","Download"
|
|
||||||
"br-US","dbexport","dbexport_end_date","Data de término"
|
|
||||||
"br-US","dbexport","dbexport_export_descrip","Exportar pedidos em um arquivo de formato .CSV"
|
|
||||||
"br-US","dbexport","dbexport_file_header","""Data"",""ID do pedido"",""Moeda"",""Fechado?"",""Valor"",""Taxa"",""ZEC"",""Pago?"",""Fatura"""
|
|
||||||
"br-US","dbexport","dbexport_invalid_end","Data final inválida"
|
|
||||||
"br-US","dbexport","dbexport_invalid_start","Data de início inválida"
|
|
||||||
"br-US","dbexport","dbexport_noorders_created","Você não tem pedidos criados."
|
|
||||||
"br-US","dbexport","dbexport_nothing_todo","Nada para fazer."
|
|
||||||
"br-US","dbexport","dbexport_paid_no","Não"
|
|
||||||
"br-US","dbexport","dbexport_paid_yes","Sim"
|
|
||||||
"br-US","dbexport","dbexport_settings_title","Exportar pedidos"
|
|
||||||
"br-US","dbexport","dbexport_start_date","Data de início"
|
|
||||||
"br-US","header","header_get_currency","Moeda:"
|
|
||||||
"br-US","header","header_last_block","Último Bloco:"
|
|
||||||
"br-US","invoice","invoice_cant_scan","Não consegue escanear?"
|
|
||||||
"br-US","invoice","invoice_copyaddress_error","Erro ao copiar endereço"
|
|
||||||
"br-US","invoice","invoice_copyamount_error","Erro ao copiar o valor"
|
|
||||||
"br-US","invoice","invoice_copymemo_error","Erro ao copiar o memorando"
|
|
||||||
"br-US","invoice","invoice_copy_address","Copiar Endereço"
|
|
||||||
"br-US","invoice","invoice_copy_amount","Copiar Valor"
|
|
||||||
"br-US","invoice","invoice_copy_memo","Copiar Memo"
|
|
||||||
"br-US","invoice","invoice_copy_notavail","Funcionalidade de cópia não suportada"
|
|
||||||
"br-US","invoice","invoice_dot_or",", ou"
|
|
||||||
"br-US","invoice","invoice_info_notavail","Não há informação disponível."
|
|
||||||
"br-US","invoice","invoice_invalid_id","ID do fatura incorreto."
|
|
||||||
"br-US","invoice","invoice_invoice_lbl","Fatura"
|
|
||||||
"br-US","invoice","invoice_invoice_total","Total da Fatura:"
|
|
||||||
"br-US","invoice","invoice_notserv_close","Fechar"
|
|
||||||
"br-US","invoice","invoice_notserv_error","Erro"
|
|
||||||
"br-US","invoice","invoice_order_date","Data: "
|
|
||||||
"br-US","invoice","invoice_order_id","ID do Pedido: "
|
|
||||||
"br-US","invoice","invoice_order_price","Preço "
|
|
||||||
"br-US","invoice","invoice_payment_confirmed","Pagamento Confirmado!!"
|
|
||||||
"br-US","invoice","invoice_payment_pending","Pagamento Pendente!!"
|
|
||||||
"br-US","invoice","invoice_qty_lbl","Qtde."
|
|
||||||
"br-US","invoice","invoice_return_toshop","Voltar à Loja"
|
|
||||||
"br-US","invoice","invoice_scan_qrcode","Escaneie o QR Code com sua carteira para efetuar o pagamento"
|
|
||||||
"br-US","invoice","invoice_use_this","Use isso "
|
|
||||||
"br-US","invoice","invoice_wallet_link","Link da Carteira"
|
|
||||||
"br-US","invoice","invoice_zcash_price","Preço da Zcash: "
|
|
||||||
"br-US","itemadd","itemadd_add_2order","Adicionar Item ao Pedido"
|
|
||||||
"br-US","itemadd","itemadd_cancel_btn","Cancelar"
|
|
||||||
"br-US","itemadd","itemadd_save_btn","Adicionar"
|
|
||||||
"br-US","itemcreate","itemcreate_add_item","Adicionar Item"
|
|
||||||
"br-US","itemcreate","itemcreate_close_btn","Fechar"
|
|
||||||
"br-US","itemcreate","itemcreate_item_descr","Descrição"
|
|
||||||
"br-US","itemcreate","itemcreate_item_lbl","Item"
|
|
||||||
"br-US","itemcreate","itemcreate_item_price","Preço"
|
|
||||||
"br-US","itemcreate","itemcreate_save_btn","Salvar"
|
|
||||||
"br-US","itemcreate","itemcreate_use_nums","Use apenas números"
|
|
||||||
"br-US","itemdel","itemdel_close_btn","Fechar"
|
|
||||||
"br-US","itemdel","itemdel_confirm_del","Tem certeza de que deseja apagar "
|
|
||||||
"br-US","itemdel","itemdel_delete_btn","Excluir"
|
|
||||||
"br-US","itemdel","itemdel_del_item","Excluir Item"
|
|
||||||
"br-US","itemedit","itemedit_close_btn","Fechar"
|
|
||||||
"br-US","itemedit","itemedit_edit_item","Editar Item"
|
|
||||||
"br-US","itemedit","itemedit_item_descr","Descrição "
|
|
||||||
"br-US","itemedit","itemedit_item_label","Item"
|
|
||||||
"br-US","itemedit","itemedit_item_price","Preço:"
|
|
||||||
"br-US","itemedit","itemedit_save_btn","Salvar"
|
|
||||||
"br-US","itemlist","itemlist_avail_items","Items disponíveis:"
|
|
||||||
"br-US","itemlist","itemlist_list_empty","Ainda não há itens"
|
|
||||||
"br-US","listorders","listorders_backtoshop_btn","Voltar a Loja"
|
|
||||||
"br-US","listorders","listorders_export_orders","Exportar Pedidos"
|
|
||||||
"br-US","listorders","listorders_invoice_btn","Fatura"
|
|
||||||
"br-US","listorders","listorders_item_lbl","Item"
|
|
||||||
"br-US","listorders","listorders_no_orders","Não há Pedidos"
|
|
||||||
"br-US","listorders","listorders_order_id","ID do Pedido"
|
|
||||||
"br-US","listorders","listorders_order_total","Total do Pedido:"
|
|
||||||
"br-US","listorders","listorders_overall_total","Total geral: "
|
|
||||||
"br-US","listorders","listorders_qty_lbl","Qtde."
|
|
||||||
"br-US","listorders","listorders_receipt_btn","Comprovante"
|
|
||||||
"br-US","listorders","listorders_todays_total","Total de hoje: "
|
|
||||||
"br-US","listorders","listorders_total_lbl","Total"
|
|
||||||
"br-US","login","login_check_wallet","Verifique sua carteira!!"
|
|
||||||
"br-US","login","login_confirm_login","ZGo confirma seu login na blockchain da Zcash"
|
|
||||||
"br-US","login","login_confirm_pin","Confirmar Senha"
|
|
||||||
"br-US","login","login_connect_to_zgo","Conecte sua carteira ao ZGo"
|
|
||||||
"br-US","login","login_enter_pin","Insira a senha enviada pela ZGo para confirmar a propriedade da carteira:"
|
|
||||||
"br-US","login","login_last_block","Último bloco visto:"
|
|
||||||
"br-US","login","login_link_wallet","Conecte sua carteira"
|
|
||||||
"br-US","login","login_wrong_pin","Senha incorreta!"
|
|
||||||
"br-US","main","main_price_data","Preços informados pela CoinGecko API"
|
|
||||||
"br-US","order","order_cancel_btn","Cancelar"
|
|
||||||
"br-US","order","order_cancel_ok","Pedido cancelado com sucesso!"
|
|
||||||
"br-US","order","order_cancel_order","Cancelar o pedido?"
|
|
||||||
"br-US","order","order_checkout_btn","Procesar"
|
|
||||||
"br-US","order","order_confirm_cancel","Tem certeza que deseja cancelar o pedido?"
|
|
||||||
"br-US","order","order_confirm_remove","Tem certeza que deseja remover <<"
|
|
||||||
"br-US","order","order_confirm_remove1"," deste pedido?"
|
|
||||||
"br-US","order","order_invoice_btn","Fatura"
|
|
||||||
"br-US","order","order_item_lbl","Item"
|
|
||||||
"br-US","order","order_notserv_close","Fechar"
|
|
||||||
"br-US","order","order_notserv_success","succeso"
|
|
||||||
"br-US","order","order_no_openorder","Sem pedido aberto!!"
|
|
||||||
"br-US","order","order_qty_lbl","Qtde."
|
|
||||||
"br-US","order","order_remove_item","Remover o Item?"
|
|
||||||
"br-US","order","order_total_lbl","Total"
|
|
||||||
"br-US","order","order_total_title","Total do Pedido:"
|
|
||||||
"br-US","pmtservice","pmtservice_amount_doesnot","O Valor não"
|
|
||||||
"br-US","pmtservice","pmtservice_cant_scan","Não consegue escanear?"
|
|
||||||
"br-US","pmtservice","pmtservice_connecto_xero","Conexão para o Xero"
|
|
||||||
"br-US","pmtservice","pmtservice_copyaddress_error","Erro ao copiar endereço"
|
|
||||||
"br-US","pmtservice","pmtservice_copyamount_error","Erro ao copiar o valor"
|
|
||||||
"br-US","pmtservice","pmtservice_copymemo_error","Erro ao copiar o memorando"
|
|
||||||
"br-US","pmtservice","pmtservice_copy_address","Copiar Endereço"
|
|
||||||
"br-US","pmtservice","pmtservice_copy_amount","Copiar Valor"
|
|
||||||
"br-US","pmtservice","pmtservice_copy_memo","Copiar Memo"
|
|
||||||
"br-US","pmtservice","pmtservice_copy_notavail","Funcionalidade de cópia não suportada"
|
|
||||||
"br-US","pmtservice","pmtservice_currency_notsup","não suportada!!"
|
|
||||||
"br-US","pmtservice","pmtservice_enabled_for","habilitado para"
|
|
||||||
"br-US","pmtservice","pmtservice_hdr_txt1","Fatura"
|
|
||||||
"br-US","pmtservice","pmtservice_hdr_txt2","ID do Pedido: "
|
|
||||||
"br-US","pmtservice","pmtservice_hdr_txt3","Data: "
|
|
||||||
"br-US","pmtservice","pmtservice_invalid_ownerid","ID do proprietário inválido!!"
|
|
||||||
"br-US","pmtservice","pmtservice_invoice_currency","Moeda"
|
|
||||||
"br-US","pmtservice","pmtservice_invoice_invalid","tipo inválido!!"
|
|
||||||
"br-US","pmtservice","pmtservice_invoice_item","Item:"
|
|
||||||
"br-US","pmtservice","pmtservice_invoice_notfound","não encontrada!!"
|
|
||||||
"br-US","pmtservice","pmtservice_invoice_num","Fatura"
|
|
||||||
"br-US","pmtservice","pmtservice_invoice_paid","já pago!!"
|
|
||||||
"br-US","pmtservice","pmtservice_invoice_price","Preço"
|
|
||||||
"br-US","pmtservice","pmtservice_invoice_qty","Qtde."
|
|
||||||
"br-US","pmtservice","pmtservice_invoice_total","Total da Fatura:"
|
|
||||||
"br-US","pmtservice","pmtservice_match_value","corresponde ao valor"
|
|
||||||
"br-US","pmtservice","pmtservice_notserv_close","Fechar"
|
|
||||||
"br-US","pmtservice","pmtservice_notserv_error","Erro"
|
|
||||||
"br-US","pmtservice","pmtservice_payment_confirmed","Pagamento Confirmado!!"
|
|
||||||
"br-US","pmtservice","pmtservice_payment_notprocessed","Pedido de pagamento não foi processado!!"
|
|
||||||
"br-US","pmtservice","pmtservice_payment_pending","Pagamento Pendente!!"
|
|
||||||
"br-US","pmtservice","pmtservice_pmtsrv_not","Serviço de pagamento não"
|
|
||||||
"br-US","pmtservice","pmtservice_reported_byxero","reportado por Xero!!"
|
|
||||||
"br-US","pmtservice","pmtservice_scan_qrcode","Escaneie o QR Code com sua carteira para efetuar o pagamento"
|
|
||||||
"br-US","pmtservice","pmtservice_server_failed","servidor falhou!!"
|
|
||||||
"br-US","pmtservice","pmtservice_use_this","Use isso"
|
|
||||||
"br-US","pmtservice","pmtservice_wallet_link","Link da Carteira"
|
|
||||||
"br-US","pmtservice","pmtservice_zecdata_price","Preço da Zcash:"
|
|
||||||
"br-US","pmtservice","pmtservice_zecdata_total","Total: "
|
|
||||||
"br-US","promptinvoice","promptinvoice_func_notavail","Funcionalidade não disponível para o seu navegador. Use o botão enviar ao invés disso"
|
|
||||||
"br-US","promptinvoice","promptinvoice_invoice_cancel","Cancelar"
|
|
||||||
"br-US","promptinvoice","promptinvoice_invoice_clipboard","URL da fatura copiado para a área de transferência!!"
|
|
||||||
"br-US","promptinvoice","promptinvoice_invoice_sent","Enviado!"
|
|
||||||
"br-US","promptinvoice","promptinvoice_invoice_url","URL da Fatura:"
|
|
||||||
"br-US","promptinvoice","promptinvoice_notserv_close","Fechar"
|
|
||||||
"br-US","promptinvoice","promptinvoice_notserv_error","Erro"
|
|
||||||
"br-US","promptinvoice","promptinvoice_notserv_success","Suceso"
|
|
||||||
"br-US","promptinvoice","promptinvoice_send_link","Envie o link da fatura para o seu cliente:"
|
|
||||||
"br-US","promptreceipt","promptreceipt_close_lbl","Fechar"
|
|
||||||
"br-US","promptreceipt","promptreceipt_func_notavail","Funcionalidade não disponível para o seu navegador. Use o botão Enviar"
|
|
||||||
"br-US","promptreceipt","promptreceipt_notserv_close","Fechar"
|
|
||||||
"br-US","promptreceipt","promptreceipt_notserv_error","Erro"
|
|
||||||
"br-US","promptreceipt","promptreceipt_notserv_success","Sucesso"
|
|
||||||
"br-US","promptreceipt","promptreceipt_receipt_clipboard","URL do comprovante foi copiado para a área de transferência!!"
|
|
||||||
"br-US","promptreceipt","promptreceipt_receipt_url","URL do comprovante:"
|
|
||||||
"br-US","promptreceipt","promptreceipt_send_link","Envie o link do comprovante para o seu cliente:"
|
|
||||||
"br-US","receipt","receipt_info_notavail","Não há informação disponível."
|
|
||||||
"br-US","receipt","receipt_invalid_id","ID do comprovante incorreto."
|
|
||||||
"br-US","receipt","receipt_order_date","Data:"
|
|
||||||
"br-US","receipt","receipt_order_id","ID do Pedido:"
|
|
||||||
"br-US","receipt","receipt_order_price","Preço:"
|
|
||||||
"br-US","receipt","receipt_order_total","Total:"
|
|
||||||
"br-US","receipt","receipt_qty_lbl","Qtde."
|
|
||||||
"br-US","receipt","receipt_receipt_lbl","Comprovante"
|
|
||||||
"br-US","receipt","receipt_zcash_price","Preço da Zcash:"
|
|
||||||
"br-US","receiptqr","receiptqr_close_btn","Fechar"
|
|
||||||
"br-US","receiptqr","receiptqr_scan_receipt","Escaneie para o seu comprovante"
|
|
||||||
"br-US","scan","scan_close_btn","Fechar"
|
|
||||||
"br-US","scan","scan_copy_address","Copiar Endereço"
|
|
||||||
"br-US","scan","scan_copy_amount","Copiar Valor"
|
|
||||||
"br-US","scan","scan_copy_error","Falha ao copiar o valor"
|
|
||||||
"br-US","scan","scan_copy_memo","Copiar Memo"
|
|
||||||
"br-US","scan","scan_fail_payment","Erro ao verificar o pagamento"
|
|
||||||
"br-US","scan","scan_func_notavail","Funcionalidade de cópia não suportada"
|
|
||||||
"br-US","scan","scan_memo_sent","Memorando enviado!"
|
|
||||||
"br-US","scan","scan_notserv_close","Fechar"
|
|
||||||
"br-US","scan","scan_notserv_error","Erro"
|
|
||||||
"br-US","scan","scan_scanqr_code","Scanei o QR Code"
|
|
||||||
"br-US","scan","scan_text_info","Certifique-se de selecionar ""Incluir Responder-A"" na sua carteira antes de enviar o seu memorando."
|
|
||||||
"br-US","scan","scan_use_this","Não consegue escanear ? Use isso"
|
|
||||||
"br-US","scan","scan_wallet_link","Link de carteira"
|
|
||||||
"br-US","settings","settings_acode_invalid","Número da Conta inválido (10 caracteres no máximo)"
|
|
||||||
"br-US","settings","settings_acode_lbl","Número da conta:"
|
|
||||||
"br-US","settings","settings_acode_notsaved","Número da Conta não salvo!!"
|
|
||||||
"br-US","settings","settings_acode_saved","Número da conta Salvo!!"
|
|
||||||
"br-US","settings","settings_close_btn","Cancelar"
|
|
||||||
"br-US","settings","settings_confirm_payments","Confirmar pagamentos?"
|
|
||||||
"br-US","settings","settings_copy_notavail","Funcionalidade não disponível para o seu navegador. Use o botão enviar ao invés disso"
|
|
||||||
"br-US","settings","settings_currency_lbl","Moeda"
|
|
||||||
"br-US","settings","settings_link_2xero","Conectar-se ao Xero"
|
|
||||||
"br-US","settings","settings_name_lbl","Nome"
|
|
||||||
"br-US","settings","settings_name_placeholder","Seu nome"
|
|
||||||
"br-US","settings","settings_notserv_close","Fechar"
|
|
||||||
"br-US","settings","settings_notserv_error","Erro"
|
|
||||||
"br-US","settings","settings_notserv_success","Sucesso"
|
|
||||||
"br-US","settings","settings_notserv_warning","Aviso"
|
|
||||||
"br-US","settings","settings_ownerid_copied","ID do proprietário copiado para a prancheta"
|
|
||||||
"br-US","settings","settings_ownerid_notcopied","Cópia não disponível em seu navegador"
|
|
||||||
"br-US","settings","settings_pmtserv_url","URL de Serviço de Pagamento:"
|
|
||||||
"br-US","settings","settings_relink_2xero","Reconectar-se ao Xero "
|
|
||||||
"br-US","settings","settings_save_btn","Salvar"
|
|
||||||
"br-US","settings","settings_tab_integrations","Integrações"
|
|
||||||
"br-US","settings","settings_tab_mainlbl","Principal"
|
|
||||||
"br-US","settings","settings_url_copied","URL ZGo copiado para a prancheta!!"
|
|
||||||
"br-US","settings","settings_use_satoshi","Usar zatoshis?"
|
|
||||||
"br-US","settings","settings_view_title","Definições"
|
|
||||||
"br-US","settings","settings_vkey_lbl","Chave de visualização"
|
|
||||||
"br-US","settings","settings_vkey_placeholder","Sua chave de visualização da carteira"
|
|
||||||
"br-US","settings","settings_wctoken_copied","Token WooCommerce copiado para a prancheta"
|
|
||||||
"br-US","settings","settings_wctoken_generated","Token da WoCommerce gerado"
|
|
||||||
"br-US","settings","settings_wctoken_genfail","Geração do token da WooCommerce falhou"
|
|
||||||
"br-US","settings","settings_wctoken_notcopied","Cópia não disponível no seu navegador"
|
|
||||||
"br-US","settings","settings_wc_closebtn","Fechar"
|
|
||||||
"br-US","settings","settings_wc_gentoken","Gerar Token"
|
|
||||||
"br-US","settings","settings_wc_lbl","WooCommerce"
|
|
||||||
"br-US","settings","settings_wc_ownerlbl","Proprietário:"
|
|
||||||
"br-US","settings","settings_xeropmt_confirmdis","Confirmação de pagamentos Xero desativada!! "
|
|
||||||
"br-US","settings","settings_xero_closebtn","Fechar"
|
|
||||||
"br-US","settings","settings_xero_lbl","Xero"
|
|
||||||
"br-US","settings","settings_xero_savebtn","Salvar código"
|
|
||||||
"br-US","viewer","viewer_view_orders","Ver Pedidos"
|
|
||||||
"br-US","xero","xero_connected_2xero","Conectado ao Xero!"
|
|
||||||
"br-US","xero","xero_connecting_2xero","Conectando ao Xero.."
|
|
||||||
"en-US","business","business_accept_terms","I accept the "
|
|
||||||
"en-US","business","business_addrs_nobiz","We do not have a business associated with this Zcash address, please enter your information below:"
|
|
||||||
"en-US","business","business_biz_addressholder","Address"
|
|
||||||
"en-US","business","business_biz_addresslbl","Address:"
|
|
||||||
"en-US","business","business_biz_cityholder","City"
|
|
||||||
"en-US","business","business_biz_citylbl","City:"
|
|
||||||
"en-US","business","business_biz_countryholder","Country"
|
|
||||||
"en-US","business","business_biz_countrylbl","Country:"
|
|
||||||
"en-US","business","business_biz_info","Provide business info"
|
|
||||||
"en-US","business","business_biz_mailholder","example@domain.com"
|
|
||||||
"en-US","business","business_biz_maillbl","E-mail:"
|
|
||||||
"en-US","business","business_biz_nameholder","Business name"
|
|
||||||
"en-US","business","business_biz_namelbl","Business Name:"
|
|
||||||
"en-US","business","business_biz_pcodeholder","Postal code"
|
|
||||||
"en-US","business","business_biz_pcodelbl","Postal Code:"
|
|
||||||
"en-US","business","business_biz_stateholder","State or Province"
|
|
||||||
"en-US","business","business_biz_statelbl","State/Province:"
|
|
||||||
"en-US","business","business_biz_websiteholder","website"
|
|
||||||
"en-US","business","business_biz_websitelbl","Website:"
|
|
||||||
"en-US","business","business_contact_fnamelbl","Contact First name:"
|
|
||||||
"en-US","business","business_contact_fnholder","First name"
|
|
||||||
"en-US","business","business_contact_lnamelbl","Contact Last Name:"
|
|
||||||
"en-US","business","business_contact_lnholder","Last Name"
|
|
||||||
"en-US","business","business_save_btn","Save"
|
|
||||||
"en-US","business","business_select_session ","Please select the length of session that you need:"
|
|
||||||
"en-US","business","business_session_label","Session:"
|
|
||||||
"en-US","business","business_session_lengthlbl","Session Length"
|
|
||||||
"en-US","business","business_session_paylbl","Pay"
|
|
||||||
"en-US","business","business_signup_title","Business sign-up"
|
|
||||||
"en-US","business","business_terms_ofuse","Terms of Use"
|
|
||||||
"en-US","business","business_zgo_confirmlbl","ZGo confirms your payment"
|
|
||||||
"en-US","cancel","cancel_confirm_btn","Confirm"
|
|
||||||
"en-US","cancel","cancel_dismiss_btn","Dismiss"
|
|
||||||
"en-US","cancel","cancel_title","Cancel"
|
|
||||||
"en-US","checkout","checkout_accept_btn","Accept"
|
|
||||||
"en-US","checkout","checkout_cant_scan","Can't scan?"
|
|
||||||
"en-US","checkout","checkout_close_btn","Close"
|
|
||||||
"en-US","checkout","checkout_copyaddress_error","Error copying address"
|
|
||||||
"en-US","checkout","checkout_copyamount_error","Error while copying ammount"
|
|
||||||
"en-US","checkout","checkout_copymemo_error","Error while copying Memo"
|
|
||||||
"en-US","checkout","checkout_copy_address","Copy Address"
|
|
||||||
"en-US","checkout","checkout_copy_amount","Copy Amount"
|
|
||||||
"en-US","checkout","checkout_copy_memo","Copy Memo"
|
|
||||||
"en-US","checkout","checkout_copy_notavail","Copy functionality not supported!!"
|
|
||||||
"en-US","checkout","checkout_notserv_close","Close"
|
|
||||||
"en-US","checkout","checkout_notserv_error","Error"
|
|
||||||
"en-US","checkout","checkout_scan_payment","Scan to make payment"
|
|
||||||
"en-US","checkout","checkout_use_this","Use this "
|
|
||||||
"en-US","checkout","checkout_wallet_link","wallet link"
|
|
||||||
"en-US","checkout","checkout_wallet_or",", or "
|
|
||||||
"en-US","dbexport","dbexport_btn_close","Cancel"
|
|
||||||
"en-US","dbexport","dbexport_closed_no","No"
|
|
||||||
"en-US","dbexport","dbexport_closed_yes","Yes"
|
|
||||||
"en-US","dbexport","dbexport_date_range","Date Range:"
|
|
||||||
"en-US","dbexport","dbexport_download_link","Download"
|
|
||||||
"en-US","dbexport","dbexport_end_date","End date"
|
|
||||||
"en-US","dbexport","dbexport_export_descrip","Export orders in a .CSV format file"
|
|
||||||
"en-US","dbexport","dbexport_file_header","""Date"",""Order ID"",""Currency"",""Closed?"",""Amount"",""Rate"",""ZEC"",""Paid?"",""Invoice"""
|
|
||||||
"en-US","dbexport","dbexport_invalid_end","Invalid end date"
|
|
||||||
"en-US","dbexport","dbexport_invalid_start","Invalid start date"
|
|
||||||
"en-US","dbexport","dbexport_noorders_created","You have no orders created."
|
|
||||||
"en-US","dbexport","dbexport_nothing_todo","Nothing to do."
|
|
||||||
"en-US","dbexport","dbexport_paid_no","No"
|
|
||||||
"en-US","dbexport","dbexport_paid_yes","Yes"
|
|
||||||
"en-US","dbexport","dbexport_settings_title","Export Orders"
|
|
||||||
"en-US","dbexport","dbexport_start_date","Start date"
|
|
||||||
"en-US","header","header_get_currency","Currency:"
|
|
||||||
"en-US","header","header_last_block","Last Block:"
|
|
||||||
"en-US","invoice","invoice_cant_scan","Can't scan?"
|
|
||||||
"en-US","invoice","invoice_copyaddress_error","Error while copying address"
|
|
||||||
"en-US","invoice","invoice_copyamount_error","Error while copying amount"
|
|
||||||
"en-US","invoice","invoice_copymemo_error","Error while copying Memo"
|
|
||||||
"en-US","invoice","invoice_copy_address","Copy Address"
|
|
||||||
"en-US","invoice","invoice_copy_amount","Copy Amount"
|
|
||||||
"en-US","invoice","invoice_copy_memo","Copy Memo"
|
|
||||||
"en-US","invoice","invoice_copy_notavail","Copy functionality not supported"
|
|
||||||
"en-US","invoice","invoice_dot_or",", or"
|
|
||||||
"en-US","invoice","invoice_info_notavail","No information available."
|
|
||||||
"en-US","invoice","invoice_invalid_id","Incorrect Invoice ID."
|
|
||||||
"en-US","invoice","invoice_invoice_lbl","Invoice"
|
|
||||||
"en-US","invoice","invoice_invoice_total","Invoice Total: "
|
|
||||||
"en-US","invoice","invoice_notserv_close","Close"
|
|
||||||
"en-US","invoice","invoice_notserv_error","Error"
|
|
||||||
"en-US","invoice","invoice_order_date","Date: "
|
|
||||||
"en-US","invoice","invoice_order_id","Order ID: "
|
|
||||||
"en-US","invoice","invoice_order_price","Price "
|
|
||||||
"en-US","invoice","invoice_payment_confirmed","Payment Confirmed!!"
|
|
||||||
"en-US","invoice","invoice_payment_pending","Payment Pending!!"
|
|
||||||
"en-US","invoice","invoice_qty_lbl","Qty."
|
|
||||||
"en-US","invoice","invoice_return_toshop","Return to Shop"
|
|
||||||
"en-US","invoice","invoice_scan_qrcode","Scan the QR code with your wallet to make payment"
|
|
||||||
"en-US","invoice","invoice_use_this","Use this "
|
|
||||||
"en-US","invoice","invoice_wallet_link","wallet link"
|
|
||||||
"en-US","invoice","invoice_zcash_price","Zcash price: "
|
|
||||||
"en-US","itemadd","itemadd_add_2order","Add Item to Order"
|
|
||||||
"en-US","itemadd","itemadd_cancel_btn","Cancel"
|
|
||||||
"en-US","itemadd","itemadd_save_btn","Add"
|
|
||||||
"en-US","itemcreate","itemcreate_add_item","Add Item"
|
|
||||||
"en-US","itemcreate","itemcreate_close_btn","Close"
|
|
||||||
"en-US","itemcreate","itemcreate_item_descr","Description"
|
|
||||||
"en-US","itemcreate","itemcreate_item_lbl","Item"
|
|
||||||
"en-US","itemcreate","itemcreate_item_price","Price"
|
|
||||||
"en-US","itemcreate","itemcreate_save_btn","Save"
|
|
||||||
"en-US","itemcreate","itemcreate_use_nums","Use only numbers"
|
|
||||||
"en-US","itemdel","itemdel_close_btn","Close"
|
|
||||||
"en-US","itemdel","itemdel_confirm_del","Are you sure you want to delete "
|
|
||||||
"en-US","itemdel","itemdel_delete_btn","Delete"
|
|
||||||
"en-US","itemdel","itemdel_del_item","Delete Item"
|
|
||||||
"en-US","itemedit","itemedit_close_btn","Close"
|
|
||||||
"en-US","itemedit","itemedit_edit_item","Edit Item"
|
|
||||||
"en-US","itemedit","itemedit_item_descr","Description"
|
|
||||||
"en-US","itemedit","itemedit_item_label","Item"
|
|
||||||
"en-US","itemedit","itemedit_item_price","Price:"
|
|
||||||
"en-US","itemedit","itemedit_save_btn","Save"
|
|
||||||
"en-US","itemlist","itemlist_avail_items","Available Items:"
|
|
||||||
"en-US","itemlist","itemlist_list_empty","No items yet!"
|
|
||||||
"en-US","listorders","listorders_backtoshop_btn","Back to Shop"
|
|
||||||
"en-US","listorders","listorders_export_orders","Export Orders"
|
|
||||||
"en-US","listorders","listorders_invoice_btn","Invoice"
|
|
||||||
"en-US","listorders","listorders_item_lbl","Item"
|
|
||||||
"en-US","listorders","listorders_no_orders","No orders"
|
|
||||||
"en-US","listorders","listorders_order_id","Order ID"
|
|
||||||
"en-US","listorders","listorders_order_total","Order Total: "
|
|
||||||
"en-US","listorders","listorders_overall_total","Overall Total: "
|
|
||||||
"en-US","listorders","listorders_qty_lbl","Qty."
|
|
||||||
"en-US","listorders","listorders_receipt_btn","Receipt"
|
|
||||||
"en-US","listorders","listorders_todays_total","Today's Total: "
|
|
||||||
"en-US","listorders","listorders_total_lbl","Total"
|
|
||||||
"en-US","login","login_check_wallet","Check your wallet!!"
|
|
||||||
"en-US","login","login_confirm_login","ZGo confirms your login on the Zcash blockhain"
|
|
||||||
"en-US","login","login_confirm_pin","Confirm PIN"
|
|
||||||
"en-US","login","login_connect_to_zgo","Connect your wallet to ZGo"
|
|
||||||
"en-US","login","login_enter_pin","Enter the PIN sent by ZGo to confirm wallet ownership:"
|
|
||||||
"en-US","login","login_last_block","Last block seen:"
|
|
||||||
"en-US","login","login_link_wallet","Link Wallet"
|
|
||||||
"en-US","login","login_wrong_pin","Wrong PIN!!"
|
|
||||||
"en-US","main","main_price_data","Price data provided by CoinGecko API"
|
|
||||||
"en-US","order","order_cancel_btn","Cancel"
|
|
||||||
"en-US","order","order_cancel_ok","Order successfully cancelled!"
|
|
||||||
"en-US","order","order_cancel_order","Cancel Order?"
|
|
||||||
"en-US","order","order_checkout_btn","Checkout"
|
|
||||||
"en-US","order","order_confirm_cancel","Are you sure you want to cancel the order?"
|
|
||||||
"en-US","order","order_confirm_remove","Are you sure you want to remove "
|
|
||||||
"en-US","order","order_confirm_remove1"," from this order?"
|
|
||||||
"en-US","order","order_invoice_btn","Invoice"
|
|
||||||
"en-US","order","order_item_lbl","Item"
|
|
||||||
"en-US","order","order_notserv_close","Close"
|
|
||||||
"en-US","order","order_notserv_success","success"
|
|
||||||
"en-US","order","order_no_openorder","No open order!!"
|
|
||||||
"en-US","order","order_qty_lbl","Qty."
|
|
||||||
"en-US","order","order_remove_item","Remove Item?"
|
|
||||||
"en-US","order","order_total_lbl","Total"
|
|
||||||
"en-US","order","order_total_title","Order Total:"
|
|
||||||
"en-US","pmtservice","pmtservice_amount_doesnot","Amount does not"
|
|
||||||
"en-US","pmtservice","pmtservice_cant_scan","Can't scan?"
|
|
||||||
"en-US","pmtservice","pmtservice_connecto_xero","Connection to Xero"
|
|
||||||
"en-US","pmtservice","pmtservice_copyaddress_error","Error while copying address"
|
|
||||||
"en-US","pmtservice","pmtservice_copyamount_error","Error while copying amount"
|
|
||||||
"en-US","pmtservice","pmtservice_copymemo_error","Error while copying Memo"
|
|
||||||
"en-US","pmtservice","pmtservice_copy_address","Copy Address"
|
|
||||||
"en-US","pmtservice","pmtservice_copy_amount","Copy Amount"
|
|
||||||
"en-US","pmtservice","pmtservice_copy_memo","Copy Memo"
|
|
||||||
"en-US","pmtservice","pmtservice_copy_notavail","Copy functionality not supported"
|
|
||||||
"en-US","pmtservice","pmtservice_currency_notsup","not supported!!"
|
|
||||||
"en-US","pmtservice","pmtservice_enabled_for","enabled for"
|
|
||||||
"en-US","pmtservice","pmtservice_hdr_txt1","Invoice"
|
|
||||||
"en-US","pmtservice","pmtservice_hdr_txt2","Order ID: "
|
|
||||||
"en-US","pmtservice","pmtservice_hdr_txt3","Date: "
|
|
||||||
"en-US","pmtservice","pmtservice_invalid_ownerid","Invalid Owner ID!!"
|
|
||||||
"en-US","pmtservice","pmtservice_invoice_currency","Currency"
|
|
||||||
"en-US","pmtservice","pmtservice_invoice_invalid","type invalid!!"
|
|
||||||
"en-US","pmtservice","pmtservice_invoice_item","Item:"
|
|
||||||
"en-US","pmtservice","pmtservice_invoice_notfound","not found!!"
|
|
||||||
"en-US","pmtservice","pmtservice_invoice_num","Invoice"
|
|
||||||
"en-US","pmtservice","pmtservice_invoice_paid","already paid!!"
|
|
||||||
"en-US","pmtservice","pmtservice_invoice_price","Price"
|
|
||||||
"en-US","pmtservice","pmtservice_invoice_qty","Qty."
|
|
||||||
"en-US","pmtservice","pmtservice_invoice_total","Invoice Total: "
|
|
||||||
"en-US","pmtservice","pmtservice_match_value","match value"
|
|
||||||
"en-US","pmtservice","pmtservice_notserv_close","Close"
|
|
||||||
"en-US","pmtservice","pmtservice_notserv_error","Error"
|
|
||||||
"en-US","pmtservice","pmtservice_payment_confirmed","Payment Confirmed!!"
|
|
||||||
"en-US","pmtservice","pmtservice_payment_notprocessed","Payment request was not processed!!"
|
|
||||||
"en-US","pmtservice","pmtservice_payment_pending","Payment Pending!!"
|
|
||||||
"en-US","pmtservice","pmtservice_pmtsrv_not","Payment service not"
|
|
||||||
"en-US","pmtservice","pmtservice_reported_byxero","reported by Xero!!"
|
|
||||||
"en-US","pmtservice","pmtservice_scan_qrcode","Scan the QR code with your wallet to make payment"
|
|
||||||
"en-US","pmtservice","pmtservice_server_failed","server failed!!"
|
|
||||||
"en-US","pmtservice","pmtservice_use_this","Use this "
|
|
||||||
"en-US","pmtservice","pmtservice_wallet_link","wallet link"
|
|
||||||
"en-US","pmtservice","pmtservice_zecdata_price","Zcash Price: "
|
|
||||||
"en-US","pmtservice","pmtservice_zecdata_total","Total: "
|
|
||||||
"en-US","promptinvoice","promptinvoice_func_notavail","Functionality not available for your browser. Use send button instead."
|
|
||||||
"en-US","promptinvoice","promptinvoice_invoice_cancel","Cancel"
|
|
||||||
"en-US","promptinvoice","promptinvoice_invoice_clipboard","Invoice's URL copied to Clipboard!!"
|
|
||||||
"en-US","promptinvoice","promptinvoice_invoice_sent","Sent!"
|
|
||||||
"en-US","promptinvoice","promptinvoice_invoice_url","Invoice URL:"
|
|
||||||
"en-US","promptinvoice","promptinvoice_notserv_close","Close"
|
|
||||||
"en-US","promptinvoice","promptinvoice_notserv_error","Error"
|
|
||||||
"en-US","promptinvoice","promptinvoice_notserv_success","Success"
|
|
||||||
"en-US","promptinvoice","promptinvoice_send_link","Send the invoice link to your client:"
|
|
||||||
"en-US","promptreceipt","promptreceipt_close_lbl","Close"
|
|
||||||
"en-US","promptreceipt","promptreceipt_func_notavail","Functionality not available for your browser. Use send button "
|
|
||||||
"en-US","promptreceipt","promptreceipt_notserv_close","Close"
|
|
||||||
"en-US","promptreceipt","promptreceipt_notserv_error","Error"
|
|
||||||
"en-US","promptreceipt","promptreceipt_notserv_success","Success"
|
|
||||||
"en-US","promptreceipt","promptreceipt_receipt_clipboard","Receipt's URL copied to Clipboard!!"
|
|
||||||
"en-US","promptreceipt","promptreceipt_receipt_url","Receipt URL:"
|
|
||||||
"en-US","promptreceipt","promptreceipt_send_link","Send the receipt link to your client:"
|
|
||||||
"en-US","receipt","receipt_info_notavail","No information available."
|
|
||||||
"en-US","receipt","receipt_invalid_id","Incorrect receipt ID."
|
|
||||||
"en-US","receipt","receipt_order_date","Date: "
|
|
||||||
"en-US","receipt","receipt_order_id","Order ID: "
|
|
||||||
"en-US","receipt","receipt_order_price","Price: "
|
|
||||||
"en-US","receipt","receipt_order_total","Total: "
|
|
||||||
"en-US","receipt","receipt_qty_lbl","Qty."
|
|
||||||
"en-US","receipt","receipt_receipt_lbl","Receipt"
|
|
||||||
"en-US","receipt","receipt_zcash_price","Zcash Price: "
|
|
||||||
"en-US","receiptqr","receiptqr_close_btn","Close"
|
|
||||||
"en-US","receiptqr","receiptqr_scan_receipt","Scan for your Receipt"
|
|
||||||
"en-US","scan","scan_close_btn","Close"
|
|
||||||
"en-US","scan","scan_copy_address","Copy Address"
|
|
||||||
"en-US","scan","scan_copy_amount","Copy Amount"
|
|
||||||
"en-US","scan","scan_copy_error","Error while copying ammount"
|
|
||||||
"en-US","scan","scan_copy_memo","Copy Memo"
|
|
||||||
"en-US","scan","scan_fail_payment","Error while verifying payment"
|
|
||||||
"en-US","scan","scan_func_notavail","Copy functionality not supported"
|
|
||||||
"en-US","scan","scan_memo_sent","Memo Sent!"
|
|
||||||
"en-US","scan","scan_notserv_close","Close"
|
|
||||||
"en-US","scan","scan_notserv_error","Error"
|
|
||||||
"en-US","scan","scan_scanqr_code","Scan the QR code"
|
|
||||||
"en-US","scan","scan_text_info","Ensure to check the ""Include Reply-To"" box in your wallet before sending your memo."
|
|
||||||
"en-US","scan","scan_use_this","Can't scan? Use this "
|
|
||||||
"en-US","scan","scan_wallet_link","wallet link"
|
|
||||||
"en-US","settings","settings_acode_invalid","Invalid Account code (10 chars max.)"
|
|
||||||
"en-US","settings","settings_acode_lbl","Account Code:"
|
|
||||||
"en-US","settings","settings_acode_notsaved","Account Code not saved"
|
|
||||||
"en-US","settings","settings_acode_saved","Account Code saved!!"
|
|
||||||
"en-US","settings","settings_close_btn","Cancel"
|
|
||||||
"en-US","settings","settings_confirm_payments","Confirm payments?"
|
|
||||||
"en-US","settings","settings_copy_notavail","Functionality not available for your browser. Use send button instead."
|
|
||||||
"en-US","settings","settings_currency_lbl","Currency"
|
|
||||||
"en-US","settings","settings_link_2xero","Link to Xero"
|
|
||||||
"en-US","settings","settings_name_lbl","Name"
|
|
||||||
"en-US","settings","settings_name_placeholder","Your Name"
|
|
||||||
"en-US","settings","settings_notserv_close","Close"
|
|
||||||
"en-US","settings","settings_notserv_error","Error"
|
|
||||||
"en-US","settings","settings_notserv_success","Success"
|
|
||||||
"en-US","settings","settings_notserv_warning","Warning"
|
|
||||||
"en-US","settings","settings_ownerid_copied","Owner ID copied to clipboard"
|
|
||||||
"en-US","settings","settings_ownerid_notcopied","Copying not available in your browser"
|
|
||||||
"en-US","settings","settings_pmtserv_url","Payment Service URL:"
|
|
||||||
"en-US","settings","settings_relink_2xero","Relink to Xero"
|
|
||||||
"en-US","settings","settings_save_btn","Save"
|
|
||||||
"en-US","settings","settings_tab_integrations","Integrations"
|
|
||||||
"en-US","settings","settings_tab_mainlbl","Main"
|
|
||||||
"en-US","settings","settings_URL_copied","ZGo URL copied to Clipboard!!"
|
|
||||||
"en-US","settings","settings_use_satoshi","Use zatoshis?"
|
|
||||||
"en-US","settings","settings_view_title","Settings"
|
|
||||||
"en-US","settings","settings_vkey_lbl","Viewing key"
|
|
||||||
"en-US","settings","settings_vkey_placeholder","Your wallet viewing key"
|
|
||||||
"en-US","settings","settings_wctoken_copied","WooCommerce Token copied to clipboard"
|
|
||||||
"en-US","settings","settings_wctoken_generated","WooCommerce Token generated!"
|
|
||||||
"en-US","settings","settings_wctoken_genfail","WooCommerce Token generation failed"
|
|
||||||
"en-US","settings","settings_wctoken_notcopied","Copying not available in your browser"
|
|
||||||
"en-US","settings","settings_wc_closebtn","Close"
|
|
||||||
"en-US","settings","settings_wc_gentoken","Generate Token"
|
|
||||||
"en-US","settings","settings_wc_lbl","WooCommerce"
|
|
||||||
"en-US","settings","settings_wc_ownerlbl","Owner:"
|
|
||||||
"en-US","settings","settings_xeropmt_confirmdis","Xero Payment confirmation disabled!!"
|
|
||||||
"en-US","settings","settings_xero_closebtn","Close"
|
|
||||||
"en-US","settings","settings_xero_lbl","Xero"
|
|
||||||
"en-US","settings","settings_xero_savebtn","Save Code"
|
|
||||||
"en-US","viewer","viewer_view_orders","View Orders"
|
|
||||||
"en-US","xero","xero_connected_2xero","Connected to Xero!"
|
|
||||||
"en-US","xero","xero_connecting_2xero","Connecting to Xero.."
|
|
||||||
"es-US","business","business_accept_terms","Acepto los "
|
|
||||||
"es-US","business","business_addrs_nobiz","No tenemos un negocio asociado a esta dirección de Zcash, por favor ingrese su información abajo:"
|
|
||||||
"es-US","business","business_biz_addressholder","Dirección"
|
|
||||||
"es-US","business","business_biz_addresslbl","Dirección:"
|
|
||||||
"es-US","business","business_biz_cityholder","Ciudad"
|
|
||||||
"es-US","business","business_biz_citylbl","Ciudad:"
|
|
||||||
"es-US","business","business_biz_countryholder","País"
|
|
||||||
"es-US","business","business_biz_countrylbl","País:"
|
|
||||||
"es-US","business","business_biz_info","Ingrese datos del negocio"
|
|
||||||
"es-US","business","business_biz_mailholder","ejemplo@dominio.com"
|
|
||||||
"es-US","business","business_biz_maillbl","E-mail:"
|
|
||||||
"es-US","business","business_biz_nameholder","Nombre del negocio"
|
|
||||||
"es-US","business","business_biz_namelbl","Nombre del Negocio:"
|
|
||||||
"es-US","business","business_biz_pcodeholder","Código Postal"
|
|
||||||
"es-US","business","business_biz_pcodelbl","Código Postal:"
|
|
||||||
"es-US","business","business_biz_stateholder","Estado o Provincia"
|
|
||||||
"es-US","business","business_biz_statelbl","Estado/Provincia:"
|
|
||||||
"es-US","business","business_biz_websiteholder","Sitio web"
|
|
||||||
"es-US","business","business_biz_websitelbl","Sitio Web:"
|
|
||||||
"es-US","business","business_contact_fnamelbl","Nombre del Contacto:"
|
|
||||||
"es-US","business","business_contact_fnholder","Nombre"
|
|
||||||
"es-US","business","business_contact_lnamelbl","Apellido del Contacto:"
|
|
||||||
"es-US","business","business_contact_lnholder","Apellido"
|
|
||||||
"es-US","business","business_save_btn","Salvar"
|
|
||||||
"es-US","business","business_select_session","Seleccione la duración de la sessión que necesita:"
|
|
||||||
"es-US","business","business_session_label","Sesión:"
|
|
||||||
"es-US","business","business_session_lengthlbl","Duración de la Sesión"
|
|
||||||
"es-US","business","business_session_paylbl","Pagar"
|
|
||||||
"es-US","business","business_signup_title","Registrar Negocio"
|
|
||||||
"es-US","business","business_terms_ofuse","Términos de Uso"
|
|
||||||
"es-US","business","business_zgo_confirmlbl","ZGo confirma su pago"
|
|
||||||
"es-US","cancel","cancel_confirm_btn","Confirmar"
|
|
||||||
"es-US","cancel","cancel_dismiss_btn","Descartar"
|
|
||||||
"es-US","cancel","cancel_title","Cancelar"
|
|
||||||
"es-US","checkout","checkout_accept_btn","Aceptar"
|
|
||||||
"es-US","checkout","checkout_cant_scan","No puede escanear?"
|
|
||||||
"es-US","checkout","checkout_close_btn","Cerrar"
|
|
||||||
"es-US","checkout","checkout_copyaddress_error","Error al copiar dirección"
|
|
||||||
"es-US","checkout","checkout_copyamount_error","Error al copiar el valor"
|
|
||||||
"es-US","checkout","checkout_copymemo_error","Error al copiar Memo"
|
|
||||||
"es-US","checkout","checkout_copy_address","Copiar Dirección"
|
|
||||||
"es-US","checkout","checkout_copy_amount","Copie Valor"
|
|
||||||
"es-US","checkout","checkout_copy_memo","Copie Valor"
|
|
||||||
"es-US","checkout","checkout_copy_notavail","Fucionalidad de copia no soportada!!"
|
|
||||||
"es-US","checkout","checkout_notserv_close","Cerrar"
|
|
||||||
"es-US","checkout","checkout_notserv_error","Error"
|
|
||||||
"es-US","checkout","checkout_scan_payment","Escanee para hacer el pago"
|
|
||||||
"es-US","checkout","checkout_use_this","Use este "
|
|
||||||
"es-US","checkout","checkout_wallet_link","link a billetera"
|
|
||||||
"es-US","checkout","checkout_wallet_or",", o "
|
|
||||||
"es-US","dbexport","dbexport_btn_close","Cancelar"
|
|
||||||
"es-US","dbexport","dbexport_closed_no","No"
|
|
||||||
"es-US","dbexport","dbexport_closed_yes","Si"
|
|
||||||
"es-US","dbexport","dbexport_date_range","Rango de Fechas:"
|
|
||||||
"es-US","dbexport","dbexport_download_link","Descargar"
|
|
||||||
"es-US","dbexport","dbexport_end_date","Fecha final"
|
|
||||||
"es-US","dbexport","dbexport_export_descrip","Exportar órdenes en un archivo de formato .CSV"
|
|
||||||
"es-US","dbexport","dbexport_file_header","""Fecha"",""ID Orden"",""Moneda"",""Cerrada?"",""Valor"",""Tasa"",""ZEC"",""Pagada?"",""Factura"""
|
|
||||||
"es-US","dbexport","dbexport_invalid_end","Fecha final inválida"
|
|
||||||
"es-US","dbexport","dbexport_invalid_start","Fecha de inicio inválida"
|
|
||||||
"es-US","dbexport","dbexport_noorders_created","Usted no tiene órdenes creadas."
|
|
||||||
"es-US","dbexport","dbexport_nothing_todo","Nada que hacer."
|
|
||||||
"es-US","dbexport","dbexport_paid_no","No"
|
|
||||||
"es-US","dbexport","dbexport_paid_yes","Si"
|
|
||||||
"es-US","dbexport","dbexport_settings_title","Exportar Ordenes"
|
|
||||||
"es-US","dbexport","dbexport_start_date","Fecha inicial"
|
|
||||||
"es-US","header","header_get_currency","Moneda:"
|
|
||||||
"es-US","header","header_last_block","Último Bloque:"
|
|
||||||
"es-US","invoice","invoice_cant_scan","No puede escanear?"
|
|
||||||
"es-US","invoice","invoice_copyaddress_error","Error al copiar dirección"
|
|
||||||
"es-US","invoice","invoice_copyamount_error","Error al copiar valor"
|
|
||||||
"es-US","invoice","invoice_copymemo_error","Error al copiar Memo"
|
|
||||||
"es-US","invoice","invoice_copy_address","Copie Dirección"
|
|
||||||
"es-US","invoice","invoice_copy_amount","Copiar Valor"
|
|
||||||
"es-US","invoice","invoice_copy_memo","Copiar Memo"
|
|
||||||
"es-US","invoice","invoice_copy_notavail","Funcionalidad para copia no soportada"
|
|
||||||
"es-US","invoice","invoice_dot_or",", o"
|
|
||||||
"es-US","invoice","invoice_info_notavail","No hay información disponible."
|
|
||||||
"es-US","invoice","invoice_invalid_id","ID de Factura incorrecto."
|
|
||||||
"es-US","invoice","invoice_invoice_lbl","Factura"
|
|
||||||
"es-US","invoice","invoice_invoice_total","Total Factura: "
|
|
||||||
"es-US","invoice","invoice_notserv_close","Cerrar"
|
|
||||||
"es-US","invoice","invoice_notserv_error","Error"
|
|
||||||
"es-US","invoice","invoice_order_date","Fecha: "
|
|
||||||
"es-US","invoice","invoice_order_id","ID del Pedido: "
|
|
||||||
"es-US","invoice","invoice_order_price","Precio "
|
|
||||||
"es-US","invoice","invoice_payment_confirmed","Pago Confirmado!!"
|
|
||||||
"es-US","invoice","invoice_payment_pending","Pago Pendiente!!"
|
|
||||||
"es-US","invoice","invoice_qty_lbl","Cant."
|
|
||||||
"es-US","invoice","invoice_return_toshop","Regresar a Tienda"
|
|
||||||
"es-US","invoice","invoice_scan_qrcode","Escanee el código QR con su billetera para hacer el pago"
|
|
||||||
"es-US","invoice","invoice_use_this","Use este "
|
|
||||||
"es-US","invoice","invoice_wallet_link","link de billetera"
|
|
||||||
"es-US","invoice","invoice_zcash_price","Precio de Zcash: "
|
|
||||||
"es-US","itemadd","itemadd_add_2order","Agregar Item a la orden"
|
|
||||||
"es-US","itemadd","itemadd_cancel_btn","Cancelar"
|
|
||||||
"es-US","itemadd","itemadd_save_btn","Agregar"
|
|
||||||
"es-US","itemcreate","itemcreate_add_item","Agregar Item"
|
|
||||||
"es-US","itemcreate","itemcreate_close_btn","Cerrar"
|
|
||||||
"es-US","itemcreate","itemcreate_item_descr","Descripcion"
|
|
||||||
"es-US","itemcreate","itemcreate_item_lbl","Item"
|
|
||||||
"es-US","itemcreate","itemcreate_item_price","Precio"
|
|
||||||
"es-US","itemcreate","itemcreate_save_btn","Grabar"
|
|
||||||
"es-US","itemcreate","itemcreate_use_nums","Use solo números"
|
|
||||||
"es-US","itemdel","itemdel_close_btn","Cerrar"
|
|
||||||
"es-US","itemdel","itemdel_confirm_del","Esta seguro de querer eliminar el item "
|
|
||||||
"es-US","itemdel","itemdel_delete_btn","Eliminar"
|
|
||||||
"es-US","itemdel","itemdel_del_item","Eliminar Item"
|
|
||||||
"es-US","itemedit","itemedit_close_btn","Cerrar"
|
|
||||||
"es-US","itemedit","itemedit_edit_item","Editar Item"
|
|
||||||
"es-US","itemedit","itemedit_item_descr","Descripcion"
|
|
||||||
"es-US","itemedit","itemedit_item_label","Item"
|
|
||||||
"es-US","itemedit","itemedit_item_price","Precio:"
|
|
||||||
"es-US","itemedit","itemedit_save_btn","Guardar"
|
|
||||||
"es-US","itemlist","itemlist_avail_items","Items Disponibles:"
|
|
||||||
"es-US","itemlist","itemlist_list_empty","No existen items!"
|
|
||||||
"es-US","listorders","listorders_backtoshop_btn","Regresar a Tienda"
|
|
||||||
"es-US","listorders","listorders_export_orders","Exportar Pedidos"
|
|
||||||
"es-US","listorders","listorders_invoice_btn","Factura"
|
|
||||||
"es-US","listorders","listorders_item_lbl","Item"
|
|
||||||
"es-US","listorders","listorders_no_orders","No hay órdenes"
|
|
||||||
"es-US","listorders","listorders_order_id","ID de Orden"
|
|
||||||
"es-US","listorders","listorders_order_total","Total de la Orden:"
|
|
||||||
"es-US","listorders","listorders_overall_total","Total General: "
|
|
||||||
"es-US","listorders","listorders_qty_lbl","Cant."
|
|
||||||
"es-US","listorders","listorders_receipt_btn","Recibo"
|
|
||||||
"es-US","listorders","listorders_todays_total","Total del Dia: "
|
|
||||||
"es-US","listorders","listorders_total_lbl","Total"
|
|
||||||
"es-US","login","login_check_wallet","Verifique su billetera!!"
|
|
||||||
"es-US","login","login_confirm_login","ZGo confirma su ingreso en la cadena de Zcash"
|
|
||||||
"es-US","login","login_confirm_pin","Confirme el PIN"
|
|
||||||
"es-US","login","login_connect_to_zgo","Conectar su billetera a ZGo"
|
|
||||||
"es-US","login","login_enter_pin","Ingrese el PIN enviado por ZGo para confirmar su billetera:"
|
|
||||||
"es-US","login","login_last_block","Ultimo Bloque Verificado: "
|
|
||||||
"es-US","login","login_link_wallet","Asociar Billetera"
|
|
||||||
"es-US","login","login_wrong_pin","PIN Invalido!!"
|
|
||||||
"es-US","main","main_price_data","Precios provistos por API de CoinGecko"
|
|
||||||
"es-US","order","order_cancel_btn","Cancelar"
|
|
||||||
"es-US","order","order_cancel_ok","Orden cancelada exitosamente!"
|
|
||||||
"es-US","order","order_cancel_order","Cancelar Orden?"
|
|
||||||
"es-US","order","order_checkout_btn","Procesar"
|
|
||||||
"es-US","order","order_confirm_cancel","Esta seguro que quiere cancelar la orden?"
|
|
||||||
"es-US","order","order_confirm_remove","Esta seguro de querer remover "
|
|
||||||
"es-US","order","order_confirm_remove1"," de esta orden?"
|
|
||||||
"es-US","order","order_invoice_btn","Factura"
|
|
||||||
"es-US","order","order_item_lbl","Item"
|
|
||||||
"es-US","order","order_notserv_close","Cerrar"
|
|
||||||
"es-US","order","order_notserv_success","confirmado"
|
|
||||||
"es-US","order","order_no_openorder","Sin órden abierta!!"
|
|
||||||
"es-US","order","order_qty_lbl","Cant."
|
|
||||||
"es-US","order","order_remove_item","Remover Item?"
|
|
||||||
"es-US","order","order_total_lbl","Total"
|
|
||||||
"es-US","order","order_total_title","Total Pedido:"
|
|
||||||
"es-US","pmtservice","pmtservice_amount_doesnot","Total no"
|
|
||||||
"es-US","pmtservice","pmtservice_cant_scan","No puede escanear?"
|
|
||||||
"es-US","pmtservice","pmtservice_connecto_xero","Conexion con Xero"
|
|
||||||
"es-US","pmtservice","pmtservice_copyaddress_error","Error al copiar dirección"
|
|
||||||
"es-US","pmtservice","pmtservice_copyamount_error","Error al copiar valor"
|
|
||||||
"es-US","pmtservice","pmtservice_copymemo_error","Error al copiar Memo"
|
|
||||||
"es-US","pmtservice","pmtservice_copy_address","Copiar Dirección"
|
|
||||||
"es-US","pmtservice","pmtservice_copy_amount","Copiar Valor"
|
|
||||||
"es-US","pmtservice","pmtservice_copy_memo","Copiar Memo"
|
|
||||||
"es-US","pmtservice","pmtservice_copy_notavail","Funcionalidad para copia no soportada"
|
|
||||||
"es-US","pmtservice","pmtservice_currency_notsup","no soportada!!"
|
|
||||||
"es-US","pmtservice","pmtservice_enabled_for","habilitado para"
|
|
||||||
"es-US","pmtservice","pmtservice_hdr_txt1","Factura"
|
|
||||||
"es-US","pmtservice","pmtservice_hdr_txt2","ID de Orden: "
|
|
||||||
"es-US","pmtservice","pmtservice_hdr_txt3","Fecha: "
|
|
||||||
"es-US","pmtservice","pmtservice_invalid_ownerid","ID de propietario inválida!!"
|
|
||||||
"es-US","pmtservice","pmtservice_invoice_currency","Moneda"
|
|
||||||
"es-US","pmtservice","pmtservice_invoice_invalid","tipo inválido!!"
|
|
||||||
"es-US","pmtservice","pmtservice_invoice_item","Item:"
|
|
||||||
"es-US","pmtservice","pmtservice_invoice_notfound","no encontrada!!"
|
|
||||||
"es-US","pmtservice","pmtservice_invoice_num","Factura"
|
|
||||||
"es-US","pmtservice","pmtservice_invoice_paid","ya pagada!!"
|
|
||||||
"es-US","pmtservice","pmtservice_invoice_price","Precio"
|
|
||||||
"es-US","pmtservice","pmtservice_invoice_qty","Cant."
|
|
||||||
"es-US","pmtservice","pmtservice_invoice_total","Total Factura:"
|
|
||||||
"es-US","pmtservice","pmtservice_match_value","es igual al valor"
|
|
||||||
"es-US","pmtservice","pmtservice_notserv_close","Cerrar"
|
|
||||||
"es-US","pmtservice","pmtservice_notserv_error","Error"
|
|
||||||
"es-US","pmtservice","pmtservice_payment_confirmed","Pago Confirmado!!"
|
|
||||||
"es-US","pmtservice","pmtservice_payment_notprocessed","Solicitud de pago no fue procesada!!"
|
|
||||||
"es-US","pmtservice","pmtservice_payment_pending","Pago Pendiente!!"
|
|
||||||
"es-US","pmtservice","pmtservice_pmtsrv_not","Servicio de pagos no "
|
|
||||||
"es-US","pmtservice","pmtservice_reported_byxero","reportado por Xero!!"
|
|
||||||
"es-US","pmtservice","pmtservice_scan_qrcode","Escanee el código QR con su billetera para hacer el pago"
|
|
||||||
"es-US","pmtservice","pmtservice_server_failed","servidor falló!!"
|
|
||||||
"es-US","pmtservice","pmtservice_use_this","Use este "
|
|
||||||
"es-US","pmtservice","pmtservice_wallet_link","link de billetera"
|
|
||||||
"es-US","pmtservice","pmtservice_zecdata_price","Precio Zcash: "
|
|
||||||
"es-US","pmtservice","pmtservice_zecdata_total","Total: "
|
|
||||||
"es-US","promptinvoice","promptinvoice_func_notavail","Funcionalidad no disponible en su navegador. Use el botón de enviar en lugar de eso."
|
|
||||||
"es-US","promptinvoice","promptinvoice_invoice_cancel","Cancelar"
|
|
||||||
"es-US","promptinvoice","promptinvoice_invoice_clipboard","URL de la factura copiado al Portapapeles!!"
|
|
||||||
"es-US","promptinvoice","promptinvoice_invoice_sent","Enviado!"
|
|
||||||
"es-US","promptinvoice","promptinvoice_invoice_url","URL de Factura:"
|
|
||||||
"es-US","promptinvoice","promptinvoice_notserv_close","Cerrar"
|
|
||||||
"es-US","promptinvoice","promptinvoice_notserv_error","Error"
|
|
||||||
"es-US","promptinvoice","promptinvoice_notserv_success","Suceso"
|
|
||||||
"es-US","promptinvoice","promptinvoice_send_link","Envíe el link de la factura a su cliente:"
|
|
||||||
"es-US","promptreceipt","promptreceipt_close_lbl","Cerrar"
|
|
||||||
"es-US","promptreceipt","promptreceipt_func_notavail","Functionality not available for your browser. Use send button "
|
|
||||||
"es-US","promptreceipt","promptreceipt_notserv_close","Cerrar"
|
|
||||||
"es-US","promptreceipt","promptreceipt_notserv_error","Error"
|
|
||||||
"es-US","promptreceipt","promptreceipt_notserv_success","Suceso"
|
|
||||||
"es-US","promptreceipt","promptreceipt_receipt_clipboard","URL del Recibo copiado a portapapeles!!"
|
|
||||||
"es-US","promptreceipt","promptreceipt_receipt_url","URL del Recibo:"
|
|
||||||
"es-US","promptreceipt","promptreceipt_send_link","Envíe el enlace del recibo a su cliente :"
|
|
||||||
"es-US","receipt","receipt_info_notavail","No hay información disponible."
|
|
||||||
"es-US","receipt","receipt_invalid_id","ID de Recibo incorrecto."
|
|
||||||
"es-US","receipt","receipt_order_date","Fecha: "
|
|
||||||
"es-US","receipt","receipt_order_id","ID de Orden:"
|
|
||||||
"es-US","receipt","receipt_order_price","Precio: "
|
|
||||||
"es-US","receipt","receipt_order_total","Total: "
|
|
||||||
"es-US","receipt","receipt_qty_lbl","Cant."
|
|
||||||
"es-US","receipt","receipt_receipt_lbl","Recibo "
|
|
||||||
"es-US","receipt","receipt_zcash_price","Precio de Zcash: "
|
|
||||||
"es-US","receiptqr","receiptqr_close_btn","Cerrar"
|
|
||||||
"es-US","receiptqr","receiptqr_scan_receipt","Escanee para obtener su Recibo"
|
|
||||||
"es-US","scan","scan_close_btn","Cerrar"
|
|
||||||
"es-US","scan","scan_copy_address","Copiar Dirección"
|
|
||||||
"es-US","scan","scan_copy_amount","Copiar Valor"
|
|
||||||
"es-US","scan","scan_copy_error","Error al copiar valor"
|
|
||||||
"es-US","scan","scan_copy_memo","Copiar Memo"
|
|
||||||
"es-US","scan","scan_fail_payment","Error al verificar pago"
|
|
||||||
"es-US","scan","scan_func_notavail","Funcionalidad de copia no soportada"
|
|
||||||
"es-US","scan","scan_memo_sent","Memorando enviado!"
|
|
||||||
"es-US","scan","scan_notserv_close","Cerrar"
|
|
||||||
"es-US","scan","scan_notserv_error","Error"
|
|
||||||
"es-US","scan","scan_scanqr_code","Escanee el código QR"
|
|
||||||
"es-US","scan","scan_text_info","Asegúrese de marcar la caja ""Incluir Responder-A"" en su billetera antes de enviar su memo"
|
|
||||||
"es-US","scan","scan_use_this","No puede escanear? Use este "
|
|
||||||
"es-US","scan","scan_wallet_link","Link de billetera"
|
|
||||||
"es-US","settings","settings_acode_invalid","Código de Cuenta inválido (10 caracteres max.)"
|
|
||||||
"es-US","settings","settings_acode_lbl","Código de Cuenta:"
|
|
||||||
"es-US","settings","settings_acode_notsaved","Código de cuenta no guardado!"
|
|
||||||
"es-US","settings","settings_acode_saved","Código de cuenta guardado!!"
|
|
||||||
"es-US","settings","settings_close_btn","Cancelar"
|
|
||||||
"es-US","settings","settings_confirm_payments","Confirmar pagos?"
|
|
||||||
"es-US","settings","settings_copy_notavail","Funcionalidad no disponible para su navegador. Use el botón de enviar."
|
|
||||||
"es-US","settings","settings_currency_lbl","Moneda"
|
|
||||||
"es-US","settings","settings_link_2xero","Enlazar a Xero"
|
|
||||||
"es-US","settings","settings_name_lbl","Nombre"
|
|
||||||
"es-US","settings","settings_name_placeholder","Su nombre"
|
|
||||||
"es-US","settings","settings_notserv_close","Cerrar"
|
|
||||||
"es-US","settings","settings_notserv_error","Error"
|
|
||||||
"es-US","settings","settings_notserv_success","Suceso"
|
|
||||||
"es-US","settings","settings_notserv_warning","Advertencia"
|
|
||||||
"es-US","settings","settings_ownerid_copied","ID del propietario copiado a la papelera"
|
|
||||||
"es-US","settings","settings_ownerid_notcopied","Copiar no disponible en su navegador"
|
|
||||||
"es-US","settings","settings_pmtserv_url","URL del Servicio de Pago:"
|
|
||||||
"es-US","settings","settings_relink_2xero","Reconectar a Xero"
|
|
||||||
"es-US","settings","settings_save_btn","Salvar"
|
|
||||||
"es-US","settings","settings_tab_integrations","Integraciones"
|
|
||||||
"es-US","settings","settings_tab_mainlbl","Principal"
|
|
||||||
"es-US","settings","settings_URL_copied","URL de ZGo copiado a la papelera!!"
|
|
||||||
"es-US","settings","settings_use_satoshi","Usar zatoshis?"
|
|
||||||
"es-US","settings","settings_view_title","Configuración"
|
|
||||||
"es-US","settings","settings_vkey_lbl","Clave de visualización"
|
|
||||||
"es-US","settings","settings_vkey_placeholder","Clave de visualización de su billetera"
|
|
||||||
"es-US","settings","settings_wctoken_copied","Token de WooCommerce copiado a la papelera"
|
|
||||||
"es-US","settings","settings_wctoken_generated","Token de WooCommerce generado!"
|
|
||||||
"es-US","settings","settings_wctoken_genfail","Falla generación de Token de WooCommerce"
|
|
||||||
"es-US","settings","settings_wctoken_notcopied","Copiar no disponible en su navegador"
|
|
||||||
"es-US","settings","settings_wc_closebtn","Cerrar"
|
|
||||||
"es-US","settings","settings_wc_gentoken","Generar Token"
|
|
||||||
"es-US","settings","settings_wc_lbl","WooCommerce"
|
|
||||||
"es-US","settings","settings_wc_ownerlbl","Propietario:"
|
|
||||||
"es-US","settings","settings_xeropmt_confirmdis","Confirmación de pagos de Xero desactivada!!"
|
|
||||||
"es-US","settings","settings_xero_closebtn","Cerrar"
|
|
||||||
"es-US","settings","settings_xero_lbl","Xero"
|
|
||||||
"es-US","settings","settings_xero_savebtn","Guardar Código"
|
|
||||||
"es-US","viewer","viewer_view_orders","Ver Ordenes"
|
|
||||||
"es-US","xero","xero_connected_2xero","Conectado a Xero!"
|
|
||||||
"es-US","xero","xero_connecting_2xero","Conectando a Xero.."
|
|
|
886
languages_0.sql
|
@ -1,886 +0,0 @@
|
||||||
-- phpMyAdmin SQL Dump
|
|
||||||
-- version 5.2.1-1.fc37.remi
|
|
||||||
-- https://www.phpmyadmin.net/
|
|
||||||
--
|
|
||||||
-- Host: localhost
|
|
||||||
-- Generation Time: Feb 23, 2023 at 02:58 PM
|
|
||||||
-- Server version: 10.7.7-MariaDB
|
|
||||||
-- PHP Version: 8.1.16
|
|
||||||
|
|
||||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|
||||||
START TRANSACTION;
|
|
||||||
SET time_zone = "+00:00";
|
|
||||||
|
|
||||||
|
|
||||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
||||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
||||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
||||||
/*!40101 SET NAMES utf8mb4 */;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Database: `zgoi18n`
|
|
||||||
--
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `languages`
|
|
||||||
--
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `languages`;
|
|
||||||
CREATE TABLE `languages` (
|
|
||||||
`encode_id` varchar(10) NOT NULL DEFAULT '' COMMENT 'Language encoding id',
|
|
||||||
`view_name` varchar(32) NOT NULL DEFAULT '' COMMENT 'View name that use this language',
|
|
||||||
`view_element` varchar(32) NOT NULL DEFAULT '' COMMENT 'Element name',
|
|
||||||
`view_element_text` varchar(4000) NOT NULL DEFAULT '' COMMENT 'Text to be displayed'
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='ZGo Language translation database';
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Dumping data for table `languages`
|
|
||||||
--
|
|
||||||
|
|
||||||
INSERT INTO `languages` (`encode_id`, `view_name`, `view_element`, `view_element_text`) VALUES
|
|
||||||
('br-US', 'business', 'business_accept_terms', 'Eu aceito os '),
|
|
||||||
('br-US', 'business', 'business_addrs_nobiz', 'Não temos um negócio associado a este endereço Zcash, por favor insira suas informações abaixo:'),
|
|
||||||
('br-US', 'business', 'business_biz_addressholder', 'Endereço'),
|
|
||||||
('br-US', 'business', 'business_biz_addresslbl', 'Endereço:'),
|
|
||||||
('br-US', 'business', 'business_biz_cityholder', 'Cidade'),
|
|
||||||
('br-US', 'business', 'business_biz_citylbl', 'Cidade:'),
|
|
||||||
('br-US', 'business', 'business_biz_countryholder', 'País'),
|
|
||||||
('br-US', 'business', 'business_biz_countrylbl', 'País:'),
|
|
||||||
('br-US', 'business', 'business_biz_info', 'Insira os dados da empresa'),
|
|
||||||
('br-US', 'business', 'business_biz_mailholder', 'exemplo@dominio.com'),
|
|
||||||
('br-US', 'business', 'business_biz_maillbl', 'E-mail'),
|
|
||||||
('br-US', 'business', 'business_biz_nameholder', 'Nome da empresa'),
|
|
||||||
('br-US', 'business', 'business_biz_namelbl', 'Nome da empresa:'),
|
|
||||||
('br-US', 'business', 'business_biz_pcodeholder', 'Código Postal'),
|
|
||||||
('br-US', 'business', 'business_biz_pcodelbl', 'Código postal:'),
|
|
||||||
('br-US', 'business', 'business_biz_stateholder', 'Estado/Provincia'),
|
|
||||||
('br-US', 'business', 'business_biz_statelbl', 'Estado/Provincia'),
|
|
||||||
('br-US', 'business', 'business_biz_websiteholder', 'Website'),
|
|
||||||
('br-US', 'business', 'business_biz_websitelbl', 'Website'),
|
|
||||||
('br-US', 'business', 'business_contact_fnamelbl', 'Primeiro nome do contato:'),
|
|
||||||
('br-US', 'business', 'business_contact_fnholder', 'Nome'),
|
|
||||||
('br-US', 'business', 'business_contact_lnamelbl', 'Último sobrenome do contato:'),
|
|
||||||
('br-US', 'business', 'business_contact_lnholder', 'Sobrenome '),
|
|
||||||
('br-US', 'business', 'business_save_btn', 'Salvar'),
|
|
||||||
('br-US', 'business', 'business_select_session', 'Selecione a duração da sessão que você necessita:'),
|
|
||||||
('br-US', 'business', 'business_session_label', 'Sessão:'),
|
|
||||||
('br-US', 'business', 'business_session_lengthlbl', 'Duração da sessão'),
|
|
||||||
('br-US', 'business', 'business_session_paylbl', 'Pagar'),
|
|
||||||
('br-US', 'business', 'business_signup_title', 'Inscrição de negócio'),
|
|
||||||
('br-US', 'business', 'business_terms_ofuse', 'Termos de Uso'),
|
|
||||||
('br-US', 'business', 'business_zgo_confirmlbl', 'ZGo confirma o seu pagamento'),
|
|
||||||
('br-US', 'cancel', 'cancel_confirm_btn', 'Confirmar'),
|
|
||||||
('br-US', 'cancel', 'cancel_dismiss_btn', 'Descartar'),
|
|
||||||
('br-US', 'cancel', 'cancel_title', 'Cancelar'),
|
|
||||||
('br-US', 'checkout', 'checkout_accept_btn', 'Aceitar'),
|
|
||||||
('br-US', 'checkout', 'checkout_cant_scan', 'Não consegue escanear?'),
|
|
||||||
('br-US', 'checkout', 'checkout_close_btn', 'Fechar'),
|
|
||||||
('br-US', 'checkout', 'checkout_copyaddress_error', 'Erro ao copiar endereço'),
|
|
||||||
('br-US', 'checkout', 'checkout_copyamount_error', 'Erro ao copiar o valor'),
|
|
||||||
('br-US', 'checkout', 'checkout_copymemo_error', 'Erro ao copiar o memorando'),
|
|
||||||
('br-US', 'checkout', 'checkout_copy_address', 'Copiar Endereço'),
|
|
||||||
('br-US', 'checkout', 'checkout_copy_amount', 'Copiar Valor'),
|
|
||||||
('br-US', 'checkout', 'checkout_copy_memo', 'Copiar Memo'),
|
|
||||||
('br-US', 'checkout', 'checkout_copy_notavail', 'Funcionalidade de cópia não suportada!!'),
|
|
||||||
('br-US', 'checkout', 'checkout_notserv_close', 'Fechar'),
|
|
||||||
('br-US', 'checkout', 'checkout_notserv_error', 'Erro'),
|
|
||||||
('br-US', 'checkout', 'checkout_scan_payment', 'Escaneie para fazer o pagamento'),
|
|
||||||
('br-US', 'checkout', 'checkout_use_this', 'Use este/isso'),
|
|
||||||
('br-US', 'checkout', 'checkout_wallet_link', 'link de carteira'),
|
|
||||||
('br-US', 'checkout', 'checkout_wallet_or', ', ou '),
|
|
||||||
('br-US', 'dbexport', 'dbexport_btn_close', 'Cancelar'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_closed_no', 'Não'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_closed_yes', 'Sim'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_date_range', 'Intervalo de datas:'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_download_link', 'Download'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_end_date', 'Data de término'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_export_descrip', 'Exportar pedidos em um arquivo de formato .CSV'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_file_header', '\"Data\",\"ID do pedido\",\"Moeda\",\"Fechado?\",\"Valor\",\"Taxa\",\"ZEC\",\"Pago?\",\"Fatura\"'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_invalid_end', 'Data final inválida'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_invalid_start', 'Data de início inválida'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_noorders_created', 'Você não tem pedidos criados.'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_nothing_todo', 'Nada para fazer.'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_paid_no', 'Não'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_paid_yes', 'Sim'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_settings_title', 'Exportar pedidos'),
|
|
||||||
('br-US', 'dbexport', 'dbexport_start_date', 'Data de início'),
|
|
||||||
('br-US', 'header', 'header_get_currency', 'Moeda:'),
|
|
||||||
('br-US', 'header', 'header_last_block', 'Último Bloco:'),
|
|
||||||
('br-US', 'invoice', 'invoice_cant_scan', 'Não consegue escanear?'),
|
|
||||||
('br-US', 'invoice', 'invoice_copyaddress_error', 'Erro ao copiar endereço'),
|
|
||||||
('br-US', 'invoice', 'invoice_copyamount_error', 'Erro ao copiar o valor'),
|
|
||||||
('br-US', 'invoice', 'invoice_copymemo_error', 'Erro ao copiar o memorando'),
|
|
||||||
('br-US', 'invoice', 'invoice_copy_address', 'Copiar Endereço'),
|
|
||||||
('br-US', 'invoice', 'invoice_copy_amount', 'Copiar Valor'),
|
|
||||||
('br-US', 'invoice', 'invoice_copy_memo', 'Copiar Memo'),
|
|
||||||
('br-US', 'invoice', 'invoice_copy_notavail', 'Funcionalidade de cópia não suportada'),
|
|
||||||
('br-US', 'invoice', 'invoice_dot_or', ', ou'),
|
|
||||||
('br-US', 'invoice', 'invoice_info_notavail', 'Não há informação disponível.'),
|
|
||||||
('br-US', 'invoice', 'invoice_invalid_id', 'ID do fatura incorreto.'),
|
|
||||||
('br-US', 'invoice', 'invoice_invoice_lbl', 'Fatura'),
|
|
||||||
('br-US', 'invoice', 'invoice_invoice_total', 'Total da Fatura:'),
|
|
||||||
('br-US', 'invoice', 'invoice_notserv_close', 'Fechar'),
|
|
||||||
('br-US', 'invoice', 'invoice_notserv_error', 'Erro'),
|
|
||||||
('br-US', 'invoice', 'invoice_order_date', 'Data: '),
|
|
||||||
('br-US', 'invoice', 'invoice_order_id', 'ID do Pedido: '),
|
|
||||||
('br-US', 'invoice', 'invoice_order_price', 'Preço '),
|
|
||||||
('br-US', 'invoice', 'invoice_payment_confirmed', 'Pagamento Confirmado!!'),
|
|
||||||
('br-US', 'invoice', 'invoice_payment_pending', 'Pagamento Pendente!!'),
|
|
||||||
('br-US', 'invoice', 'invoice_qty_lbl', 'Qtde.'),
|
|
||||||
('br-US', 'invoice', 'invoice_return_toshop', 'Voltar à Loja'),
|
|
||||||
('br-US', 'invoice', 'invoice_scan_qrcode', 'Escaneie o QR Code com sua carteira para efetuar o pagamento'),
|
|
||||||
('br-US', 'invoice', 'invoice_use_this', 'Use isso '),
|
|
||||||
('br-US', 'invoice', 'invoice_wallet_link', 'Link da Carteira'),
|
|
||||||
('br-US', 'invoice', 'invoice_zcash_price', 'Preço da Zcash: '),
|
|
||||||
('br-US', 'itemadd', 'itemadd_add_2order', 'Adicionar Item ao Pedido'),
|
|
||||||
('br-US', 'itemadd', 'itemadd_cancel_btn', 'Cancelar'),
|
|
||||||
('br-US', 'itemadd', 'itemadd_save_btn', 'Adicionar'),
|
|
||||||
('br-US', 'itemcreate', 'itemcreate_add_item', 'Adicionar Item'),
|
|
||||||
('br-US', 'itemcreate', 'itemcreate_close_btn', 'Fechar'),
|
|
||||||
('br-US', 'itemcreate', 'itemcreate_item_descr', 'Descrição'),
|
|
||||||
('br-US', 'itemcreate', 'itemcreate_item_lbl', 'Item'),
|
|
||||||
('br-US', 'itemcreate', 'itemcreate_item_price', 'Preço'),
|
|
||||||
('br-US', 'itemcreate', 'itemcreate_save_btn', 'Salvar'),
|
|
||||||
('br-US', 'itemcreate', 'itemcreate_use_nums', 'Use apenas números'),
|
|
||||||
('br-US', 'itemdel', 'itemdel_close_btn', 'Fechar'),
|
|
||||||
('br-US', 'itemdel', 'itemdel_confirm_del', 'Tem certeza de que deseja apagar '),
|
|
||||||
('br-US', 'itemdel', 'itemdel_delete_btn', 'Excluir'),
|
|
||||||
('br-US', 'itemdel', 'itemdel_del_item', 'Excluir Item'),
|
|
||||||
('br-US', 'itemedit', 'itemedit_close_btn', 'Fechar'),
|
|
||||||
('br-US', 'itemedit', 'itemedit_edit_item', 'Editar Item'),
|
|
||||||
('br-US', 'itemedit', 'itemedit_item_descr', 'Descrição '),
|
|
||||||
('br-US', 'itemedit', 'itemedit_item_label', 'Item'),
|
|
||||||
('br-US', 'itemedit', 'itemedit_item_price', 'Preço:'),
|
|
||||||
('br-US', 'itemedit', 'itemedit_save_btn', 'Salvar'),
|
|
||||||
('br-US', 'itemlist', 'itemlist_avail_items', 'Items disponíveis:'),
|
|
||||||
('br-US', 'itemlist', 'itemlist_list_empty', 'Ainda não há itens'),
|
|
||||||
('br-US', 'listorders', 'listorders_backtoshop_btn', 'Voltar a Loja'),
|
|
||||||
('br-US', 'listorders', 'listorders_export_orders', 'Exportar Pedidos'),
|
|
||||||
('br-US', 'listorders', 'listorders_invoice_btn', 'Fatura'),
|
|
||||||
('br-US', 'listorders', 'listorders_item_lbl', 'Item'),
|
|
||||||
('br-US', 'listorders', 'listorders_no_orders', 'Não há Pedidos'),
|
|
||||||
('br-US', 'listorders', 'listorders_order_id', 'ID do Pedido'),
|
|
||||||
('br-US', 'listorders', 'listorders_order_total', 'Total do Pedido:'),
|
|
||||||
('br-US', 'listorders', 'listorders_overall_total', 'Total geral: '),
|
|
||||||
('br-US', 'listorders', 'listorders_qty_lbl', 'Qtde.'),
|
|
||||||
('br-US', 'listorders', 'listorders_receipt_btn', 'Comprovante'),
|
|
||||||
('br-US', 'listorders', 'listorders_todays_total', 'Total de hoje: '),
|
|
||||||
('br-US', 'listorders', 'listorders_total_lbl', 'Total'),
|
|
||||||
('br-US', 'login', 'login_check_wallet', 'Verifique sua carteira!!'),
|
|
||||||
('br-US', 'login', 'login_confirm_login', 'ZGo confirma seu login na blockchain da Zcash'),
|
|
||||||
('br-US', 'login', 'login_confirm_pin', 'Confirmar Senha'),
|
|
||||||
('br-US', 'login', 'login_connect_to_zgo', 'Conecte sua carteira ao ZGo'),
|
|
||||||
('br-US', 'login', 'login_enter_pin', 'Insira a senha enviada pela ZGo para confirmar a propriedade da carteira:'),
|
|
||||||
('br-US', 'login', 'login_last_block', 'Último bloco visto:'),
|
|
||||||
('br-US', 'login', 'login_link_wallet', 'Conecte sua carteira'),
|
|
||||||
('br-US', 'login', 'login_wrong_pin', 'Senha incorreta!'),
|
|
||||||
('br-US', 'main', 'main_price_data', 'Preços informados pela CoinGecko API'),
|
|
||||||
('br-US', 'order', 'order_cancel_btn', 'Cancelar'),
|
|
||||||
('br-US', 'order', 'order_cancel_ok', 'Pedido cancelado com sucesso!'),
|
|
||||||
('br-US', 'order', 'order_cancel_order', 'Cancelar o pedido?'),
|
|
||||||
('br-US', 'order', 'order_checkout_btn', 'Procesar'),
|
|
||||||
('br-US', 'order', 'order_confirm_cancel', 'Tem certeza que deseja cancelar o pedido?'),
|
|
||||||
('br-US', 'order', 'order_confirm_remove', 'Tem certeza que deseja remover <<'),
|
|
||||||
('br-US', 'order', 'order_confirm_remove1', ' deste pedido?'),
|
|
||||||
('br-US', 'order', 'order_invoice_btn', 'Fatura'),
|
|
||||||
('br-US', 'order', 'order_item_lbl', 'Item'),
|
|
||||||
('br-US', 'order', 'order_notserv_close', 'Fechar'),
|
|
||||||
('br-US', 'order', 'order_notserv_success', 'succeso'),
|
|
||||||
('br-US', 'order', 'order_no_openorder', 'Sem pedido aberto!!'),
|
|
||||||
('br-US', 'order', 'order_qty_lbl', 'Qtde.'),
|
|
||||||
('br-US', 'order', 'order_remove_item', 'Remover o Item?'),
|
|
||||||
('br-US', 'order', 'order_total_lbl', 'Total'),
|
|
||||||
('br-US', 'order', 'order_total_title', 'Total do Pedido:'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_amount_doesnot', 'O Valor não'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_cant_scan', 'Não consegue escanear?'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_connecto_xero', 'Conexão para o Xero'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_copyaddress_error', 'Erro ao copiar endereço'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_copyamount_error', 'Erro ao copiar o valor'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_copymemo_error', 'Erro ao copiar o memorando'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_copy_address', 'Copiar Endereço'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_copy_amount', 'Copiar Valor'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_copy_memo', 'Copiar Memo'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_copy_notavail', 'Funcionalidade de cópia não suportada'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_currency_notsup', 'não suportada!!'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_enabled_for', 'habilitado para'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_hdr_txt1', 'Fatura'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_hdr_txt2', 'ID do Pedido: '),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_hdr_txt3', 'Data: '),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_invalid_ownerid', 'ID do proprietário inválido!!'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_invoice_currency', 'Moeda'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_invoice_invalid', 'tipo inválido!!'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_invoice_item', 'Item:'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_invoice_notfound', 'não encontrada!!'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_invoice_num', 'Fatura'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_invoice_paid', 'já pago!!'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_invoice_price', 'Preço'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_invoice_qty', 'Qtde.'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_invoice_total', 'Total da Fatura:'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_match_value', 'corresponde ao valor'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_notserv_close', 'Fechar'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_notserv_error', 'Erro'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_payment_confirmed', 'Pagamento Confirmado!!'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_payment_notprocessed', 'Pedido de pagamento não foi processado!!'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_payment_pending', 'Pagamento Pendente!!'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_pmtsrv_not', 'Serviço de pagamento não'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_reported_byxero', 'reportado por Xero!!'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_scan_qrcode', 'Escaneie o QR Code com sua carteira para efetuar o pagamento'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_server_failed', 'servidor falhou!!'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_use_this', 'Use isso'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_wallet_link', 'Link da Carteira'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_zecdata_price', 'Preço da Zcash:'),
|
|
||||||
('br-US', 'pmtservice', 'pmtservice_zecdata_total', 'Total: '),
|
|
||||||
('br-US', 'promptinvoice', 'promptinvoice_func_notavail', 'Funcionalidade não disponível para o seu navegador. Use o botão enviar ao invés disso'),
|
|
||||||
('br-US', 'promptinvoice', 'promptinvoice_invoice_cancel', 'Cancelar'),
|
|
||||||
('br-US', 'promptinvoice', 'promptinvoice_invoice_clipboard', 'URL da fatura copiado para a área de transferência!!'),
|
|
||||||
('br-US', 'promptinvoice', 'promptinvoice_invoice_sent', 'Enviado!'),
|
|
||||||
('br-US', 'promptinvoice', 'promptinvoice_invoice_url', 'URL da Fatura:'),
|
|
||||||
('br-US', 'promptinvoice', 'promptinvoice_notserv_close', 'Fechar'),
|
|
||||||
('br-US', 'promptinvoice', 'promptinvoice_notserv_error', 'Erro'),
|
|
||||||
('br-US', 'promptinvoice', 'promptinvoice_notserv_success', 'Suceso'),
|
|
||||||
('br-US', 'promptinvoice', 'promptinvoice_send_link', 'Envie o link da fatura para o seu cliente:'),
|
|
||||||
('br-US', 'promptreceipt', 'promptreceipt_close_lbl', 'Fechar'),
|
|
||||||
('br-US', 'promptreceipt', 'promptreceipt_func_notavail', 'Funcionalidade não disponível para o seu navegador. Use o botão Enviar'),
|
|
||||||
('br-US', 'promptreceipt', 'promptreceipt_notserv_close', 'Fechar'),
|
|
||||||
('br-US', 'promptreceipt', 'promptreceipt_notserv_error', 'Erro'),
|
|
||||||
('br-US', 'promptreceipt', 'promptreceipt_notserv_success', 'Sucesso'),
|
|
||||||
('br-US', 'promptreceipt', 'promptreceipt_receipt_clipboard', 'URL do comprovante foi copiado para a área de transferência!!'),
|
|
||||||
('br-US', 'promptreceipt', 'promptreceipt_receipt_url', 'URL do comprovante:'),
|
|
||||||
('br-US', 'promptreceipt', 'promptreceipt_send_link', 'Envie o link do comprovante para o seu cliente:'),
|
|
||||||
('br-US', 'receipt', 'receipt_info_notavail', 'Não há informação disponível.'),
|
|
||||||
('br-US', 'receipt', 'receipt_invalid_id', 'ID do comprovante incorreto.'),
|
|
||||||
('br-US', 'receipt', 'receipt_order_date', 'Data:'),
|
|
||||||
('br-US', 'receipt', 'receipt_order_id', 'ID do Pedido:'),
|
|
||||||
('br-US', 'receipt', 'receipt_order_price', 'Preço:'),
|
|
||||||
('br-US', 'receipt', 'receipt_order_total', 'Total:'),
|
|
||||||
('br-US', 'receipt', 'receipt_qty_lbl', 'Qtde.'),
|
|
||||||
('br-US', 'receipt', 'receipt_receipt_lbl', 'Comprovante'),
|
|
||||||
('br-US', 'receipt', 'receipt_zcash_price', 'Preço da Zcash:'),
|
|
||||||
('br-US', 'receiptqr', 'receiptqr_close_btn', 'Fechar'),
|
|
||||||
('br-US', 'receiptqr', 'receiptqr_scan_receipt', 'Escaneie para o seu comprovante'),
|
|
||||||
('br-US', 'scan', 'scan_close_btn', 'Fechar'),
|
|
||||||
('br-US', 'scan', 'scan_copy_address', 'Copiar Endereço'),
|
|
||||||
('br-US', 'scan', 'scan_copy_amount', 'Copiar Valor'),
|
|
||||||
('br-US', 'scan', 'scan_copy_error', 'Falha ao copiar o valor'),
|
|
||||||
('br-US', 'scan', 'scan_copy_memo', 'Copiar Memo'),
|
|
||||||
('br-US', 'scan', 'scan_fail_payment', 'Erro ao verificar o pagamento'),
|
|
||||||
('br-US', 'scan', 'scan_func_notavail', 'Funcionalidade de cópia não suportada'),
|
|
||||||
('br-US', 'scan', 'scan_memo_sent', 'Memorando enviado!'),
|
|
||||||
('br-US', 'scan', 'scan_notserv_close', 'Fechar'),
|
|
||||||
('br-US', 'scan', 'scan_notserv_error', 'Erro'),
|
|
||||||
('br-US', 'scan', 'scan_scanqr_code', 'Scanei o QR Code'),
|
|
||||||
('br-US', 'scan', 'scan_text_info', 'Certifique-se de selecionar \"Incluir Responder-A\" na sua carteira antes de enviar o seu memorando.'),
|
|
||||||
('br-US', 'scan', 'scan_use_this', 'Não consegue escanear ? Use isso'),
|
|
||||||
('br-US', 'scan', 'scan_wallet_link', 'Link de carteira'),
|
|
||||||
('br-US', 'settings', 'settings_acode_invalid', 'Número da Conta inválido (10 caracteres no máximo)'),
|
|
||||||
('br-US', 'settings', 'settings_acode_lbl', 'Número da conta:'),
|
|
||||||
('br-US', 'settings', 'settings_acode_notsaved', 'Número da Conta não salvo!!'),
|
|
||||||
('br-US', 'settings', 'settings_acode_saved', 'Número da conta Salvo!!'),
|
|
||||||
('br-US', 'settings', 'settings_close_btn', 'Cancelar'),
|
|
||||||
('br-US', 'settings', 'settings_confirm_payments', 'Confirmar pagamentos?'),
|
|
||||||
('br-US', 'settings', 'settings_copy_notavail', 'Funcionalidade não disponível para o seu navegador. Use o botão enviar ao invés disso'),
|
|
||||||
('br-US', 'settings', 'settings_currency_lbl', 'Moeda'),
|
|
||||||
('br-US', 'settings', 'settings_link_2xero', 'Conectar-se ao Xero'),
|
|
||||||
('br-US', 'settings', 'settings_name_lbl', 'Nome'),
|
|
||||||
('br-US', 'settings', 'settings_name_placeholder', 'Seu nome'),
|
|
||||||
('br-US', 'settings', 'settings_notserv_close', 'Fechar'),
|
|
||||||
('br-US', 'settings', 'settings_notserv_error', 'Erro'),
|
|
||||||
('br-US', 'settings', 'settings_notserv_success', 'Sucesso'),
|
|
||||||
('br-US', 'settings', 'settings_notserv_warning', 'Aviso'),
|
|
||||||
('br-US', 'settings', 'settings_ownerid_copied', 'ID do proprietário copiado para a prancheta'),
|
|
||||||
('br-US', 'settings', 'settings_ownerid_notcopied', 'Cópia não disponível em seu navegador'),
|
|
||||||
('br-US', 'settings', 'settings_pmtserv_url', 'URL de Serviço de Pagamento:'),
|
|
||||||
('br-US', 'settings', 'settings_relink_2xero', 'Reconectar-se ao Xero '),
|
|
||||||
('br-US', 'settings', 'settings_save_btn', 'Salvar'),
|
|
||||||
('br-US', 'settings', 'settings_tab_integrations', 'Integrações'),
|
|
||||||
('br-US', 'settings', 'settings_tab_mainlbl', 'Principal'),
|
|
||||||
('br-US', 'settings', 'settings_url_copied', 'URL ZGo copiado para a prancheta!!'),
|
|
||||||
('br-US', 'settings', 'settings_use_satoshi', 'Usar zatoshis?'),
|
|
||||||
('br-US', 'settings', 'settings_view_title', 'Definições'),
|
|
||||||
('br-US', 'settings', 'settings_vkey_lbl', 'Chave de visualização'),
|
|
||||||
('br-US', 'settings', 'settings_vkey_placeholder', 'Sua chave de visualização da carteira'),
|
|
||||||
('br-US', 'settings', 'settings_wctoken_copied', 'Token WooCommerce copiado para a prancheta'),
|
|
||||||
('br-US', 'settings', 'settings_wctoken_generated', 'Token da WoCommerce gerado'),
|
|
||||||
('br-US', 'settings', 'settings_wctoken_genfail', 'Geração do token da WooCommerce falhou'),
|
|
||||||
('br-US', 'settings', 'settings_wctoken_notcopied', 'Cópia não disponível no seu navegador'),
|
|
||||||
('br-US', 'settings', 'settings_wc_closebtn', 'Fechar'),
|
|
||||||
('br-US', 'settings', 'settings_wc_gentoken', 'Gerar Token'),
|
|
||||||
('br-US', 'settings', 'settings_wc_lbl', 'WooCommerce'),
|
|
||||||
('br-US', 'settings', 'settings_wc_ownerlbl', 'Proprietário:'),
|
|
||||||
('br-US', 'settings', 'settings_xeropmt_confirmdis', 'Confirmação de pagamentos Xero desativada!! '),
|
|
||||||
('br-US', 'settings', 'settings_xero_closebtn', 'Fechar'),
|
|
||||||
('br-US', 'settings', 'settings_xero_lbl', 'Xero'),
|
|
||||||
('br-US', 'settings', 'settings_xero_savebtn', 'Salvar código'),
|
|
||||||
('br-US', 'viewer', 'viewer_view_orders', 'Ver Pedidos'),
|
|
||||||
('br-US', 'xero', 'xero_connected_2xero', 'Conectado ao Xero!'),
|
|
||||||
('br-US', 'xero', 'xero_connecting_2xero', 'Conectando ao Xero..'),
|
|
||||||
('en-US', 'business', 'business_accept_terms', 'I accept the '),
|
|
||||||
('en-US', 'business', 'business_addrs_nobiz', 'We do not have a business associated with this Zcash address, please enter your information below:'),
|
|
||||||
('en-US', 'business', 'business_biz_addressholder', 'Address'),
|
|
||||||
('en-US', 'business', 'business_biz_addresslbl', 'Address:'),
|
|
||||||
('en-US', 'business', 'business_biz_cityholder', 'City'),
|
|
||||||
('en-US', 'business', 'business_biz_citylbl', 'City:'),
|
|
||||||
('en-US', 'business', 'business_biz_countryholder', 'Country'),
|
|
||||||
('en-US', 'business', 'business_biz_countrylbl', 'Country:'),
|
|
||||||
('en-US', 'business', 'business_biz_info', 'Provide business info'),
|
|
||||||
('en-US', 'business', 'business_biz_mailholder', 'example@domain.com'),
|
|
||||||
('en-US', 'business', 'business_biz_maillbl', 'E-mail:'),
|
|
||||||
('en-US', 'business', 'business_biz_nameholder', 'Business name'),
|
|
||||||
('en-US', 'business', 'business_biz_namelbl', 'Business Name:'),
|
|
||||||
('en-US', 'business', 'business_biz_pcodeholder', 'Postal code'),
|
|
||||||
('en-US', 'business', 'business_biz_pcodelbl', 'Postal Code:'),
|
|
||||||
('en-US', 'business', 'business_biz_stateholder', 'State or Province'),
|
|
||||||
('en-US', 'business', 'business_biz_statelbl', 'State/Province:'),
|
|
||||||
('en-US', 'business', 'business_biz_websiteholder', 'website'),
|
|
||||||
('en-US', 'business', 'business_biz_websitelbl', 'Website:'),
|
|
||||||
('en-US', 'business', 'business_contact_fnamelbl', 'Contact First name:'),
|
|
||||||
('en-US', 'business', 'business_contact_fnholder', 'First name'),
|
|
||||||
('en-US', 'business', 'business_contact_lnamelbl', 'Contact Last Name:'),
|
|
||||||
('en-US', 'business', 'business_contact_lnholder', 'Last Name'),
|
|
||||||
('en-US', 'business', 'business_save_btn', 'Save'),
|
|
||||||
('en-US', 'business', 'business_select_session ', 'Please select the length of session that you need:'),
|
|
||||||
('en-US', 'business', 'business_session_label', 'Session:'),
|
|
||||||
('en-US', 'business', 'business_session_lengthlbl', 'Session Length'),
|
|
||||||
('en-US', 'business', 'business_session_paylbl', 'Pay'),
|
|
||||||
('en-US', 'business', 'business_signup_title', 'Business sign-up'),
|
|
||||||
('en-US', 'business', 'business_terms_ofuse', 'Terms of Use'),
|
|
||||||
('en-US', 'business', 'business_zgo_confirmlbl', 'ZGo confirms your payment'),
|
|
||||||
('en-US', 'cancel', 'cancel_confirm_btn', 'Confirm'),
|
|
||||||
('en-US', 'cancel', 'cancel_dismiss_btn', 'Dismiss'),
|
|
||||||
('en-US', 'cancel', 'cancel_title', 'Cancel'),
|
|
||||||
('en-US', 'checkout', 'checkout_accept_btn', 'Accept'),
|
|
||||||
('en-US', 'checkout', 'checkout_cant_scan', 'Can\'t scan?'),
|
|
||||||
('en-US', 'checkout', 'checkout_close_btn', 'Close'),
|
|
||||||
('en-US', 'checkout', 'checkout_copyaddress_error', 'Error copying address'),
|
|
||||||
('en-US', 'checkout', 'checkout_copyamount_error', 'Error while copying ammount'),
|
|
||||||
('en-US', 'checkout', 'checkout_copymemo_error', 'Error while copying Memo'),
|
|
||||||
('en-US', 'checkout', 'checkout_copy_address', 'Copy Address'),
|
|
||||||
('en-US', 'checkout', 'checkout_copy_amount', 'Copy Amount'),
|
|
||||||
('en-US', 'checkout', 'checkout_copy_memo', 'Copy Memo'),
|
|
||||||
('en-US', 'checkout', 'checkout_copy_notavail', 'Copy functionality not supported!!'),
|
|
||||||
('en-US', 'checkout', 'checkout_notserv_close', 'Close'),
|
|
||||||
('en-US', 'checkout', 'checkout_notserv_error', 'Error'),
|
|
||||||
('en-US', 'checkout', 'checkout_scan_payment', 'Scan to make payment'),
|
|
||||||
('en-US', 'checkout', 'checkout_use_this', 'Use this '),
|
|
||||||
('en-US', 'checkout', 'checkout_wallet_link', 'wallet link'),
|
|
||||||
('en-US', 'checkout', 'checkout_wallet_or', ', or '),
|
|
||||||
('en-US', 'dbexport', 'dbexport_btn_close', 'Cancel'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_closed_no', 'No'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_closed_yes', 'Yes'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_date_range', 'Date Range:'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_download_link', 'Download'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_end_date', 'End date'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_export_descrip', 'Export orders in a .CSV format file'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_file_header', '\"Date\",\"Order ID\",\"Currency\",\"Closed?\",\"Amount\",\"Rate\",\"ZEC\",\"Paid?\",\"Invoice\"'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_invalid_end', 'Invalid end date'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_invalid_start', 'Invalid start date'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_noorders_created', 'You have no orders created.'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_nothing_todo', 'Nothing to do.'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_paid_no', 'No'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_paid_yes', 'Yes'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_settings_title', 'Export Orders'),
|
|
||||||
('en-US', 'dbexport', 'dbexport_start_date', 'Start date'),
|
|
||||||
('en-US', 'header', 'header_get_currency', 'Currency:'),
|
|
||||||
('en-US', 'header', 'header_last_block', 'Last Block:'),
|
|
||||||
('en-US', 'invoice', 'invoice_cant_scan', 'Can\'t scan?'),
|
|
||||||
('en-US', 'invoice', 'invoice_copyaddress_error', 'Error while copying address'),
|
|
||||||
('en-US', 'invoice', 'invoice_copyamount_error', 'Error while copying amount'),
|
|
||||||
('en-US', 'invoice', 'invoice_copymemo_error', 'Error while copying Memo'),
|
|
||||||
('en-US', 'invoice', 'invoice_copy_address', 'Copy Address'),
|
|
||||||
('en-US', 'invoice', 'invoice_copy_amount', 'Copy Amount'),
|
|
||||||
('en-US', 'invoice', 'invoice_copy_memo', 'Copy Memo'),
|
|
||||||
('en-US', 'invoice', 'invoice_copy_notavail', 'Copy functionality not supported'),
|
|
||||||
('en-US', 'invoice', 'invoice_dot_or', ', or'),
|
|
||||||
('en-US', 'invoice', 'invoice_info_notavail', 'No information available.'),
|
|
||||||
('en-US', 'invoice', 'invoice_invalid_id', 'Incorrect Invoice ID.'),
|
|
||||||
('en-US', 'invoice', 'invoice_invoice_lbl', 'Invoice'),
|
|
||||||
('en-US', 'invoice', 'invoice_invoice_total', 'Invoice Total: '),
|
|
||||||
('en-US', 'invoice', 'invoice_notserv_close', 'Close'),
|
|
||||||
('en-US', 'invoice', 'invoice_notserv_error', 'Error'),
|
|
||||||
('en-US', 'invoice', 'invoice_order_date', 'Date: '),
|
|
||||||
('en-US', 'invoice', 'invoice_order_id', 'Order ID: '),
|
|
||||||
('en-US', 'invoice', 'invoice_order_price', 'Price '),
|
|
||||||
('en-US', 'invoice', 'invoice_payment_confirmed', 'Payment Confirmed!!'),
|
|
||||||
('en-US', 'invoice', 'invoice_payment_pending', 'Payment Pending!!'),
|
|
||||||
('en-US', 'invoice', 'invoice_qty_lbl', 'Qty.'),
|
|
||||||
('en-US', 'invoice', 'invoice_return_toshop', 'Return to Shop'),
|
|
||||||
('en-US', 'invoice', 'invoice_scan_qrcode', 'Scan the QR code with your wallet to make payment'),
|
|
||||||
('en-US', 'invoice', 'invoice_use_this', 'Use this '),
|
|
||||||
('en-US', 'invoice', 'invoice_wallet_link', 'wallet link'),
|
|
||||||
('en-US', 'invoice', 'invoice_zcash_price', 'Zcash price: '),
|
|
||||||
('en-US', 'itemadd', 'itemadd_add_2order', 'Add Item to Order'),
|
|
||||||
('en-US', 'itemadd', 'itemadd_cancel_btn', 'Cancel'),
|
|
||||||
('en-US', 'itemadd', 'itemadd_save_btn', 'Add'),
|
|
||||||
('en-US', 'itemcreate', 'itemcreate_add_item', 'Add Item'),
|
|
||||||
('en-US', 'itemcreate', 'itemcreate_close_btn', 'Close'),
|
|
||||||
('en-US', 'itemcreate', 'itemcreate_item_descr', 'Description'),
|
|
||||||
('en-US', 'itemcreate', 'itemcreate_item_lbl', 'Item'),
|
|
||||||
('en-US', 'itemcreate', 'itemcreate_item_price', 'Price'),
|
|
||||||
('en-US', 'itemcreate', 'itemcreate_save_btn', 'Save'),
|
|
||||||
('en-US', 'itemcreate', 'itemcreate_use_nums', 'Use only numbers'),
|
|
||||||
('en-US', 'itemdel', 'itemdel_close_btn', 'Close'),
|
|
||||||
('en-US', 'itemdel', 'itemdel_confirm_del', 'Are you sure you want to delete '),
|
|
||||||
('en-US', 'itemdel', 'itemdel_delete_btn', 'Delete'),
|
|
||||||
('en-US', 'itemdel', 'itemdel_del_item', 'Delete Item'),
|
|
||||||
('en-US', 'itemedit', 'itemedit_close_btn', 'Close'),
|
|
||||||
('en-US', 'itemedit', 'itemedit_edit_item', 'Edit Item'),
|
|
||||||
('en-US', 'itemedit', 'itemedit_item_descr', 'Description'),
|
|
||||||
('en-US', 'itemedit', 'itemedit_item_label', 'Item'),
|
|
||||||
('en-US', 'itemedit', 'itemedit_item_price', 'Price:'),
|
|
||||||
('en-US', 'itemedit', 'itemedit_save_btn', 'Save'),
|
|
||||||
('en-US', 'itemlist', 'itemlist_avail_items', 'Available Items:'),
|
|
||||||
('en-US', 'itemlist', 'itemlist_list_empty', 'No items yet!'),
|
|
||||||
('en-US', 'listorders', 'listorders_backtoshop_btn', 'Back to Shop'),
|
|
||||||
('en-US', 'listorders', 'listorders_export_orders', 'Export Orders'),
|
|
||||||
('en-US', 'listorders', 'listorders_invoice_btn', 'Invoice'),
|
|
||||||
('en-US', 'listorders', 'listorders_item_lbl', 'Item'),
|
|
||||||
('en-US', 'listorders', 'listorders_no_orders', 'No orders'),
|
|
||||||
('en-US', 'listorders', 'listorders_order_id', 'Order ID'),
|
|
||||||
('en-US', 'listorders', 'listorders_order_total', 'Order Total: '),
|
|
||||||
('en-US', 'listorders', 'listorders_overall_total', 'Overall Total: '),
|
|
||||||
('en-US', 'listorders', 'listorders_qty_lbl', 'Qty.'),
|
|
||||||
('en-US', 'listorders', 'listorders_receipt_btn', 'Receipt'),
|
|
||||||
('en-US', 'listorders', 'listorders_todays_total', 'Today\'s Total: '),
|
|
||||||
('en-US', 'listorders', 'listorders_total_lbl', 'Total'),
|
|
||||||
('en-US', 'login', 'login_check_wallet', 'Check your wallet!!'),
|
|
||||||
('en-US', 'login', 'login_confirm_login', 'ZGo confirms your login on the Zcash blockhain'),
|
|
||||||
('en-US', 'login', 'login_confirm_pin', 'Confirm PIN'),
|
|
||||||
('en-US', 'login', 'login_connect_to_zgo', 'Connect your wallet to ZGo'),
|
|
||||||
('en-US', 'login', 'login_enter_pin', 'Enter the PIN sent by ZGo to confirm wallet ownership:'),
|
|
||||||
('en-US', 'login', 'login_last_block', 'Last block seen:'),
|
|
||||||
('en-US', 'login', 'login_link_wallet', 'Link Wallet'),
|
|
||||||
('en-US', 'login', 'login_wrong_pin', 'Wrong PIN!!'),
|
|
||||||
('en-US', 'main', 'main_price_data', 'Price data provided by CoinGecko API'),
|
|
||||||
('en-US', 'order', 'order_cancel_btn', 'Cancel'),
|
|
||||||
('en-US', 'order', 'order_cancel_ok', 'Order successfully cancelled!'),
|
|
||||||
('en-US', 'order', 'order_cancel_order', 'Cancel Order?'),
|
|
||||||
('en-US', 'order', 'order_checkout_btn', 'Checkout'),
|
|
||||||
('en-US', 'order', 'order_confirm_cancel', 'Are you sure you want to cancel the order?'),
|
|
||||||
('en-US', 'order', 'order_confirm_remove', 'Are you sure you want to remove '),
|
|
||||||
('en-US', 'order', 'order_confirm_remove1', ' from this order?'),
|
|
||||||
('en-US', 'order', 'order_invoice_btn', 'Invoice'),
|
|
||||||
('en-US', 'order', 'order_item_lbl', 'Item'),
|
|
||||||
('en-US', 'order', 'order_notserv_close', 'Close'),
|
|
||||||
('en-US', 'order', 'order_notserv_success', 'success'),
|
|
||||||
('en-US', 'order', 'order_no_openorder', 'No open order!!'),
|
|
||||||
('en-US', 'order', 'order_qty_lbl', 'Qty.'),
|
|
||||||
('en-US', 'order', 'order_remove_item', 'Remove Item?'),
|
|
||||||
('en-US', 'order', 'order_total_lbl', 'Total'),
|
|
||||||
('en-US', 'order', 'order_total_title', 'Order Total:'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_amount_doesnot', 'Amount does not'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_cant_scan', 'Can\'t scan?'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_connecto_xero', 'Connection to Xero'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_copyaddress_error', 'Error while copying address'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_copyamount_error', 'Error while copying amount'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_copymemo_error', 'Error while copying Memo'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_copy_address', 'Copy Address'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_copy_amount', 'Copy Amount'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_copy_memo', 'Copy Memo'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_copy_notavail', 'Copy functionality not supported'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_currency_notsup', 'not supported!!'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_enabled_for', 'enabled for'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_hdr_txt1', 'Invoice'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_hdr_txt2', 'Order ID: '),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_hdr_txt3', 'Date: '),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_invalid_ownerid', 'Invalid Owner ID!!'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_invoice_currency', 'Currency'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_invoice_invalid', 'type invalid!!'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_invoice_item', 'Item:'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_invoice_notfound', 'not found!!'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_invoice_num', 'Invoice'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_invoice_paid', 'already paid!!'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_invoice_price', 'Price'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_invoice_qty', 'Qty.'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_invoice_total', 'Invoice Total: '),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_match_value', 'match value'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_notserv_close', 'Close'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_notserv_error', 'Error'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_payment_confirmed', 'Payment Confirmed!!'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_payment_notprocessed', 'Payment request was not processed!!'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_payment_pending', 'Payment Pending!!'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_pmtsrv_not', 'Payment service not'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_reported_byxero', 'reported by Xero!!'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_scan_qrcode', 'Scan the QR code with your wallet to make payment'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_server_failed', 'server failed!!'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_use_this', 'Use this '),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_wallet_link', 'wallet link'),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_zecdata_price', 'Zcash Price: '),
|
|
||||||
('en-US', 'pmtservice', 'pmtservice_zecdata_total', 'Total: '),
|
|
||||||
('en-US', 'promptinvoice', 'promptinvoice_func_notavail', 'Functionality not available for your browser. Use send button instead.'),
|
|
||||||
('en-US', 'promptinvoice', 'promptinvoice_invoice_cancel', 'Cancel'),
|
|
||||||
('en-US', 'promptinvoice', 'promptinvoice_invoice_clipboard', 'Invoice\'s URL copied to Clipboard!!'),
|
|
||||||
('en-US', 'promptinvoice', 'promptinvoice_invoice_sent', 'Sent!'),
|
|
||||||
('en-US', 'promptinvoice', 'promptinvoice_invoice_url', 'Invoice URL:'),
|
|
||||||
('en-US', 'promptinvoice', 'promptinvoice_notserv_close', 'Close'),
|
|
||||||
('en-US', 'promptinvoice', 'promptinvoice_notserv_error', 'Error'),
|
|
||||||
('en-US', 'promptinvoice', 'promptinvoice_notserv_success', 'Success'),
|
|
||||||
('en-US', 'promptinvoice', 'promptinvoice_send_link', 'Send the invoice link to your client:'),
|
|
||||||
('en-US', 'promptreceipt', 'promptreceipt_close_lbl', 'Close'),
|
|
||||||
('en-US', 'promptreceipt', 'promptreceipt_func_notavail', 'Functionality not available for your browser. Use send button '),
|
|
||||||
('en-US', 'promptreceipt', 'promptreceipt_notserv_close', 'Close'),
|
|
||||||
('en-US', 'promptreceipt', 'promptreceipt_notserv_error', 'Error'),
|
|
||||||
('en-US', 'promptreceipt', 'promptreceipt_notserv_success', 'Success'),
|
|
||||||
('en-US', 'promptreceipt', 'promptreceipt_receipt_clipboard', 'Receipt\'s URL copied to Clipboard!!'),
|
|
||||||
('en-US', 'promptreceipt', 'promptreceipt_receipt_url', 'Receipt URL:'),
|
|
||||||
('en-US', 'promptreceipt', 'promptreceipt_send_link', 'Send the receipt link to your client:'),
|
|
||||||
('en-US', 'receipt', 'receipt_info_notavail', 'No information available.'),
|
|
||||||
('en-US', 'receipt', 'receipt_invalid_id', 'Incorrect receipt ID.'),
|
|
||||||
('en-US', 'receipt', 'receipt_order_date', 'Date: '),
|
|
||||||
('en-US', 'receipt', 'receipt_order_id', 'Order ID: '),
|
|
||||||
('en-US', 'receipt', 'receipt_order_price', 'Price: '),
|
|
||||||
('en-US', 'receipt', 'receipt_order_total', 'Total: '),
|
|
||||||
('en-US', 'receipt', 'receipt_qty_lbl', 'Qty.'),
|
|
||||||
('en-US', 'receipt', 'receipt_receipt_lbl', 'Receipt'),
|
|
||||||
('en-US', 'receipt', 'receipt_zcash_price', 'Zcash Price: '),
|
|
||||||
('en-US', 'receiptqr', 'receiptqr_close_btn', 'Close'),
|
|
||||||
('en-US', 'receiptqr', 'receiptqr_scan_receipt', 'Scan for your Receipt'),
|
|
||||||
('en-US', 'scan', 'scan_close_btn', 'Close'),
|
|
||||||
('en-US', 'scan', 'scan_copy_address', 'Copy Address'),
|
|
||||||
('en-US', 'scan', 'scan_copy_amount', 'Copy Amount'),
|
|
||||||
('en-US', 'scan', 'scan_copy_error', 'Error while copying ammount'),
|
|
||||||
('en-US', 'scan', 'scan_copy_memo', 'Copy Memo'),
|
|
||||||
('en-US', 'scan', 'scan_fail_payment', 'Error while verifying payment'),
|
|
||||||
('en-US', 'scan', 'scan_func_notavail', 'Copy functionality not supported'),
|
|
||||||
('en-US', 'scan', 'scan_memo_sent', 'Memo Sent!'),
|
|
||||||
('en-US', 'scan', 'scan_notserv_close', 'Close'),
|
|
||||||
('en-US', 'scan', 'scan_notserv_error', 'Error'),
|
|
||||||
('en-US', 'scan', 'scan_scanqr_code', 'Scan the QR code'),
|
|
||||||
('en-US', 'scan', 'scan_text_info', 'Ensure to check the \"Include Reply-To\" box in your wallet before sending your memo.'),
|
|
||||||
('en-US', 'scan', 'scan_use_this', 'Can\'t scan? Use this '),
|
|
||||||
('en-US', 'scan', 'scan_wallet_link', 'wallet link'),
|
|
||||||
('en-US', 'settings', 'settings_acode_invalid', 'Invalid Account code (10 chars max.)'),
|
|
||||||
('en-US', 'settings', 'settings_acode_lbl', 'Account Code:'),
|
|
||||||
('en-US', 'settings', 'settings_acode_notsaved', 'Account Code not saved'),
|
|
||||||
('en-US', 'settings', 'settings_acode_saved', 'Account Code saved!!'),
|
|
||||||
('en-US', 'settings', 'settings_close_btn', 'Cancel'),
|
|
||||||
('en-US', 'settings', 'settings_confirm_payments', 'Confirm payments?'),
|
|
||||||
('en-US', 'settings', 'settings_copy_notavail', 'Functionality not available for your browser. Use send button instead.'),
|
|
||||||
('en-US', 'settings', 'settings_currency_lbl', 'Currency'),
|
|
||||||
('en-US', 'settings', 'settings_link_2xero', 'Link to Xero'),
|
|
||||||
('en-US', 'settings', 'settings_name_lbl', 'Name'),
|
|
||||||
('en-US', 'settings', 'settings_name_placeholder', 'Your Name'),
|
|
||||||
('en-US', 'settings', 'settings_notserv_close', 'Close'),
|
|
||||||
('en-US', 'settings', 'settings_notserv_error', 'Error'),
|
|
||||||
('en-US', 'settings', 'settings_notserv_success', 'Success'),
|
|
||||||
('en-US', 'settings', 'settings_notserv_warning', 'Warning'),
|
|
||||||
('en-US', 'settings', 'settings_ownerid_copied', 'Owner ID copied to clipboard'),
|
|
||||||
('en-US', 'settings', 'settings_ownerid_notcopied', 'Copying not available in your browser'),
|
|
||||||
('en-US', 'settings', 'settings_pmtserv_url', 'Payment Service URL:'),
|
|
||||||
('en-US', 'settings', 'settings_relink_2xero', 'Relink to Xero'),
|
|
||||||
('en-US', 'settings', 'settings_save_btn', 'Save'),
|
|
||||||
('en-US', 'settings', 'settings_tab_integrations', 'Integrations'),
|
|
||||||
('en-US', 'settings', 'settings_tab_mainlbl', 'Main'),
|
|
||||||
('en-US', 'settings', 'settings_URL_copied', 'ZGo URL copied to Clipboard!!'),
|
|
||||||
('en-US', 'settings', 'settings_use_satoshi', 'Use zatoshis?'),
|
|
||||||
('en-US', 'settings', 'settings_view_title', 'Settings'),
|
|
||||||
('en-US', 'settings', 'settings_vkey_lbl', 'Viewing key'),
|
|
||||||
('en-US', 'settings', 'settings_vkey_placeholder', 'Your wallet viewing key'),
|
|
||||||
('en-US', 'settings', 'settings_wctoken_copied', 'WooCommerce Token copied to clipboard'),
|
|
||||||
('en-US', 'settings', 'settings_wctoken_generated', 'WooCommerce Token generated!'),
|
|
||||||
('en-US', 'settings', 'settings_wctoken_genfail', 'WooCommerce Token generation failed'),
|
|
||||||
('en-US', 'settings', 'settings_wctoken_notcopied', 'Copying not available in your browser'),
|
|
||||||
('en-US', 'settings', 'settings_wc_closebtn', 'Close'),
|
|
||||||
('en-US', 'settings', 'settings_wc_gentoken', 'Generate Token'),
|
|
||||||
('en-US', 'settings', 'settings_wc_lbl', 'WooCommerce'),
|
|
||||||
('en-US', 'settings', 'settings_wc_ownerlbl', 'Owner:'),
|
|
||||||
('en-US', 'settings', 'settings_xeropmt_confirmdis', 'Xero Payment confirmation disabled!!'),
|
|
||||||
('en-US', 'settings', 'settings_xero_closebtn', 'Close'),
|
|
||||||
('en-US', 'settings', 'settings_xero_lbl', 'Xero'),
|
|
||||||
('en-US', 'settings', 'settings_xero_savebtn', 'Save Code'),
|
|
||||||
('en-US', 'viewer', 'viewer_view_orders', 'View Orders'),
|
|
||||||
('en-US', 'xero', 'xero_connected_2xero', 'Connected to Xero!'),
|
|
||||||
('en-US', 'xero', 'xero_connecting_2xero', 'Connecting to Xero..'),
|
|
||||||
('es-US', 'business', 'business_accept_terms', 'Acepto los '),
|
|
||||||
('es-US', 'business', 'business_addrs_nobiz', 'No tenemos un negocio asociado a esta dirección de Zcash, por favor ingrese su información abajo:'),
|
|
||||||
('es-US', 'business', 'business_biz_addressholder', 'Dirección'),
|
|
||||||
('es-US', 'business', 'business_biz_addresslbl', 'Dirección:'),
|
|
||||||
('es-US', 'business', 'business_biz_cityholder', 'Ciudad'),
|
|
||||||
('es-US', 'business', 'business_biz_citylbl', 'Ciudad:'),
|
|
||||||
('es-US', 'business', 'business_biz_countryholder', 'País'),
|
|
||||||
('es-US', 'business', 'business_biz_countrylbl', 'País:'),
|
|
||||||
('es-US', 'business', 'business_biz_info', 'Ingrese datos del negocio'),
|
|
||||||
('es-US', 'business', 'business_biz_mailholder', 'ejemplo@dominio.com'),
|
|
||||||
('es-US', 'business', 'business_biz_maillbl', 'E-mail:'),
|
|
||||||
('es-US', 'business', 'business_biz_nameholder', 'Nombre del negocio'),
|
|
||||||
('es-US', 'business', 'business_biz_namelbl', 'Nombre del Negocio:'),
|
|
||||||
('es-US', 'business', 'business_biz_pcodeholder', 'Código Postal'),
|
|
||||||
('es-US', 'business', 'business_biz_pcodelbl', 'Código Postal:'),
|
|
||||||
('es-US', 'business', 'business_biz_stateholder', 'Estado o Provincia'),
|
|
||||||
('es-US', 'business', 'business_biz_statelbl', 'Estado/Provincia:'),
|
|
||||||
('es-US', 'business', 'business_biz_websiteholder', 'Sitio web'),
|
|
||||||
('es-US', 'business', 'business_biz_websitelbl', 'Sitio Web:'),
|
|
||||||
('es-US', 'business', 'business_contact_fnamelbl', 'Nombre del Contacto:'),
|
|
||||||
('es-US', 'business', 'business_contact_fnholder', 'Nombre'),
|
|
||||||
('es-US', 'business', 'business_contact_lnamelbl', 'Apellido del Contacto:'),
|
|
||||||
('es-US', 'business', 'business_contact_lnholder', 'Apellido'),
|
|
||||||
('es-US', 'business', 'business_save_btn', 'Salvar'),
|
|
||||||
('es-US', 'business', 'business_select_session', 'Seleccione la duración de la sessión que necesita:'),
|
|
||||||
('es-US', 'business', 'business_session_label', 'Sesión:'),
|
|
||||||
('es-US', 'business', 'business_session_lengthlbl', 'Duración de la Sesión'),
|
|
||||||
('es-US', 'business', 'business_session_paylbl', 'Pagar'),
|
|
||||||
('es-US', 'business', 'business_signup_title', 'Registrar Negocio'),
|
|
||||||
('es-US', 'business', 'business_terms_ofuse', 'Términos de Uso'),
|
|
||||||
('es-US', 'business', 'business_zgo_confirmlbl', 'ZGo confirma su pago'),
|
|
||||||
('es-US', 'cancel', 'cancel_confirm_btn', 'Confirmar'),
|
|
||||||
('es-US', 'cancel', 'cancel_dismiss_btn', 'Descartar'),
|
|
||||||
('es-US', 'cancel', 'cancel_title', 'Cancelar'),
|
|
||||||
('es-US', 'checkout', 'checkout_accept_btn', 'Aceptar'),
|
|
||||||
('es-US', 'checkout', 'checkout_cant_scan', 'No puede escanear?'),
|
|
||||||
('es-US', 'checkout', 'checkout_close_btn', 'Cerrar'),
|
|
||||||
('es-US', 'checkout', 'checkout_copyaddress_error', 'Error al copiar dirección'),
|
|
||||||
('es-US', 'checkout', 'checkout_copyamount_error', 'Error al copiar el valor'),
|
|
||||||
('es-US', 'checkout', 'checkout_copymemo_error', 'Error al copiar Memo'),
|
|
||||||
('es-US', 'checkout', 'checkout_copy_address', 'Copiar Dirección'),
|
|
||||||
('es-US', 'checkout', 'checkout_copy_amount', 'Copie Valor'),
|
|
||||||
('es-US', 'checkout', 'checkout_copy_memo', 'Copie Valor'),
|
|
||||||
('es-US', 'checkout', 'checkout_copy_notavail', 'Fucionalidad de copia no soportada!!'),
|
|
||||||
('es-US', 'checkout', 'checkout_notserv_close', 'Cerrar'),
|
|
||||||
('es-US', 'checkout', 'checkout_notserv_error', 'Error'),
|
|
||||||
('es-US', 'checkout', 'checkout_scan_payment', 'Escanee para hacer el pago'),
|
|
||||||
('es-US', 'checkout', 'checkout_use_this', 'Use este '),
|
|
||||||
('es-US', 'checkout', 'checkout_wallet_link', 'link a billetera'),
|
|
||||||
('es-US', 'checkout', 'checkout_wallet_or', ', o '),
|
|
||||||
('es-US', 'dbexport', 'dbexport_btn_close', 'Cancelar'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_closed_no', 'No'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_closed_yes', 'Si'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_date_range', 'Rango de Fechas:'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_download_link', 'Descargar'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_end_date', 'Fecha final'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_export_descrip', 'Exportar órdenes en un archivo de formato .CSV'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_file_header', '\"Fecha\",\"ID Orden\",\"Moneda\",\"Cerrada?\",\"Valor\",\"Tasa\",\"ZEC\",\"Pagada?\",\"Factura\"'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_invalid_end', 'Fecha final inválida'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_invalid_start', 'Fecha de inicio inválida'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_noorders_created', 'Usted no tiene órdenes creadas.'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_nothing_todo', 'Nada que hacer.'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_paid_no', 'No'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_paid_yes', 'Si'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_settings_title', 'Exportar Ordenes'),
|
|
||||||
('es-US', 'dbexport', 'dbexport_start_date', 'Fecha inicial'),
|
|
||||||
('es-US', 'header', 'header_get_currency', 'Moneda:'),
|
|
||||||
('es-US', 'header', 'header_last_block', 'Último Bloque:'),
|
|
||||||
('es-US', 'invoice', 'invoice_cant_scan', 'No puede escanear?'),
|
|
||||||
('es-US', 'invoice', 'invoice_copyaddress_error', 'Error al copiar dirección'),
|
|
||||||
('es-US', 'invoice', 'invoice_copyamount_error', 'Error al copiar valor'),
|
|
||||||
('es-US', 'invoice', 'invoice_copymemo_error', 'Error al copiar Memo'),
|
|
||||||
('es-US', 'invoice', 'invoice_copy_address', 'Copie Dirección'),
|
|
||||||
('es-US', 'invoice', 'invoice_copy_amount', 'Copiar Valor'),
|
|
||||||
('es-US', 'invoice', 'invoice_copy_memo', 'Copiar Memo'),
|
|
||||||
('es-US', 'invoice', 'invoice_copy_notavail', 'Funcionalidad para copia no soportada'),
|
|
||||||
('es-US', 'invoice', 'invoice_dot_or', ', o'),
|
|
||||||
('es-US', 'invoice', 'invoice_info_notavail', 'No hay información disponible.'),
|
|
||||||
('es-US', 'invoice', 'invoice_invalid_id', 'ID de Factura incorrecto.'),
|
|
||||||
('es-US', 'invoice', 'invoice_invoice_lbl', 'Factura'),
|
|
||||||
('es-US', 'invoice', 'invoice_invoice_total', 'Total Factura: '),
|
|
||||||
('es-US', 'invoice', 'invoice_notserv_close', 'Cerrar'),
|
|
||||||
('es-US', 'invoice', 'invoice_notserv_error', 'Error'),
|
|
||||||
('es-US', 'invoice', 'invoice_order_date', 'Fecha: '),
|
|
||||||
('es-US', 'invoice', 'invoice_order_id', 'ID del Pedido: '),
|
|
||||||
('es-US', 'invoice', 'invoice_order_price', 'Precio '),
|
|
||||||
('es-US', 'invoice', 'invoice_payment_confirmed', 'Pago Confirmado!!'),
|
|
||||||
('es-US', 'invoice', 'invoice_payment_pending', 'Pago Pendiente!!'),
|
|
||||||
('es-US', 'invoice', 'invoice_qty_lbl', 'Cant.'),
|
|
||||||
('es-US', 'invoice', 'invoice_return_toshop', 'Regresar a Tienda'),
|
|
||||||
('es-US', 'invoice', 'invoice_scan_qrcode', 'Escanee el código QR con su billetera para hacer el pago'),
|
|
||||||
('es-US', 'invoice', 'invoice_use_this', 'Use este '),
|
|
||||||
('es-US', 'invoice', 'invoice_wallet_link', 'link de billetera'),
|
|
||||||
('es-US', 'invoice', 'invoice_zcash_price', 'Precio de Zcash: '),
|
|
||||||
('es-US', 'itemadd', 'itemadd_add_2order', 'Agregar Item a la orden'),
|
|
||||||
('es-US', 'itemadd', 'itemadd_cancel_btn', 'Cancelar'),
|
|
||||||
('es-US', 'itemadd', 'itemadd_save_btn', 'Agregar'),
|
|
||||||
('es-US', 'itemcreate', 'itemcreate_add_item', 'Agregar Item'),
|
|
||||||
('es-US', 'itemcreate', 'itemcreate_close_btn', 'Cerrar'),
|
|
||||||
('es-US', 'itemcreate', 'itemcreate_item_descr', 'Descripcion'),
|
|
||||||
('es-US', 'itemcreate', 'itemcreate_item_lbl', 'Item'),
|
|
||||||
('es-US', 'itemcreate', 'itemcreate_item_price', 'Precio'),
|
|
||||||
('es-US', 'itemcreate', 'itemcreate_save_btn', 'Grabar'),
|
|
||||||
('es-US', 'itemcreate', 'itemcreate_use_nums', 'Use solo números'),
|
|
||||||
('es-US', 'itemdel', 'itemdel_close_btn', 'Cerrar'),
|
|
||||||
('es-US', 'itemdel', 'itemdel_confirm_del', 'Esta seguro de querer eliminar el item '),
|
|
||||||
('es-US', 'itemdel', 'itemdel_delete_btn', 'Eliminar'),
|
|
||||||
('es-US', 'itemdel', 'itemdel_del_item', 'Eliminar Item'),
|
|
||||||
('es-US', 'itemedit', 'itemedit_close_btn', 'Cerrar'),
|
|
||||||
('es-US', 'itemedit', 'itemedit_edit_item', 'Editar Item'),
|
|
||||||
('es-US', 'itemedit', 'itemedit_item_descr', 'Descripcion'),
|
|
||||||
('es-US', 'itemedit', 'itemedit_item_label', 'Item'),
|
|
||||||
('es-US', 'itemedit', 'itemedit_item_price', 'Precio:'),
|
|
||||||
('es-US', 'itemedit', 'itemedit_save_btn', 'Guardar'),
|
|
||||||
('es-US', 'itemlist', 'itemlist_avail_items', 'Items Disponibles:'),
|
|
||||||
('es-US', 'itemlist', 'itemlist_list_empty', 'No existen items!'),
|
|
||||||
('es-US', 'listorders', 'listorders_backtoshop_btn', 'Regresar a Tienda'),
|
|
||||||
('es-US', 'listorders', 'listorders_export_orders', 'Exportar Pedidos'),
|
|
||||||
('es-US', 'listorders', 'listorders_invoice_btn', 'Factura'),
|
|
||||||
('es-US', 'listorders', 'listorders_item_lbl', 'Item'),
|
|
||||||
('es-US', 'listorders', 'listorders_no_orders', 'No hay órdenes'),
|
|
||||||
('es-US', 'listorders', 'listorders_order_id', 'ID de Orden'),
|
|
||||||
('es-US', 'listorders', 'listorders_order_total', 'Total de la Orden:'),
|
|
||||||
('es-US', 'listorders', 'listorders_overall_total', 'Total General: '),
|
|
||||||
('es-US', 'listorders', 'listorders_qty_lbl', 'Cant.'),
|
|
||||||
('es-US', 'listorders', 'listorders_receipt_btn', 'Recibo'),
|
|
||||||
('es-US', 'listorders', 'listorders_todays_total', 'Total del Dia: '),
|
|
||||||
('es-US', 'listorders', 'listorders_total_lbl', 'Total'),
|
|
||||||
('es-US', 'login', 'login_check_wallet', 'Verifique su billetera!!'),
|
|
||||||
('es-US', 'login', 'login_confirm_login', 'ZGo confirma su ingreso en la cadena de Zcash'),
|
|
||||||
('es-US', 'login', 'login_confirm_pin', 'Confirme el PIN'),
|
|
||||||
('es-US', 'login', 'login_connect_to_zgo', 'Conectar su billetera a ZGo'),
|
|
||||||
('es-US', 'login', 'login_enter_pin', 'Ingrese el PIN enviado por ZGo para confirmar su billetera:'),
|
|
||||||
('es-US', 'login', 'login_last_block', 'Ultimo Bloque Verificado: '),
|
|
||||||
('es-US', 'login', 'login_link_wallet', 'Asociar Billetera'),
|
|
||||||
('es-US', 'login', 'login_wrong_pin', 'PIN Invalido!!'),
|
|
||||||
('es-US', 'main', 'main_price_data', 'Precios provistos por API de CoinGecko'),
|
|
||||||
('es-US', 'order', 'order_cancel_btn', 'Cancelar'),
|
|
||||||
('es-US', 'order', 'order_cancel_ok', 'Orden cancelada exitosamente!'),
|
|
||||||
('es-US', 'order', 'order_cancel_order', 'Cancelar Orden?'),
|
|
||||||
('es-US', 'order', 'order_checkout_btn', 'Procesar'),
|
|
||||||
('es-US', 'order', 'order_confirm_cancel', 'Esta seguro que quiere cancelar la orden?'),
|
|
||||||
('es-US', 'order', 'order_confirm_remove', 'Esta seguro de querer remover '),
|
|
||||||
('es-US', 'order', 'order_confirm_remove1', ' de esta orden?'),
|
|
||||||
('es-US', 'order', 'order_invoice_btn', 'Factura'),
|
|
||||||
('es-US', 'order', 'order_item_lbl', 'Item'),
|
|
||||||
('es-US', 'order', 'order_notserv_close', 'Cerrar'),
|
|
||||||
('es-US', 'order', 'order_notserv_success', 'confirmado'),
|
|
||||||
('es-US', 'order', 'order_no_openorder', 'Sin órden abierta!!'),
|
|
||||||
('es-US', 'order', 'order_qty_lbl', 'Cant.'),
|
|
||||||
('es-US', 'order', 'order_remove_item', 'Remover Item?'),
|
|
||||||
('es-US', 'order', 'order_total_lbl', 'Total'),
|
|
||||||
('es-US', 'order', 'order_total_title', 'Total Pedido:'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_amount_doesnot', 'Total no'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_cant_scan', 'No puede escanear?'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_connecto_xero', 'Conexion con Xero'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_copyaddress_error', 'Error al copiar dirección'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_copyamount_error', 'Error al copiar valor'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_copymemo_error', 'Error al copiar Memo'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_copy_address', 'Copiar Dirección'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_copy_amount', 'Copiar Valor'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_copy_memo', 'Copiar Memo'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_copy_notavail', 'Funcionalidad para copia no soportada'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_currency_notsup', 'no soportada!!'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_enabled_for', 'habilitado para'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_hdr_txt1', 'Factura'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_hdr_txt2', 'ID de Orden: '),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_hdr_txt3', 'Fecha: '),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_invalid_ownerid', 'ID de propietario inválida!!'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_invoice_currency', 'Moneda'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_invoice_invalid', 'tipo inválido!!'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_invoice_item', 'Item:'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_invoice_notfound', 'no encontrada!!'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_invoice_num', 'Factura'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_invoice_paid', 'ya pagada!!'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_invoice_price', 'Precio'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_invoice_qty', 'Cant.'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_invoice_total', 'Total Factura:'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_match_value', 'es igual al valor'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_notserv_close', 'Cerrar'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_notserv_error', 'Error'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_payment_confirmed', 'Pago Confirmado!!'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_payment_notprocessed', 'Solicitud de pago no fue procesada!!'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_payment_pending', 'Pago Pendiente!!'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_pmtsrv_not', 'Servicio de pagos no '),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_reported_byxero', 'reportado por Xero!!'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_scan_qrcode', 'Escanee el código QR con su billetera para hacer el pago'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_server_failed', 'servidor falló!!'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_use_this', 'Use este '),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_wallet_link', 'link de billetera'),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_zecdata_price', 'Precio Zcash: '),
|
|
||||||
('es-US', 'pmtservice', 'pmtservice_zecdata_total', 'Total: '),
|
|
||||||
('es-US', 'promptinvoice', 'promptinvoice_func_notavail', 'Funcionalidad no disponible en su navegador. Use el botón de enviar en lugar de eso.'),
|
|
||||||
('es-US', 'promptinvoice', 'promptinvoice_invoice_cancel', 'Cancelar'),
|
|
||||||
('es-US', 'promptinvoice', 'promptinvoice_invoice_clipboard', 'URL de la factura copiado al Portapapeles!!'),
|
|
||||||
('es-US', 'promptinvoice', 'promptinvoice_invoice_sent', 'Enviado!'),
|
|
||||||
('es-US', 'promptinvoice', 'promptinvoice_invoice_url', 'URL de Factura:'),
|
|
||||||
('es-US', 'promptinvoice', 'promptinvoice_notserv_close', 'Cerrar'),
|
|
||||||
('es-US', 'promptinvoice', 'promptinvoice_notserv_error', 'Error'),
|
|
||||||
('es-US', 'promptinvoice', 'promptinvoice_notserv_success', 'Suceso');
|
|
||||||
INSERT INTO `languages` (`encode_id`, `view_name`, `view_element`, `view_element_text`) VALUES
|
|
||||||
('es-US', 'promptinvoice', 'promptinvoice_send_link', 'Envíe el link de la factura a su cliente:'),
|
|
||||||
('es-US', 'promptreceipt', 'promptreceipt_close_lbl', 'Cerrar'),
|
|
||||||
('es-US', 'promptreceipt', 'promptreceipt_func_notavail', 'Functionality not available for your browser. Use send button '),
|
|
||||||
('es-US', 'promptreceipt', 'promptreceipt_notserv_close', 'Cerrar'),
|
|
||||||
('es-US', 'promptreceipt', 'promptreceipt_notserv_error', 'Error'),
|
|
||||||
('es-US', 'promptreceipt', 'promptreceipt_notserv_success', 'Suceso'),
|
|
||||||
('es-US', 'promptreceipt', 'promptreceipt_receipt_clipboard', 'URL del Recibo copiado a portapapeles!!'),
|
|
||||||
('es-US', 'promptreceipt', 'promptreceipt_receipt_url', 'URL del Recibo:'),
|
|
||||||
('es-US', 'promptreceipt', 'promptreceipt_send_link', 'Envíe el enlace del recibo a su cliente :'),
|
|
||||||
('es-US', 'receipt', 'receipt_info_notavail', 'No hay información disponible.'),
|
|
||||||
('es-US', 'receipt', 'receipt_invalid_id', 'ID de Recibo incorrecto.'),
|
|
||||||
('es-US', 'receipt', 'receipt_order_date', 'Fecha: '),
|
|
||||||
('es-US', 'receipt', 'receipt_order_id', 'ID de Orden:'),
|
|
||||||
('es-US', 'receipt', 'receipt_order_price', 'Precio: '),
|
|
||||||
('es-US', 'receipt', 'receipt_order_total', 'Total: '),
|
|
||||||
('es-US', 'receipt', 'receipt_qty_lbl', 'Cant.'),
|
|
||||||
('es-US', 'receipt', 'receipt_receipt_lbl', 'Recibo '),
|
|
||||||
('es-US', 'receipt', 'receipt_zcash_price', 'Precio de Zcash: '),
|
|
||||||
('es-US', 'receiptqr', 'receiptqr_close_btn', 'Cerrar'),
|
|
||||||
('es-US', 'receiptqr', 'receiptqr_scan_receipt', 'Escanee para obtener su Recibo'),
|
|
||||||
('es-US', 'scan', 'scan_close_btn', 'Cerrar'),
|
|
||||||
('es-US', 'scan', 'scan_copy_address', 'Copiar Dirección'),
|
|
||||||
('es-US', 'scan', 'scan_copy_amount', 'Copiar Valor'),
|
|
||||||
('es-US', 'scan', 'scan_copy_error', 'Error al copiar valor'),
|
|
||||||
('es-US', 'scan', 'scan_copy_memo', 'Copiar Memo'),
|
|
||||||
('es-US', 'scan', 'scan_fail_payment', 'Error al verificar pago'),
|
|
||||||
('es-US', 'scan', 'scan_func_notavail', 'Funcionalidad de copia no soportada'),
|
|
||||||
('es-US', 'scan', 'scan_memo_sent', 'Memorando enviado!'),
|
|
||||||
('es-US', 'scan', 'scan_notserv_close', 'Cerrar'),
|
|
||||||
('es-US', 'scan', 'scan_notserv_error', 'Error'),
|
|
||||||
('es-US', 'scan', 'scan_scanqr_code', 'Escanee el código QR'),
|
|
||||||
('es-US', 'scan', 'scan_text_info', 'Asegúrese de marcar la caja \"Incluir Responder-A\" en su billetera antes de enviar su memo'),
|
|
||||||
('es-US', 'scan', 'scan_use_this', 'No puede escanear? Use este '),
|
|
||||||
('es-US', 'scan', 'scan_wallet_link', 'Link de billetera'),
|
|
||||||
('es-US', 'settings', 'settings_acode_invalid', 'Código de Cuenta inválido (10 caracteres max.)'),
|
|
||||||
('es-US', 'settings', 'settings_acode_lbl', 'Código de Cuenta:'),
|
|
||||||
('es-US', 'settings', 'settings_acode_notsaved', 'Código de cuenta no guardado!'),
|
|
||||||
('es-US', 'settings', 'settings_acode_saved', 'Código de cuenta guardado!!'),
|
|
||||||
('es-US', 'settings', 'settings_close_btn', 'Cancelar'),
|
|
||||||
('es-US', 'settings', 'settings_confirm_payments', 'Confirmar pagos?'),
|
|
||||||
('es-US', 'settings', 'settings_copy_notavail', 'Funcionalidad no disponible para su navegador. Use el botón de enviar.'),
|
|
||||||
('es-US', 'settings', 'settings_currency_lbl', 'Moneda'),
|
|
||||||
('es-US', 'settings', 'settings_link_2xero', 'Enlazar a Xero'),
|
|
||||||
('es-US', 'settings', 'settings_name_lbl', 'Nombre'),
|
|
||||||
('es-US', 'settings', 'settings_name_placeholder', 'Su nombre'),
|
|
||||||
('es-US', 'settings', 'settings_notserv_close', 'Cerrar'),
|
|
||||||
('es-US', 'settings', 'settings_notserv_error', 'Error'),
|
|
||||||
('es-US', 'settings', 'settings_notserv_success', 'Suceso'),
|
|
||||||
('es-US', 'settings', 'settings_notserv_warning', 'Advertencia'),
|
|
||||||
('es-US', 'settings', 'settings_ownerid_copied', 'ID del propietario copiado a la papelera'),
|
|
||||||
('es-US', 'settings', 'settings_ownerid_notcopied', 'Copiar no disponible en su navegador'),
|
|
||||||
('es-US', 'settings', 'settings_pmtserv_url', 'URL del Servicio de Pago:'),
|
|
||||||
('es-US', 'settings', 'settings_relink_2xero', 'Reconectar a Xero'),
|
|
||||||
('es-US', 'settings', 'settings_save_btn', 'Salvar'),
|
|
||||||
('es-US', 'settings', 'settings_tab_integrations', 'Integraciones'),
|
|
||||||
('es-US', 'settings', 'settings_tab_mainlbl', 'Principal'),
|
|
||||||
('es-US', 'settings', 'settings_URL_copied', 'URL de ZGo copiado a la papelera!!'),
|
|
||||||
('es-US', 'settings', 'settings_use_satoshi', 'Usar zatoshis?'),
|
|
||||||
('es-US', 'settings', 'settings_view_title', 'Configuración'),
|
|
||||||
('es-US', 'settings', 'settings_vkey_lbl', 'Clave de visualización'),
|
|
||||||
('es-US', 'settings', 'settings_vkey_placeholder', 'Clave de visualización de su billetera'),
|
|
||||||
('es-US', 'settings', 'settings_wctoken_copied', 'Token de WooCommerce copiado a la papelera'),
|
|
||||||
('es-US', 'settings', 'settings_wctoken_generated', 'Token de WooCommerce generado!'),
|
|
||||||
('es-US', 'settings', 'settings_wctoken_genfail', 'Falla generación de Token de WooCommerce'),
|
|
||||||
('es-US', 'settings', 'settings_wctoken_notcopied', 'Copiar no disponible en su navegador'),
|
|
||||||
('es-US', 'settings', 'settings_wc_closebtn', 'Cerrar'),
|
|
||||||
('es-US', 'settings', 'settings_wc_gentoken', 'Generar Token'),
|
|
||||||
('es-US', 'settings', 'settings_wc_lbl', 'WooCommerce'),
|
|
||||||
('es-US', 'settings', 'settings_wc_ownerlbl', 'Propietario:'),
|
|
||||||
('es-US', 'settings', 'settings_xeropmt_confirmdis', 'Confirmación de pagos de Xero desactivada!!'),
|
|
||||||
('es-US', 'settings', 'settings_xero_closebtn', 'Cerrar'),
|
|
||||||
('es-US', 'settings', 'settings_xero_lbl', 'Xero'),
|
|
||||||
('es-US', 'settings', 'settings_xero_savebtn', 'Guardar Código'),
|
|
||||||
('es-US', 'viewer', 'viewer_view_orders', 'Ver Ordenes'),
|
|
||||||
('es-US', 'xero', 'xero_connected_2xero', 'Conectado a Xero!'),
|
|
||||||
('es-US', 'xero', 'xero_connecting_2xero', 'Conectando a Xero..');
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for dumped tables
|
|
||||||
--
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for table `languages`
|
|
||||||
--
|
|
||||||
ALTER TABLE `languages`
|
|
||||||
ADD UNIQUE KEY `language_ix` (`encode_id`,`view_name`,`view_element`);
|
|
||||||
COMMIT;
|
|
||||||
|
|
||||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
||||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
11148
package-lock.json
generated
79
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "zgo",
|
"name": "zgo",
|
||||||
"version": "2.0.0-beta",
|
"version": "1.4.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve",
|
"start": "ng serve",
|
||||||
|
@ -10,52 +10,55 @@
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular-material-components/datetime-picker": "^9.0.0",
|
"@angular-material-components/datetime-picker": "^8.0.0",
|
||||||
"@angular/animations": "^15.1.2",
|
"@angular/animations": "^14.2.5",
|
||||||
"@angular/cdk": "^15.1.2",
|
"@angular/cdk": "^14.2.4",
|
||||||
"@angular/common": "^15.1.2",
|
"@angular/common": "^14.2.5",
|
||||||
"@angular/compiler": "^15.1.2",
|
"@angular/compiler": "^14.2.5",
|
||||||
"@angular/core": "^15.1.2",
|
"@angular/core": "^14.2.5",
|
||||||
"@angular/forms": "^15.1.2",
|
"@angular/forms": "^14.2.5",
|
||||||
"@angular/material": "^15.1.2",
|
"@angular/material": "^14.2.4",
|
||||||
"@angular/platform-browser": "^15.1.2",
|
"@angular/platform-browser": "^14.2.5",
|
||||||
"@angular/platform-browser-dynamic": "^15.1.2",
|
"@angular/platform-browser-dynamic": "^14.2.5",
|
||||||
"@angular/router": "^15.1.2",
|
"@angular/router": "^14.2.5",
|
||||||
"@fortawesome/angular-fontawesome": "^0.12.1",
|
"@fortawesome/angular-fontawesome": "^0.10.2",
|
||||||
"@fortawesome/fontawesome-free": "^6.2.1",
|
"@fortawesome/fontawesome-free": "^6.1.1",
|
||||||
"@fortawesome/fontawesome-svg-core": "^6.2.1",
|
"@fortawesome/fontawesome-svg-core": "^6.1.0",
|
||||||
"@fortawesome/free-brands-svg-icons": "^6.2.1",
|
"@fortawesome/free-brands-svg-icons": "^6.1.0",
|
||||||
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
"@fortawesome/free-regular-svg-icons": "^6.1.0",
|
||||||
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
"@fortawesome/free-solid-svg-icons": "^6.1.0",
|
||||||
"@supercharge/request-ip": "^1.2.0",
|
"@supercharge/request-ip": "^1.1.2",
|
||||||
"angular-local-storage": "^0.7.1",
|
"angular-local-storage": "^0.7.1",
|
||||||
"angular-material-datepicker": "^1.0.2",
|
"angular-material-datepicker": "^1.0.2",
|
||||||
"async": "^3.2.4",
|
"async": "^3.2.2",
|
||||||
"coingecko-api": "^1.0.10",
|
"coingecko-api": "^1.0.10",
|
||||||
"easyqrcodejs": "^4.4.13",
|
"easyqrcodejs": "^4.4.6",
|
||||||
"material-design-icons": "^3.0.1",
|
"material-design-icons": "^3.0.1",
|
||||||
"rxjs": "~7.8.0",
|
"mongoose": "^6.0.13",
|
||||||
|
"rxjs": "~6.6.0",
|
||||||
"sha.js": "^2.4.11",
|
"sha.js": "^2.4.11",
|
||||||
"tslib": "^2.5.0",
|
"stdrpc": "^1.3.0",
|
||||||
|
"tslib": "^2.3.0",
|
||||||
"urlsafe-base64": "^1.0.0",
|
"urlsafe-base64": "^1.0.0",
|
||||||
"uuid": "^9.0.0",
|
"uuid": "^8.3.2",
|
||||||
"zone.js": "~0.12.0"
|
"xero-node": "^4.23.0",
|
||||||
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^15.1.3",
|
"@angular-devkit/build-angular": "^14.2.5",
|
||||||
"@angular/cli": "^15.1.3",
|
"@angular/cli": "^14.2.5",
|
||||||
"@angular/compiler-cli": "^15.1.2",
|
"@angular/compiler-cli": "^14.2.5",
|
||||||
"@types/jasmine": "~4.3.1",
|
"@types/jasmine": "~3.8.0",
|
||||||
"@types/node": "^18.11.18",
|
"@types/node": "^12.20.33",
|
||||||
"@types/request": "^2.48.8",
|
"@types/request": "^2.48.8",
|
||||||
"@types/urlsafe-base64": "^1.0.28",
|
"@types/urlsafe-base64": "^1.0.28",
|
||||||
"@types/uuid": "^9.0.0",
|
"@types/uuid": "^8.3.1",
|
||||||
"jasmine-core": "~4.5.0",
|
"jasmine-core": "~3.8.0",
|
||||||
"karma": "~6.4.1",
|
"karma": "~6.3.0",
|
||||||
"karma-chrome-launcher": "~3.1.1",
|
"karma-chrome-launcher": "~3.1.0",
|
||||||
"karma-coverage": "~2.2.0",
|
"karma-coverage": "~2.0.3",
|
||||||
"karma-jasmine": "~5.1.0",
|
"karma-jasmine": "~4.0.0",
|
||||||
"karma-jasmine-html-reporter": "~2.0.0",
|
"karma-jasmine-html-reporter": "~1.7.0",
|
||||||
"typescript": "~4.9.4"
|
"typescript": "~4.7.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,5 @@ main{
|
||||||
}
|
}
|
||||||
|
|
||||||
.tiny{
|
.tiny{
|
||||||
font-size: 12px;
|
font-size: 10px;
|
||||||
margin-top: 3px;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,52 +1,9 @@
|
||||||
<main >
|
<main>
|
||||||
<router-outlet ></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
<!--
|
|
||||||
<app-login (newLanguageEvent) = "chgUILanguage($event)"></app-login>
|
|
||||||
-->
|
|
||||||
</main>
|
</main>
|
||||||
<mat-divider></mat-divider>
|
<mat-divider></mat-divider>
|
||||||
<div align="center">
|
<div class="footer" align="center">
|
||||||
<img *ngIf="zgoLanguage == 'en-US'"
|
<p>© 2023 Vergara Technologies LLC</p>
|
||||||
src="../assets/zgo-usa-flag-default.png"
|
<p class="tiny">Version 1.4.1</p>
|
||||||
(click)="usFlagClicked()"
|
<p class="tiny">Price data provided by CoinGecko API</p>
|
||||||
height="24px"
|
|
||||||
title="English (Default)"/>
|
|
||||||
<img *ngIf="zgoLanguage != 'en-US'"
|
|
||||||
src="../assets/zgo-usa-flag.png"
|
|
||||||
(click)="usFlagClicked()"
|
|
||||||
height="24px"
|
|
||||||
title="English"/>
|
|
||||||
<img src="../assets/flag-spacer.png"
|
|
||||||
height="24px">
|
|
||||||
<img *ngIf="zgoLanguage == 'es-US'"
|
|
||||||
src="../assets/zgo-spain-flag-default.png"
|
|
||||||
(click)="esFlagClicked()"
|
|
||||||
height="24px"
|
|
||||||
title="Spanish (Default)"/>
|
|
||||||
<img *ngIf="zgoLanguage != 'es-US'"
|
|
||||||
src="../assets/zgo-spain-flag.png"
|
|
||||||
(click)="esFlagClicked()"
|
|
||||||
height="24px"
|
|
||||||
title="Spanish"/>
|
|
||||||
<img src="../assets/flag-spacer.png"
|
|
||||||
height="24px">
|
|
||||||
<img *ngIf="zgoLanguage == 'br-US'"
|
|
||||||
src="../assets/zgo-brazil-flag-default.png"
|
|
||||||
(click)="brFlagClicked()"
|
|
||||||
height="24px"
|
|
||||||
title="Portuguese (Default)"/>
|
|
||||||
<img *ngIf="zgoLanguage != 'br-US'"
|
|
||||||
src="../assets/zgo-brazil-flag.png"
|
|
||||||
(click)="brFlagClicked()"
|
|
||||||
height="24px"
|
|
||||||
title="Portuguese"/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="footer" align="center"
|
|
||||||
style="margin-top: 10px;
|
|
||||||
margin-bottom: 20px;">
|
|
||||||
<div >© 2023 Vergara Technologies LLC</div>
|
|
||||||
<div class="tiny">Version 2.0.0</div>
|
|
||||||
<div class="tiny">{{ vE.mainPriceData }}</div>
|
|
||||||
</div>
|
|
||||||
<div></div>
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { LanguageService } from './language.service';
|
|
||||||
import { LanguageData } from './language.model';
|
|
||||||
|
|
||||||
//import { Post} from './posts/post.model';
|
//import { Post} from './posts/post.model';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -11,56 +8,6 @@ import { LanguageData } from './language.model';
|
||||||
})
|
})
|
||||||
|
|
||||||
export class AppComponent {
|
export class AppComponent {
|
||||||
|
|
||||||
title = 'ZGo';
|
title = 'ZGo';
|
||||||
|
|
||||||
zgoLanguage:string = '';
|
|
||||||
vE = {
|
|
||||||
mainPriceData : ''
|
|
||||||
}
|
|
||||||
|
|
||||||
constructor(
|
|
||||||
private languageService: LanguageService){
|
|
||||||
}
|
|
||||||
|
|
||||||
ngOnInit(){
|
|
||||||
console.log('chgUILanguage() called on ngOnInit ');
|
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
|
||||||
|
|
||||||
chgUILanguage() {
|
|
||||||
console.log('MAIN.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('main').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('response >> ', response );
|
|
||||||
console.log('main_price_data -> ',response.data.main_price_data);
|
|
||||||
this.vE.mainPriceData = response.data.main_price_data;
|
|
||||||
this.zgoLanguage = response.language;
|
|
||||||
},
|
|
||||||
error => { console.log('Error --> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
usFlagClicked() {
|
|
||||||
if ( this.zgoLanguage != 'en-US' ) {
|
|
||||||
localStorage.setItem('zgo_language','en-US');
|
|
||||||
window.location.reload();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
esFlagClicked() {
|
|
||||||
if ( this.zgoLanguage != 'es-US' ) {
|
|
||||||
localStorage.setItem('zgo_language','es-US');
|
|
||||||
window.location.reload();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
brFlagClicked() {
|
|
||||||
if ( this.zgoLanguage != 'br-US' ) {
|
|
||||||
localStorage.setItem('zgo_language','br-US');
|
|
||||||
window.location.reload();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ import { DbExportComponent } from './db-export/db-export.component';
|
||||||
NotifierComponent,
|
NotifierComponent,
|
||||||
PmtserviceComponent,
|
PmtserviceComponent,
|
||||||
XeroRegComponent,
|
XeroRegComponent,
|
||||||
DbExportComponent,
|
DbExportComponent
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
BrowserModule,
|
BrowserModule,
|
||||||
|
|
|
@ -1,43 +1,43 @@
|
||||||
<app-header></app-header>
|
<app-header></app-header>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<mat-card class="centercard">
|
<mat-card class="centercard">
|
||||||
<h3>{{ vE.businessSignupTitle }}</h3>
|
<h3>Business sign-up</h3>
|
||||||
<mat-vertical-stepper #stepper linear>
|
<mat-vertical-stepper #stepper linear>
|
||||||
<mat-step label="{{ vE.businessBizInfo }}" editable="false">
|
<mat-step label="Provide business info" editable="false">
|
||||||
<p>{{ vE.businessAddrsNobiz }}</p>
|
<p>We do not have a business associated with this Zcash address, please enter your information below:</p>
|
||||||
<mat-card [formGroup]="bizForm">
|
<mat-card [formGroup]="bizForm">
|
||||||
<mat-form-field appearance="outline" [style.width.px]=300>
|
<mat-form-field appearance="outline" [style.width.px]=300>
|
||||||
<mat-label>{{ vE.businessBizNamelbl }}</mat-label>
|
<mat-label>Business Name</mat-label>
|
||||||
<input matInput placeholder="{{ vE.businessBizNameholder }}" formControlName="name">
|
<input matInput placeholder="Business Name" formControlName="name">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<br>
|
<br>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>{{ vE.businessContactFnamelbl }}</mat-label>
|
<mat-label>Contact First Name</mat-label>
|
||||||
<input matInput placeholder="{{ vE.businessContactFnholder }}" formControlName="first">
|
<input matInput placeholder="First Name" formControlName="first">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>{{ vE.businessContactLnamelbl }}</mat-label>
|
<mat-label>Contact Last Name</mat-label>
|
||||||
<input matInput placeholder="{{ vE.businessContactLnholder }}" formControlName="last">
|
<input matInput placeholder="Last Name" formControlName="last">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>{{ vE.businessBizAddresslbl }}</mat-label>
|
<mat-label>Address</mat-label>
|
||||||
<input matInput placeholder="{{ vE.businessBizAddressholder }}" formControlName="street">
|
<input matInput placeholder="Address" formControlName="street">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>{{ vE.businessBizCitylbl }}</mat-label>
|
<mat-label>City</mat-label>
|
||||||
<input matInput placeholder="{{ vE.businessBizCityholder }}" formControlName="city">
|
<input matInput placeholder="City" formControlName="city">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>{{ vE.businessBizStatelbl }}</mat-label>
|
<mat-label>State/Province</mat-label>
|
||||||
<input matInput placeholder="{{ vE.businessBizStateholder }}" formControlName="state">
|
<input matInput placeholder="State or Province" formControlName="state">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>{{ vE.businessBizPcodelbl }}</mat-label>
|
<mat-label>Postal Code</mat-label>
|
||||||
<input matInput placeholder="{{ vE.businessBizPcodeholder }}" formControlName="postal">
|
<input matInput placeholder="Postal Code" formControlName="postal">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>{{ vE.businessBizCountrylbl }}</mat-label>
|
<mat-label>Country</mat-label>
|
||||||
<input matInput placeholder="{{ vE.businessBizCountryholder }}" formControlName="country" [matAutocomplete]="auto">
|
<input matInput placeholder="Country" formControlName="country" [matAutocomplete]="auto">
|
||||||
<mat-autocomplete #auto="matAutocomplete">
|
<mat-autocomplete #auto="matAutocomplete">
|
||||||
<mat-option *ngFor="let ctry of countries | searchOptions:bizForm.get('country')!.value" [value]="ctry.name">
|
<mat-option *ngFor="let ctry of countries | searchOptions:bizForm.get('country')!.value" [value]="ctry.name">
|
||||||
{{ctry.name}}
|
{{ctry.name}}
|
||||||
|
@ -45,27 +45,27 @@
|
||||||
</mat-autocomplete>
|
</mat-autocomplete>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>{{ vE.businessBizMaillbl }}</mat-label>
|
<mat-label>E-mail</mat-label>
|
||||||
<input matInput type="email" placeholder="{{ vE.businessBizMailholder }}" formControlName="email">
|
<input matInput type="email" placeholder="E-mail" formControlName="email">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>{{ vE.businessBizWebsitelbl }}</mat-label>
|
<mat-label>Website</mat-label>
|
||||||
<input matInput placeholder="{{ vE.businessBizWebsiteholder }}" formControlName="website">
|
<input matInput placeholder="Website" formControlName="website">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-slide-toggle (change)="onChange($event)">
|
<mat-slide-toggle (change)="onChange($event)">
|
||||||
{{ vE.businessAcceptTerms }} <a class="link" (click)="showTerms()">{{ vE.businessTermsOfuse }}</a>
|
I accept the <a class="link" (click)="showTerms()">Terms of Use</a>
|
||||||
</mat-slide-toggle>
|
</mat-slide-toggle>
|
||||||
<mat-card-actions>
|
<mat-card-actions>
|
||||||
<button mat-raised-button color="primary" [disabled]="bizForm.invalid || !termsChecked" (click)="save()">{{ vE.businessSaveBtn }}</button>
|
<button mat-raised-button color="primary" [disabled]="bizForm.invalid || !termsChecked" (click)="save()">Save</button>
|
||||||
</mat-card-actions>
|
</mat-card-actions>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|
||||||
</mat-step>
|
</mat-step>
|
||||||
<mat-step label="{{ vE.businessSessionLengthlbl }}" editable="false">
|
<mat-step label="Select your session" editable="false">
|
||||||
<p>{{ vE.businessSelectSession }}</p>
|
<p>Please select the length of session that you need:</p>
|
||||||
<mat-card [formGroup]="payForm">
|
<mat-card [formGroup]="payForm">
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>{{ vE.businessSessionLabel }}</mat-label>
|
<mat-label>Session</mat-label>
|
||||||
<mat-select formControlName="session">
|
<mat-select formControlName="session">
|
||||||
<mat-option *ngFor="let ticket of tickets" [value]="ticket.value">
|
<mat-option *ngFor="let ticket of tickets" [value]="ticket.value">
|
||||||
{{ticket.viewValue}}
|
{{ticket.viewValue}}
|
||||||
|
@ -73,11 +73,11 @@
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-card-actions>
|
<mat-card-actions>
|
||||||
<button mat-raised-button color="primary" [disabled]="payForm.invalid" (click)="pay()">{{ vE.businessSessionPaylbl }}</button>
|
<button mat-raised-button color="primary" [disabled]="payForm.invalid" (click)="pay()">Pay</button>
|
||||||
</mat-card-actions>
|
</mat-card-actions>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
</mat-step>
|
</mat-step>
|
||||||
<mat-step label="{{ vE.businessZGoConfirmlbl }}" editable="false">
|
<mat-step label="ZGo confirms your payment" editable="false">
|
||||||
<p>{{barMessage}}</p>
|
<p>{{barMessage}}</p>
|
||||||
<mat-progress-bar
|
<mat-progress-bar
|
||||||
[mode]="barMode"
|
[mode]="barMode"
|
||||||
|
|
|
@ -14,9 +14,6 @@ import { FullnodeService } from '../fullnode.service';
|
||||||
import { ScanComponent } from '../scan/scan.component';
|
import { ScanComponent } from '../scan/scan.component';
|
||||||
import { TermsComponent } from '../terms/terms.component';
|
import { TermsComponent } from '../terms/terms.component';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-business',
|
selector: 'app-business',
|
||||||
templateUrl: './business.component.html',
|
templateUrl: './business.component.html',
|
||||||
|
@ -83,48 +80,8 @@ export class BusinessComponent implements OnInit {
|
||||||
sessionId = '';
|
sessionId = '';
|
||||||
ownerKnown = false;
|
ownerKnown = false;
|
||||||
termsChecked = false;
|
termsChecked = false;
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
businessSignupTitle : '',
|
|
||||||
businessBizInfo : '',
|
|
||||||
businessAddrsNobiz : '',
|
|
||||||
businessBizNamelbl : '',
|
|
||||||
businessBizNameholder : '',
|
|
||||||
businessContactFnamelbl : '',
|
|
||||||
businessContactFnholder : '',
|
|
||||||
businessContactLnamelbl : '',
|
|
||||||
businessContactLnholder : '',
|
|
||||||
businessBizAddresslbl : '',
|
|
||||||
businessBizAddressholder : '',
|
|
||||||
businessBizCitylbl : '',
|
|
||||||
businessBizCityholder : '',
|
|
||||||
businessBizStatelbl : '',
|
|
||||||
businessBizStateholder : '',
|
|
||||||
businessBizPcodelbl : '',
|
|
||||||
businessBizPcodeholder : '',
|
|
||||||
businessBizCountrylbl : '',
|
|
||||||
businessBizCountryholder : '',
|
|
||||||
businessBizMaillbl : '',
|
|
||||||
businessBizMailholder : '',
|
|
||||||
businessBizWebsitelbl : '',
|
|
||||||
businessBizWebsiteholder : '',
|
|
||||||
businessAcceptTerms : '',
|
|
||||||
businessTermsOfuse : '',
|
|
||||||
businessSaveBtn : '',
|
|
||||||
businessSessionLengthlbl : '',
|
|
||||||
businessSelectSession : '',
|
|
||||||
businessSessionLabel : '',
|
|
||||||
businessSessionPaylbl : '',
|
|
||||||
businessZGoConfirmlbl : ''
|
|
||||||
|
|
||||||
};
|
|
||||||
//
|
|
||||||
//
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private fb: UntypedFormBuilder,
|
private fb: UntypedFormBuilder,
|
||||||
private userService: UserService,
|
private userService: UserService,
|
||||||
private fullnodeService: FullnodeService,
|
private fullnodeService: FullnodeService,
|
||||||
|
@ -171,7 +128,6 @@ export class BusinessComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.chgUILanguage();
|
|
||||||
this.intervalHolder = setInterval(() => {
|
this.intervalHolder = setInterval(() => {
|
||||||
this.loginCheck();
|
this.loginCheck();
|
||||||
}, 1000 * 60);
|
}, 1000 * 60);
|
||||||
|
@ -265,51 +221,4 @@ export class BusinessComponent implements OnInit {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('BUSINESS.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('business').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.businessSignupTitle = response.data.business_signup_title;
|
|
||||||
this.vE.businessBizInfo = response.data.business_biz_info;
|
|
||||||
this.vE.businessAddrsNobiz = response.data.business_addrs_nobiz;
|
|
||||||
this.vE.businessBizNamelbl = response.data.business_biz_namelbl;
|
|
||||||
this.vE.businessBizNameholder = response.data.business_biz_nameholder;
|
|
||||||
this.vE.businessContactFnamelbl = response.data.business_contact_fnamelbl;
|
|
||||||
this.vE.businessContactFnholder = response.data.business_contact_fnholder;
|
|
||||||
this.vE.businessContactLnamelbl = response.data.business_contact_lnamelbl;
|
|
||||||
this.vE.businessBizAddresslbl = response.data.business_biz_addresslbl;
|
|
||||||
this.vE.businessBizAddressholder = response.data.business_biz_addressholder;
|
|
||||||
this.vE.businessBizCitylbl = response.data.business_biz_citylbl;
|
|
||||||
this.vE.businessBizCityholder = response.data.business_biz_cityholder;
|
|
||||||
this.vE.businessBizStatelbl = response.data.business_biz_statelbl;
|
|
||||||
this.vE.businessBizStateholder = response.data.business_biz_stateholder;
|
|
||||||
this.vE.businessBizPcodelbl = response.data.business_biz_pcodelbl;
|
|
||||||
this.vE.businessBizPcodeholder = response.data.business_biz_pcodeholder;
|
|
||||||
this.vE.businessBizCitylbl = response.data.business_biz_citylbl;
|
|
||||||
this.vE.businessBizCityholder = response.data.business_biz_cityholder;
|
|
||||||
this.vE.businessBizCountrylbl = response.data.business_biz_countrylbl;
|
|
||||||
this.vE.businessBizCountryholder = response.data.business_biz_countryholder;
|
|
||||||
this.vE.businessBizMaillbl = response.data.business_biz_maillbl;
|
|
||||||
this.vE.businessBizMailholder = response.data.business_biz_mailholder;
|
|
||||||
this.vE.businessBizWebsitelbl = response.data.business_biz_websitelbl;
|
|
||||||
this.vE.businessBizWebsiteholder = response.data.business_biz_websiteholder;
|
|
||||||
this.vE.businessAcceptTerms = response.data.business_accept_terms;
|
|
||||||
this.vE.businessTermsOfuse = response.data.business_terms_ofuse;
|
|
||||||
this.vE.businessSaveBtn = response.data.business_save_btn;
|
|
||||||
this.vE.businessSessionLengthlbl = response.data.business_session_lengthlbl;
|
|
||||||
this.vE.businessSelectSession = response.data.business_select_session;
|
|
||||||
this.vE.businessSessionLabel = response.data.business_session_label;
|
|
||||||
this.vE.businessSessionPaylbl = response.data.business_session_paylbl;
|
|
||||||
this.vE.businessZGoConfirmlbl = response.data.business_zgo_confirmlbl;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,33 +1,28 @@
|
||||||
<div class='cancelTitle'>{{title}}</div>
|
<div class="container" style="margin-top: 10px;">
|
||||||
<div class="container" >
|
|
||||||
<mat-dialog-content
|
<div class="cancelTitle">{{title}}</div>
|
||||||
style="font-family: 'Spartan', sans-serif;
|
|
||||||
display: flex;
|
<mat-dialog-content>
|
||||||
justify-content: space-between;
|
<p class="text">{{msg}}</p>
|
||||||
margin-top: 20px;
|
|
||||||
padding: 20px;">
|
|
||||||
{{msg1}}<br>{{msg2}}
|
|
||||||
</mat-dialog-content>
|
</mat-dialog-content>
|
||||||
<div style="font-family: 'Spartan', sans-serif;
|
|
||||||
display: flex;
|
<mat-dialog-actions>
|
||||||
justify-content: space-between;
|
<table cellspacing="0" width="100%">
|
||||||
margin-top: 20px;
|
<tr>
|
||||||
padding: 20px;">
|
<td>
|
||||||
<button mat-raised-button
|
<button mat-raised-button color="primary" (click)="confirm()">
|
||||||
style="background-color: #ff5722;
|
Yes
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 600;
|
|
||||||
color : white;"
|
|
||||||
(click)="confirm()">
|
|
||||||
{{ vE.cancelConfirmBtn }}
|
|
||||||
</button>
|
</button>
|
||||||
<button mat-raised-button
|
|
||||||
style="font-family: 'Spartan', sans-serif;
|
</td>
|
||||||
font-size: 14px;
|
<td align="right">
|
||||||
font-weight: 600;"
|
<button mat-raised-button (click)="close()">
|
||||||
(click)="close()">
|
No
|
||||||
{{ vE.cancelDismissBtn }}
|
|
||||||
</button>
|
</button>
|
||||||
</div>
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</mat-dialog-actions>
|
||||||
|
|
||||||
</div>
|
</div>
|
|
@ -1,8 +1,6 @@
|
||||||
import { Inject, Component, OnInit, ViewEncapsulation} from '@angular/core';
|
import { Inject, Component, OnInit, ViewEncapsulation} from '@angular/core';
|
||||||
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog';
|
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-cancel',
|
selector: 'app-cancel',
|
||||||
|
@ -12,31 +10,14 @@ import { LanguageData } from '../language.model';
|
||||||
|
|
||||||
export class CancelComponent {
|
export class CancelComponent {
|
||||||
title: string;
|
title: string;
|
||||||
msg1: string;
|
msg: string;
|
||||||
msg2: string;
|
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
cancelTitle : '',
|
|
||||||
cancelConfirmBtn : '',
|
|
||||||
cancelDismissBtn : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private dialogRef: MatDialogRef<CancelComponent>,
|
private dialogRef: MatDialogRef<CancelComponent>,
|
||||||
@Inject(MAT_DIALOG_DATA) public data: { title: string, msg1: string, msg2: string;}
|
@Inject(MAT_DIALOG_DATA) public data: { title: string, msg: string}
|
||||||
) {
|
) {
|
||||||
this.title = data.title;
|
this.title = data.title;
|
||||||
this.msg1 = data.msg1;
|
this.msg = data.msg;
|
||||||
this.msg2 = data.msg2;
|
|
||||||
}
|
|
||||||
|
|
||||||
ngOnInit() {
|
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
confirm() {
|
confirm() {
|
||||||
|
@ -46,22 +27,4 @@ export class CancelComponent {
|
||||||
close() {
|
close() {
|
||||||
this.dialogRef.close(false);
|
this.dialogRef.close(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('CANCEL.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('cancel').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.cancelTitle = response.data.cancel_title;
|
|
||||||
this.vE.cancelConfirmBtn = response.data.cancel_confirm_btn;
|
|
||||||
this.vE.cancelDismissBtn = response.data.cancel_dismiss_btn;
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
<div class="askPayment">
|
|
||||||
{{ vE.checkoutScanPayment }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container" style="font-family: 'Spartan', sans-serif;
|
<div class="container" style="font-family: 'Spartan', sans-serif;
|
||||||
padding: 15px;">
|
margin-top: 10px;">
|
||||||
|
|
||||||
|
<div class="askPayment">
|
||||||
|
Scan to make payment
|
||||||
|
</div>
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
<table style="align-content: center;">
|
<table style="align-content: center;">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -21,43 +20,43 @@
|
||||||
width="100%">
|
width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<button mat-raised-button color="primary" (click)="confirm()"><mat-icon>verified_user</mat-icon>
|
<button mat-raised-button color="primary" (click)="confirm()">
|
||||||
{{ vE.checkoutAcceptBtn }}
|
<mat-icon>verified_user</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<button mat-raised-button (click)="close()">
|
<button mat-raised-button (click)="close()">
|
||||||
<mat-icon>close_btn</mat-icon>{{ vE.checkoutCloseBtn }}
|
<mat-icon>close</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="text-align: center;
|
<div style="text-align: center;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
line-height: 30px;">{{ vE.checkoutCantScan }}<br>
|
line-height: 30px;">
|
||||||
{{ vE.checkoutUseThis }}<a [href]="zcashUrl">{{ vE.checkoutWalletLink }}</a>{{ vE.checkoutWalletOr }}
|
|
||||||
|
Can't scan?<br>Use this <a [href]="zcashUrl">wallet link</a>, or
|
||||||
<div style="display: flex;
|
<div style="display: flex;
|
||||||
justify-content: space-between;">
|
justify-content: space-between;">
|
||||||
<button style="margin-top: 20px;
|
<button style="margin-top: 20px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
background-color: lightgray;"
|
background-color: lightgray;"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
(click)="copyAddress()">{{ vE.checkoutCopyAddress }}</button>
|
(click)="copyAddress()">Copy Address</button>
|
||||||
<button style="margin-top: 20px;
|
<button style="margin-top: 20px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
background-color: lightgray;"
|
background-color: lightgray;"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
(click)="copyAmount()">{{ vE.checkoutCopyAmount }}</button>
|
(click)="copyAmount()">Copy Amount</button>
|
||||||
</div>
|
</div>
|
||||||
<button style="margin-top: 20px;
|
<button style="margin-top: 20px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
background-color: lightgray;"
|
background-color: lightgray;"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
(click)="copyMemo()">{{ vE.checkoutCopyMemo }}</button>
|
(click)="copyMemo()">Copy Memo</button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,6 @@ import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
||||||
|
|
||||||
import { NotifierService } from '../notifier.service';
|
import { NotifierService } from '../notifier.service';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
var QRCode = require('easyqrcodejs');
|
var QRCode = require('easyqrcodejs');
|
||||||
var URLSafeBase64 = require('urlsafe-base64');
|
var URLSafeBase64 = require('urlsafe-base64');
|
||||||
var Buffer = require('buffer/').Buffer;
|
var Buffer = require('buffer/').Buffer;
|
||||||
|
@ -17,38 +14,14 @@ var Buffer = require('buffer/').Buffer;
|
||||||
styleUrls: ['./checkout.component.css']
|
styleUrls: ['./checkout.component.css']
|
||||||
})
|
})
|
||||||
|
|
||||||
export class CheckoutComponent implements OnInit {
|
export class CheckoutComponent implements OnInit{
|
||||||
address: string;
|
address: string;
|
||||||
total: number;
|
total: number;
|
||||||
orderId: string;
|
orderId: string;
|
||||||
codeString: string = '';
|
codeString: string = '';
|
||||||
zcashUrl: SafeUrl;
|
zcashUrl: SafeUrl;
|
||||||
|
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
checkoutScanPayment : '',
|
|
||||||
checkoutAcceptBtn : '',
|
|
||||||
checkoutCloseBtn : '',
|
|
||||||
checkoutCantScan : '',
|
|
||||||
checkoutUseThis : '',
|
|
||||||
checkoutWalletLink : '',
|
|
||||||
checkoutWalletOr : '',
|
|
||||||
checkoutCopyAddress : '',
|
|
||||||
checkoutCopyAmount : '',
|
|
||||||
checkoutCopyMemo : '',
|
|
||||||
checkoutCopyNotavail : '',
|
|
||||||
checkoutNotservClose : '',
|
|
||||||
checkoutNotservError : '',
|
|
||||||
checkoutCopyaddressError : '',
|
|
||||||
checkoutCopyamountError : '',
|
|
||||||
checkoutCopymemoError : ''
|
|
||||||
};
|
|
||||||
//
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private dialogRef: MatDialogRef<CheckoutComponent>,
|
private dialogRef: MatDialogRef<CheckoutComponent>,
|
||||||
private sanitizer: DomSanitizer,
|
private sanitizer: DomSanitizer,
|
||||||
@Inject(MAT_DIALOG_DATA) public data: { totalZec: number, addr: string, orderId: string},
|
@Inject(MAT_DIALOG_DATA) public data: { totalZec: number, addr: string, orderId: string},
|
||||||
|
@ -74,7 +47,7 @@ export class CheckoutComponent implements OnInit {
|
||||||
correctLevel: QRCode.CorrectLevel.H
|
correctLevel: QRCode.CorrectLevel.H
|
||||||
});
|
});
|
||||||
console.log("mgOnInit - pasa");
|
console.log("mgOnInit - pasa");
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
confirm() {
|
confirm() {
|
||||||
|
@ -89,40 +62,27 @@ export class CheckoutComponent implements OnInit {
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
// alert("Copy functionality not supported");
|
// alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.checkoutCopyNotavail,
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.checkoutNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.checkoutNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.address);
|
navigator.clipboard.writeText(this.address);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.checkoutCopyaddressError,
|
.showNotification("Error copying address","Close","error");
|
||||||
this.vE.checkoutNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.checkoutNotservError);
|
|
||||||
// console.error("Error", err);
|
// console.error("Error", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
copyAmount() {
|
copyAmount() {
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
// alert("Copy functionality not supported");
|
// alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.checkoutCopyNotavail,
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.checkoutNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.checkoutNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.total.toString());
|
navigator.clipboard.writeText(this.total.toString());
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.checkoutCopyamountError,
|
.showNotification("Error while copying ammount","Close","error");
|
||||||
this.vE.checkoutNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.checkoutNotservError);
|
|
||||||
// console.error("Error", err);
|
// console.error("Error", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -131,51 +91,14 @@ export class CheckoutComponent implements OnInit {
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
// alert("Copy functionality not supported");
|
// alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.checkoutCopyNotavail,
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.checkoutNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.checkoutNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText("ZGo Order::" + this.orderId);
|
navigator.clipboard.writeText("ZGo Order::" + this.orderId);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.checkoutCopymemoError,
|
.showNotification("Error while copying Memo","Close","error");
|
||||||
this.vE.checkoutNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.checkoutNotservError);
|
|
||||||
// console.error("Error", err);
|
// console.error("Error", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('CHECKOUT.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('checkout').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.checkoutScanPayment = response.data.checkout_scan_payment;
|
|
||||||
this.vE.checkoutAcceptBtn = response.data.checkout_accept_btn;
|
|
||||||
this.vE.checkoutCloseBtn = response.data.checkout_close_btn;
|
|
||||||
this.vE.checkoutCantScan = response.data.checkout_cant_scan;
|
|
||||||
this.vE.checkoutUseThis = response.data.checkout_use_this;
|
|
||||||
this.vE.checkoutWalletLink = response.data.checkout_wallet_link;
|
|
||||||
this.vE.checkoutWalletOr = response.data.checkout_wallet_or;
|
|
||||||
this.vE.checkoutCopyAddress = response.data.checkout_copy_address;
|
|
||||||
this.vE.checkoutCopyAmount = response.data.checkout_copy_amount;
|
|
||||||
this.vE.checkoutCopyMemo = response.data.checkout_copy_memo;
|
|
||||||
this.vE.checkoutCopyNotavail = response.data.checkout_copy_notavail;
|
|
||||||
this.vE.checkoutNotservClose = response.data.checkout_notserv_close;
|
|
||||||
this.vE.checkoutNotservError = response.data.checkout_notserv_error;
|
|
||||||
this.vE.checkoutCopyaddressError = response.data.checkout_copyaddress_error;
|
|
||||||
this.vE.checkoutCopyamountError = response.data.checkout_copyamount_error;
|
|
||||||
this.vE.checkoutCopymemoError = response.data.checkout_copymemo_error;
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,12 +3,9 @@
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.daterangecard {
|
|
||||||
padding: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
margin-bottom: 20px;
|
padding-top: 30px;
|
||||||
|
padding-bottom: 20px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -39,8 +36,7 @@
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
padding: 5px;
|
||||||
padding: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.daterange {
|
.daterange {
|
||||||
|
|
|
@ -1,61 +1,54 @@
|
||||||
<div class="settings-title">{{ vE.dbexportSettingsTitle }}</div>
|
<div class="settings-title">Export Orders</div>
|
||||||
<div class='daterangecard'>
|
<div class='description'>
|
||||||
<div class='description'>
|
Export orders in a .CSV format file
|
||||||
{{ vE.dbexportExportDescrip }}
|
</div>
|
||||||
</div>
|
<div class="datepicker"
|
||||||
<div class="datepicker"
|
|
||||||
*ngIf="ordersOk()">
|
*ngIf="ordersOk()">
|
||||||
<mat-form-field appearance="fill">
|
<mat-form-field appearance="fill">
|
||||||
<!--
|
<!--
|
||||||
<mat-label >Enter a date range</mat-label>
|
<mat-label >Enter a date range</mat-label>
|
||||||
-->
|
-->
|
||||||
<div class="daterange">{{ vE.dbexportDateRange }}</div>
|
<div class="daterange">Date range:</div>
|
||||||
<mat-date-range-input [formGroup]="range" [rangePicker]="picker">
|
<mat-date-range-input [formGroup]="range" [rangePicker]="picker">
|
||||||
<input matStartDate formControlName="start" placeholder="{{ vE.dbexportStartDate }}">
|
<input matStartDate formControlName="start" placeholder="Start date">
|
||||||
<input matEndDate formControlName="end" placeholder="{{ vE.dbexportEndDate }}">
|
<input matEndDate formControlName="end" placeholder="End date">
|
||||||
</mat-date-range-input>
|
</mat-date-range-input>
|
||||||
<mat-hint>MM/DD/YYYY – MM/DD/YYYY</mat-hint>
|
<mat-hint>MM/DD/YYYY – MM/DD/YYYY</mat-hint>
|
||||||
<mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>
|
<mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>
|
||||||
<mat-date-range-picker #picker></mat-date-range-picker>
|
<mat-date-range-picker #picker></mat-date-range-picker>
|
||||||
|
|
||||||
<mat-error *ngIf="range.controls.start.hasError('matStartDateInvalid')">{{ vE.dbexportInvalidStart }}</mat-error>
|
<mat-error *ngIf="range.controls.start.hasError('matStartDateInvalid')">Invalid start date</mat-error>
|
||||||
<mat-error *ngIf="range.controls.end.hasError('matEndDateInvalid')">{{ vE.dbexportInvalidEnd }}</mat-error>
|
<mat-error *ngIf="range.controls.end.hasError('matEndDateInvalid')">Invalid end date</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="noorders"
|
<div class="noorders"
|
||||||
*ngIf="!ordersOk()">
|
*ngIf="!ordersOk()">
|
||||||
<br>
|
<br>
|
||||||
{{ vE.dbexportNoordersCreated }}
|
You have no orders created.
|
||||||
<br>
|
<br>
|
||||||
{{ vE.dbexportNothingTodo }}
|
Nothing to do.
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<div style="display: flex;
|
<div style="display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;">
|
align-items: center;">
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
style="background: #ff5722;
|
|
||||||
color: white;
|
|
||||||
font-weight: 700;"
|
|
||||||
(click)="closedbExport()">
|
(click)="closedbExport()">
|
||||||
{{ vE.dbexportBtnClose }}
|
Close
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<a mat-raised-button *ngIf="checkReady()" color="primary" [href]="fileUrl"
|
<a mat-raised-button *ngIf="checkReady()" color="primary" [href]="fileUrl"
|
||||||
download="orders.csv">{{ vE.dbexportDownloadLink }}</a>
|
download="orders.csv">Download</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--
|
<div style="height: 20px;
|
||||||
<div style="height: 20px;
|
margin-top: 10px;">
|
||||||
margin-top: 10px;">
|
|
||||||
</div>
|
|
||||||
-->
|
|
||||||
</div>
|
</div>
|
|
@ -9,9 +9,8 @@ import { FullnodeService } from '../fullnode.service';
|
||||||
import { UserService } from '../user.service';
|
import { UserService } from '../user.service';
|
||||||
import { Owner } from '../owner.model';
|
import { Owner } from '../owner.model';
|
||||||
import { OrderService } from '../order/order.service';
|
import { OrderService } from '../order/order.service';
|
||||||
|
import { NotifierService } from '../notifier.service';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-db-export',
|
selector: 'app-db-export',
|
||||||
|
@ -58,31 +57,8 @@ export class DbExportComponent implements OnInit {
|
||||||
start: new FormControl<Date | null>(null),
|
start: new FormControl<Date | null>(null),
|
||||||
end: new FormControl<Date | null>(null),
|
end: new FormControl<Date | null>(null),
|
||||||
});
|
});
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
dbexportSettingsTitle : '',
|
|
||||||
dbexportExportDescrip : '',
|
|
||||||
dbexportDateRange : '',
|
|
||||||
dbexportStartDate : '',
|
|
||||||
dbexportEndDate : '',
|
|
||||||
dbexportInvalidStart : '',
|
|
||||||
dbexportInvalidEnd : '',
|
|
||||||
dbexportNoordersCreated : '',
|
|
||||||
dbexportNothingTodo : '',
|
|
||||||
dbexportBtnClose : '',
|
|
||||||
dbexportDownloadLink : '',
|
|
||||||
dbexportFileHeader : '',
|
|
||||||
dbexportClosedYes : '',
|
|
||||||
dbexportClosedNo : '',
|
|
||||||
dbexportPaidYes : '',
|
|
||||||
dbexportPaidNo : ''
|
|
||||||
};
|
|
||||||
//
|
|
||||||
|
|
||||||
constructor(private languageService : LanguageService,
|
constructor(private notifierService : NotifierService,
|
||||||
private dialogRef: MatDialogRef<DbExportComponent>,
|
private dialogRef: MatDialogRef<DbExportComponent>,
|
||||||
private sanitizer: DomSanitizer,
|
private sanitizer: DomSanitizer,
|
||||||
public orderService: OrderService,
|
public orderService: OrderService,
|
||||||
|
@ -94,7 +70,6 @@ export class DbExportComponent implements OnInit {
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
console.log('db-export Init -->');
|
console.log('db-export Init -->');
|
||||||
this.chgUILanguage();
|
|
||||||
this.owner = this.userService.currentOwner();
|
this.owner = this.userService.currentOwner();
|
||||||
console.log(this.owner.name);
|
console.log(this.owner.name);
|
||||||
console.log(this.range);
|
console.log(this.range);
|
||||||
|
@ -107,6 +82,8 @@ export class DbExportComponent implements OnInit {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ordersOk() : boolean {
|
ordersOk() : boolean {
|
||||||
return this._ordersOk;
|
return this._ordersOk;
|
||||||
}
|
}
|
||||||
|
@ -123,20 +100,20 @@ export class DbExportComponent implements OnInit {
|
||||||
});
|
});
|
||||||
|
|
||||||
// create header
|
// create header
|
||||||
data = this.vE.dbexportFileHeader + "\n";
|
data = '"Date","Order ID","Currency","Closed?","Amount","Rate","ZEC","Paid?","Invoice"' + "\n";
|
||||||
|
|
||||||
var iniDate = new Date(this.range.value.start);
|
var iniDate = new Date(this.range.value.start);
|
||||||
var endDate = new Date(this.range.value.end);
|
var endDate = new Date(this.range.value.end);
|
||||||
for (let i=0; i < this.orders.length; i++){
|
for (let i=0; i < this.orders.length; i++){
|
||||||
var date = new Date(this.orders[i]!.timestamp!);
|
var date = new Date(this.orders[i]!.timestamp!);
|
||||||
var orderid = String(this.orders[i]._id);
|
var orderid = String(this.orders[i]._id);
|
||||||
var closed = this.orders[i].closed ? this.vE.dbexportClosedYes : this.vE.dbexportClosedNo ;
|
var closed = this.orders[i].closed ? 'Yes' : 'No';
|
||||||
/*
|
/*
|
||||||
console.log('Order No. ' +
|
console.log('Order No. ' +
|
||||||
this.orders[i]._id! + ' - totalZec = ' +
|
this.orders[i]._id! + ' - totalZec = ' +
|
||||||
this.orders[i].totalZec);
|
this.orders[i].totalZec);
|
||||||
*/
|
*/
|
||||||
var paid = this.orders[i].paid ? this.vE.dbexportPaidYes : this.vE.dbexportPaidNo ;
|
var paid = this.orders[i].paid ? 'Yes' : 'No';
|
||||||
if ( (date >= iniDate) && (date <= endDate) ) {
|
if ( (date >= iniDate) && (date <= endDate) ) {
|
||||||
data = data +
|
data = data +
|
||||||
date.getFullYear() + '-' +
|
date.getFullYear() + '-' +
|
||||||
|
@ -166,35 +143,4 @@ export class DbExportComponent implements OnInit {
|
||||||
this.dialogRef.close();
|
this.dialogRef.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('DBEXPORT.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('dbexport').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.dbexportSettingsTitle = response.data.dbexport_settings_title;
|
|
||||||
this.vE.dbexportExportDescrip = response.data.dbexport_export_descrip;
|
|
||||||
this.vE.dbexportDateRange = response.data.dbexport_date_range;
|
|
||||||
this.vE.dbexportStartDate = response.data.dbexport_start_date;
|
|
||||||
this.vE.dbexportEndDate = response.data.dbexport_end_date;
|
|
||||||
this.vE.dbexportInvalidStart = response.data.dbexport_invalid_start;
|
|
||||||
this.vE.dbexportInvalidEnd = response.data.dbexport_invalid_end;
|
|
||||||
this.vE.dbexportNoordersCreated = response.data.dbexport_noorders_created;
|
|
||||||
this.vE.dbexportNothingTodo = response.data.dbexport_nothing_todo;
|
|
||||||
this.vE.dbexportBtnClose = response.data.dbexport_btn_close;
|
|
||||||
this.vE.dbexportDownloadLink = response.data.dbexport_download_link;
|
|
||||||
this.vE.dbexportFileHeader = response.data.dbexport_file_header;
|
|
||||||
this.vE.dbexportClosedYes = response.data.dbexport_closed_yes;
|
|
||||||
this.vE.dbexportClosedNo = response.data.dbexport_closed_no;
|
|
||||||
this.vE.dbexportPaidYes = response.data.dbexport_paid_yes;
|
|
||||||
this.vE.dbexportPaidNo = response.data.dbexport_paid_no;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
</span>
|
</span>
|
||||||
<span class="spacer"></span>
|
<span class="spacer"></span>
|
||||||
<span align="center">
|
<span align="center">
|
||||||
<p class="mini text"> {{ vE.headerGetCurrency }} {{ getCurrency() }}</p>
|
<p class="mini text">Currency: {{ getCurrency() }}</p>
|
||||||
<p class="mini text">{{ vE.headerLastBlock }} </p>
|
<p class="mini text">Last block:</p>
|
||||||
<p class="mini text">{{heightUpdate | async}}</p>
|
<p class="mini text">{{heightUpdate | async}}</p>
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
<button mat-icon-button (click)="logout()"><mat-icon>logout</mat-icon></button>
|
<button mat-raised-button (click)="logout()"><mat-icon class="logbutton">logout</mat-icon></button>
|
||||||
</span>
|
</span>
|
||||||
</mat-toolbar>
|
</mat-toolbar>
|
||||||
|
|
|
@ -1,16 +1,13 @@
|
||||||
import {Component, OnInit, OnDestroy} from '@angular/core';
|
import {Component, OnInit, OnDestroy} from '@angular/core';
|
||||||
import { MatDialog, MatDialogConfig} from '@angular/material/dialog';
|
import { MatDialog, MatDialogConfig} from '@angular/material/dialog';
|
||||||
import { FullnodeService } from '../fullnode.service';
|
import {FullnodeService} from '../fullnode.service';
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
import { UserService } from '../user.service';
|
import { UserService } from '../user.service';
|
||||||
import { CancelComponent } from '../cancel/cancel.component';
|
import { CancelComponent } from '../cancel/cancel.component';
|
||||||
import { Subscription, Observable } from 'rxjs';
|
import {Subscription, Observable} from 'rxjs';
|
||||||
|
|
||||||
import {Owner} from '../owner.model';
|
import {Owner} from '../owner.model';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-header',
|
selector: 'app-header',
|
||||||
templateUrl: './header.component.html',
|
templateUrl: './header.component.html',
|
||||||
|
@ -52,24 +49,11 @@ export class HeaderComponent implements OnInit, OnDestroy {
|
||||||
public ownerUpdate: Observable<Owner>;
|
public ownerUpdate: Observable<Owner>;
|
||||||
public uZaddrUpdate: Observable<string>;
|
public uZaddrUpdate: Observable<string>;
|
||||||
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
headerGetCurrency : '',
|
|
||||||
headerLastBlock : '',
|
|
||||||
headerLogoutLbl : '',
|
|
||||||
headerLogoutMsg1 : '',
|
|
||||||
headerLogoutMsg2 : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------
|
|
||||||
constructor(
|
constructor(
|
||||||
public fullnodeService: FullnodeService,
|
public fullnodeService: FullnodeService,
|
||||||
public userService: UserService,
|
public userService: UserService,
|
||||||
private dialog: MatDialog,
|
private dialog: MatDialog,
|
||||||
private router: Router,
|
private router: Router
|
||||||
private languageService: LanguageService
|
|
||||||
){
|
){
|
||||||
this.heightUpdate = fullnodeService.heightUpdate;
|
this.heightUpdate = fullnodeService.heightUpdate;
|
||||||
this.uZaddrUpdate = userService.uZaddrUpdate;
|
this.uZaddrUpdate = userService.uZaddrUpdate;
|
||||||
|
@ -79,8 +63,8 @@ export class HeaderComponent implements OnInit, OnDestroy {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ngOnInit(){
|
ngOnInit(){
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnDestroy(){
|
ngOnDestroy(){
|
||||||
|
@ -95,11 +79,7 @@ export class HeaderComponent implements OnInit, OnDestroy {
|
||||||
|
|
||||||
dialogConfig.disableClose = true;
|
dialogConfig.disableClose = true;
|
||||||
dialogConfig.autoFocus = true;
|
dialogConfig.autoFocus = true;
|
||||||
dialogConfig.data = { title: this.vE.headerLogoutLbl,
|
dialogConfig.data = {title: 'Logout?', msg: 'Are you sure you want to disconnect from ZGo? You will have to re-link your wallet via shielded memo.'};
|
||||||
msg1: this.vE.headerLogoutMsg1,
|
|
||||||
msg2: this.vE.headerLogoutMsg2 };
|
|
||||||
|
|
||||||
console.log(dialogConfig.data);
|
|
||||||
|
|
||||||
const dialogRef = this.dialog.open(CancelComponent, dialogConfig);
|
const dialogRef = this.dialog.open(CancelComponent, dialogConfig);
|
||||||
dialogRef.afterClosed().subscribe(val => {
|
dialogRef.afterClosed().subscribe(val => {
|
||||||
|
@ -113,25 +93,4 @@ export class HeaderComponent implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('HEADER.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('header').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.headerLastBlock = response.data.header_last_block;
|
|
||||||
this.vE.headerGetCurrency = response.data.header_get_currency;
|
|
||||||
this.vE.headerLogoutLbl = response.data.header_logout_lbl;
|
|
||||||
this.vE.headerLogoutMsg1 = response.data.header_logout_msg1;
|
|
||||||
this.vE.headerLogoutMsg2 = response.data.header_logout_msg2;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,12 +9,12 @@
|
||||||
<div class="invoiceDetail"
|
<div class="invoiceDetail"
|
||||||
*ngIf="!error"
|
*ngIf="!error"
|
||||||
id="invoice">
|
id="invoice">
|
||||||
<div class="invoiceHdrTxt1">{{ vE.invoiceInvoiceLbl }}</div>
|
<div class="invoiceHdrTxt1">Invoice</div>
|
||||||
<div class="invoiceHdrTxt2">{{ vE.invoiceOrderId }} {{orderId}}</div>
|
<div class="invoiceHdrTxt2">Order ID: {{orderId}}</div>
|
||||||
<div class="invoiceHdrTxt3"> {{ vE.invoiceOrderDate }} {{order.timestamp | date}}
|
<div class="invoiceHdrTxt3">Date:{{order.timestamp | date}}
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 10px;"></div>
|
<div style="height: 10px;"></div>
|
||||||
<div class="zecData">{{ vE.invoiceZcashPrice }} {{order.price | number: '1.02' | currency: order.currency.toUpperCase()}}</div>
|
<div class="zecData">Zcash Price: {{order.price | number: '1.02' | currency: order.currency.toUpperCase()}}</div>
|
||||||
<div style="height: 2px;"></div>
|
<div style="height: 2px;"></div>
|
||||||
<div class="zecData">Total: <img class="zecSign" src="/assets/zec_rv.png" />{{order.totalZec | number: '1.08'}}
|
<div class="zecData">Total: <img class="zecSign" src="/assets/zec_rv.png" />{{order.totalZec | number: '1.08'}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -29,11 +29,11 @@
|
||||||
</th>
|
</th>
|
||||||
<th width="15%"
|
<th width="15%"
|
||||||
class="detailTitle1">
|
class="detailTitle1">
|
||||||
{{ vE.invoiceQtyLbl }}
|
Qty.
|
||||||
</th>
|
</th>
|
||||||
<th width="30%"
|
<th width="30%"
|
||||||
class="detailTitle2">
|
class="detailTitle2">
|
||||||
{{ vE.invoiceOrderPrice }}({{order.currency.toUpperCase()}})
|
Price ({{order.currency.toUpperCase()}})
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="invoice-detail"
|
<tr class="invoice-detail"
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
<tr class="invoice-title">
|
<tr class="invoice-title">
|
||||||
<th width="55%"
|
<th width="55%"
|
||||||
class="detailLineRight">
|
class="detailLineRight">
|
||||||
{{ vE.invoiceInvoiceTotal }}
|
Invoice Total:
|
||||||
</th>
|
</th>
|
||||||
<th width="15%"
|
<th width="15%"
|
||||||
class="detailLineLeft">
|
class="detailLineLeft">
|
||||||
|
@ -76,10 +76,10 @@
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
<p *ngIf="order.paid">
|
<p *ngIf="order.paid">
|
||||||
<fa-icon [icon]="faCheck"
|
<fa-icon [icon]="faCheck"
|
||||||
color="primary"></fa-icon> {{ vE.invoicePaymentConfirmed }}</p>
|
color="primary"></fa-icon> Payment confirmed</p>
|
||||||
<p *ngIf="!order.paid">
|
<p *ngIf="!order.paid">
|
||||||
<fa-icon [style]="getIconStyle(order)"
|
<fa-icon [style]="getIconStyle(order)"
|
||||||
[icon]="faHourglass"></fa-icon> {{ vE.invoicePaymentPending }}</p>
|
[icon]="faHourglass"></fa-icon> Payment pending!!</p>
|
||||||
</td>
|
</td>
|
||||||
<td width="25%">
|
<td width="25%">
|
||||||
<div style="text-align: right;"
|
<div style="text-align: right;"
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
{{ vE.invoiceScanQrcode }}
|
Scan the QR code with your wallet to make payment
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align: center;
|
<div style="text-align: center;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
@ -102,26 +102,26 @@
|
||||||
<div style="font-family: 'Spartan';
|
<div style="font-family: 'Spartan';
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 20px;">
|
line-height: 20px;">
|
||||||
{{ vE.invoiceCantScan }}<br>
|
Can't scan?<br>Use this <a [href]="zcashUrl">wallet link</a>, or
|
||||||
{{ vE.invoiceUseThis }} <a [href]="zcashUrl">{{ vE.invoiceWalletLink }}</a>{{ vE.invoiceDotOr }}
|
</div>
|
||||||
<div style="display: flex;
|
<div style="display: flex;
|
||||||
justify-content: space-between;">
|
justify-content: space-between;">
|
||||||
<button style="margin-top: 20px;
|
<button style="margin-top: 20px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
background-color: lightgray;"
|
background-color: lightgray;"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
(click)="copyAddress()">{{ vE.invoiceCopyAddress }}</button>
|
(click)="copyAddress()">Copy Address</button>
|
||||||
<button style="margin-top: 20px;
|
<button style="margin-top: 20px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
background-color: lightgray;"
|
background-color: lightgray;"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
(click)="copyAmount()">{{ vE.invoiceCopyAmount }}</button>
|
(click)="copyAmount()">Copy Amount</button>
|
||||||
</div>
|
</div>
|
||||||
<button style="margin-top: 20px;
|
<button style="margin-top: 20px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
background-color: lightgray;"
|
background-color: lightgray;"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
(click)="copyMemo()" *ngIf="!isWCOrder">{{ vE.invoiceCopyMemo }}</button>
|
(click)="copyMemo()" *ngIf="!isWCOrder">Copy Memo</button>
|
||||||
|
|
||||||
<div style="display: flex;
|
<div style="display: flex;
|
||||||
justify-content: space-between;"
|
justify-content: space-between;"
|
||||||
|
@ -130,7 +130,7 @@
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
background-color: lightgray;"
|
background-color: lightgray;"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
(click)="copyMemo()">{{ vE.invoiceCopyMemo }}</button>
|
(click)="copyMemo()">Copy Memo</button>
|
||||||
|
|
||||||
<button style="margin-top: 20px;
|
<button style="margin-top: 20px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
cursor: pointer;"
|
cursor: pointer;"
|
||||||
[icon]="faArrowUpRightFromSquare"> </fa-icon>
|
[icon]="faArrowUpRightFromSquare"> </fa-icon>
|
||||||
{{ vE.invoiceReturnToshop }}</button>
|
Return to Shop</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -157,12 +157,12 @@
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
height: 24px;">
|
height: 24px;">
|
||||||
{{ vE.invoiceInvalidId }}
|
Incorrect Invoice ID.
|
||||||
</div>
|
</div>
|
||||||
<div style="font-family: Spartan !important;
|
<div style="font-family: Spartan !important;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
padding: 4px;">
|
padding: 4px;">
|
||||||
{{ vE.invoiceInfoNotavail }}
|
No information available.
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 10px;"></div>
|
<div style="height: 10px;"></div>
|
||||||
<mat-card-actions>
|
<mat-card-actions>
|
||||||
|
|
|
@ -8,9 +8,6 @@ import { faCheck, faHourglass, faArrowUpRightFromSquare } from '@fortawesome/fre
|
||||||
|
|
||||||
import { NotifierService } from '../notifier.service';
|
import { NotifierService } from '../notifier.service';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
var QRCode = require('easyqrcodejs');
|
var QRCode = require('easyqrcodejs');
|
||||||
var URLSafeBase64 = require('urlsafe-base64');
|
var URLSafeBase64 = require('urlsafe-base64');
|
||||||
var Buffer = require('buffer/').Buffer;
|
var Buffer = require('buffer/').Buffer;
|
||||||
|
@ -31,7 +28,6 @@ export class InvoiceComponent implements OnInit {
|
||||||
name: string = '';
|
name: string = '';
|
||||||
error: boolean = false;
|
error: boolean = false;
|
||||||
codeString: string = 'Test';
|
codeString: string = 'Test';
|
||||||
invString: string = '';
|
|
||||||
public isWCOrder : boolean = false;
|
public isWCOrder : boolean = false;
|
||||||
zcashUrl: SafeUrl = '';
|
zcashUrl: SafeUrl = '';
|
||||||
externalURL: string = '';
|
externalURL: string = '';
|
||||||
|
@ -56,46 +52,13 @@ export class InvoiceComponent implements OnInit {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
invoiceInvoiceLbl : '',
|
|
||||||
invoiceOrderId : '',
|
|
||||||
invoiceOrderDate : '',
|
|
||||||
invoiceZcashPrice : '',
|
|
||||||
invoiceQtyLbl : '',
|
|
||||||
invoiceOrderPrice : '',
|
|
||||||
invoiceInvoiceTotal : '',
|
|
||||||
invoicePaymentConfirmed : '',
|
|
||||||
invoicePaymentPending : '',
|
|
||||||
invoiceScanQrcode : '',
|
|
||||||
invoiceCantScan : '',
|
|
||||||
invoiceUseThis : '',
|
|
||||||
invoiceWalletLink : '',
|
|
||||||
invoiceDotOr : '',
|
|
||||||
invoiceCopyAddress : '',
|
|
||||||
invoiceCopyAmount : '',
|
|
||||||
invoiceCopyMemo : '',
|
|
||||||
invoiceReturnToshop : '',
|
|
||||||
invoiceCopyNotavail : '',
|
|
||||||
invoiceNotservClose : '',
|
|
||||||
invoiceNotservError : '',
|
|
||||||
invoiceCopyaddressError : '',
|
|
||||||
invoiceCopyamountError : '',
|
|
||||||
invoiceCopymemoError : '',
|
|
||||||
invoiceInvalidId : '',
|
|
||||||
invoiceInfoNotavail : ''
|
|
||||||
};
|
|
||||||
//
|
|
||||||
constructor(
|
constructor(
|
||||||
private _ActiveRoute:ActivatedRoute,
|
private _ActiveRoute:ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private sanitizer: DomSanitizer,
|
private sanitizer: DomSanitizer,
|
||||||
public receiptService: ReceiptService,
|
public receiptService: ReceiptService,
|
||||||
private notifierService : NotifierService,
|
private notifierService : NotifierService
|
||||||
private languageService : LanguageService
|
|
||||||
) {
|
) {
|
||||||
this.orderId = this._ActiveRoute.snapshot.paramMap.get("orderId");
|
this.orderId = this._ActiveRoute.snapshot.paramMap.get("orderId");
|
||||||
console.log('constructor - orderId -> ' + this.orderId);
|
console.log('constructor - orderId -> ' + this.orderId);
|
||||||
|
@ -104,12 +67,7 @@ export class InvoiceComponent implements OnInit {
|
||||||
receiptService.getOrderById(this.orderId!).subscribe(response => {
|
receiptService.getOrderById(this.orderId!).subscribe(response => {
|
||||||
if (response.status == 200){
|
if (response.status == 200){
|
||||||
this.error = false;
|
this.error = false;
|
||||||
if( response.body!.order.session.substring(0,1) == 'X') {
|
|
||||||
this.invString = response.body!.order.externalInvoice;
|
|
||||||
this.codeString = `zcash:${this.order.address}?amount=${this.order.totalZec.toFixed(8)}&memo=${URLSafeBase64.encode(Buffer.from('ZGo Order::'.concat(this.orderId!).concat(" Invoice: ").concat(this.invString)))}`;
|
|
||||||
} else {
|
|
||||||
this.codeString = `zcash:${response.body!.order.address}?amount=${response.body!.order.totalZec.toFixed(8)}&memo=${URLSafeBase64.encode(Buffer.from('ZGo Order::'.concat(this.orderId!)))}`;
|
this.codeString = `zcash:${response.body!.order.address}?amount=${response.body!.order.totalZec.toFixed(8)}&memo=${URLSafeBase64.encode(Buffer.from('ZGo Order::'.concat(this.orderId!)))}`;
|
||||||
}
|
|
||||||
var qrcode = new QRCode(document.getElementById("payment-qr"), {
|
var qrcode = new QRCode(document.getElementById("payment-qr"), {
|
||||||
text: this.codeString,
|
text: this.codeString,
|
||||||
logo: "/assets/zcash.png",
|
logo: "/assets/zcash.png",
|
||||||
|
@ -130,6 +88,7 @@ export class InvoiceComponent implements OnInit {
|
||||||
if ( order.session.substring(0,1) == 'W') {
|
if ( order.session.substring(0,1) == 'W') {
|
||||||
this.isWCOrder = true;
|
this.isWCOrder = true;
|
||||||
}
|
}
|
||||||
|
this.codeString = `zcash:${this.order.address}?amount=${this.order.totalZec.toFixed(8)}&memo=${URLSafeBase64.encode(Buffer.from('ZGo Order::'.concat(this.orderId!)))}`;
|
||||||
this.zcashUrl = this.sanitizer.bypassSecurityTrustUrl(this.codeString);
|
this.zcashUrl = this.sanitizer.bypassSecurityTrustUrl(this.codeString);
|
||||||
});
|
});
|
||||||
this.nameUpdate.subscribe(name => {
|
this.nameUpdate.subscribe(name => {
|
||||||
|
@ -138,23 +97,22 @@ export class InvoiceComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
backToShop() {
|
backToShop() {
|
||||||
if ( this.isWCOrder ) {
|
if ( this.isWCOrder ) {
|
||||||
// console.log('External Invoice -> ' + this.order.externalInvoice );
|
// console.log('External Invoice -> ' + this.order.externalInvoice );
|
||||||
const b64URL:string = this.order.externalInvoice.substring(0,this.order.externalInvoice.indexOf("-"));
|
const b64URL:string = this.order.externalInvoice.substring(0,this.order.externalInvoice.indexOf("-"));
|
||||||
// console.log('encodedURL -> ' + b64URL );
|
// console.log('encodedURL -> ' + b64URL );
|
||||||
const shopURL: string = Buffer.from(b64URL, 'base64').toString();
|
const shopURL: string = Buffer.from(b64URL, 'base64').toString();
|
||||||
const tmp_orderid = this.order.externalInvoice.substring(this.order.externalInvoice.indexOf('-')+1);
|
const tmp_orderid = this.order.externalInvoice.substring(this.order.externalInvoice.indexOf('-')+1);
|
||||||
const wc_order_key = tmp_orderid.substring(tmp_orderid.indexOf('-')+1);
|
const wc_order_key = tmp_orderid.substring(tmp_orderid.indexOf('-')+1);
|
||||||
const wc_orderid = tmp_orderid.substring(0,tmp_orderid.indexOf('-'));
|
const wc_orderid = tmp_orderid.substring(0,tmp_orderid.indexOf('-'));
|
||||||
// console.log('wc_order_id -> ' + wc_orderid);
|
// console.log('wc_order_id -> ' + wc_orderid);
|
||||||
// console.log('wc_order_key -> ' + wc_order_key);
|
// console.log('wc_order_key -> ' + wc_order_key);
|
||||||
// console.log('new URL -> ' + shopURL + '/checkout/order-received/' + wc_orderid + '/?key=' + wc_order_key);
|
// console.log('new URL -> ' + shopURL + '/checkout/order-received/' + wc_orderid + '/?key=' + wc_order_key);
|
||||||
if ( shopURL ) {
|
if ( shopURL ) {
|
||||||
// console.log('Opening URL....' + shopURL);
|
// console.log('Opening URL....' + shopURL);
|
||||||
window.open( shopURL + '/checkout/order-received/' + wc_orderid + '/?key=' + wc_order_key,"_blank");
|
window.open( shopURL + '/checkout/order-received/' + wc_orderid + '/?key=' + wc_order_key,"_blank");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -169,112 +127,47 @@ export class InvoiceComponent implements OnInit {
|
||||||
|
|
||||||
copyAddress() {
|
copyAddress() {
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
// alert("Copy functionality not supported");
|
// alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.invoiceCopyNotavail,
|
|
||||||
this.vE.invoiceNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.invoiceNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.order.address);
|
navigator.clipboard.writeText(this.order.address);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(
|
.showNotification("Error copying address","Close","error");
|
||||||
this.vE.invoiceCopyaddressError,
|
// console.error("Error", err);
|
||||||
this.vE.invoiceNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.invoiceNotservError);
|
|
||||||
// console.error("Error", err);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
copyAmount() {
|
copyAmount() {
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
// alert("Copy functionality not supported");
|
// alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.invoiceCopyNotavail,
|
|
||||||
this.vE.invoiceNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.invoiceNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.order.totalZec.toString());
|
navigator.clipboard.writeText(this.order.totalZec.toString());
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(
|
.showNotification("Error while copying ammount","Close","error");
|
||||||
this.vE.invoiceCopyamountError,
|
// console.error("Error", err);
|
||||||
this.vE.invoiceNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.invoiceNotservError);
|
|
||||||
// console.error("Error", err);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
copyMemo() {
|
copyMemo() {
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
// alert("Copy functionality not supported");
|
// alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.invoiceCopyNotavail,
|
|
||||||
this.vE.invoiceNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.invoiceNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText("ZGo Order::" + this.order._id);
|
navigator.clipboard.writeText("ZGo Order::" + this.order._id);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(
|
.showNotification("Error while copying Memo","Close","error");
|
||||||
this.vE.invoiceCopymemoError,
|
// console.error("Error", err);
|
||||||
this.vE.invoiceNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.invoiceNotservError);
|
|
||||||
// console.error("Error", err);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('INVOICE.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('invoice').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.invoiceInvoiceLbl = response.data.invoice_invoice_lbl;
|
|
||||||
this.vE.invoiceOrderId = response.data.invoice_order_id;
|
|
||||||
this.vE.invoiceOrderDate = response.data.invoice_order_date;
|
|
||||||
this.vE.invoiceZcashPrice = response.data.invoice_zcash_price;
|
|
||||||
this.vE.invoiceQtyLbl = response.data.invoice_qty_lbl;
|
|
||||||
this.vE.invoiceOrderPrice = response.data.invoice_order_price;
|
|
||||||
this.vE.invoiceInvoiceTotal = response.data.invoice_invoice_total;
|
|
||||||
this.vE.invoicePaymentConfirmed = response.data.invoice_payment_confirmed;
|
|
||||||
this.vE.invoicePaymentPending = response.data.invoice_payment_pending;
|
|
||||||
this.vE.invoiceScanQrcode = response.data.invoice_scan_qrcode;
|
|
||||||
this.vE.invoiceCantScan = response.data.invoice_cant_scan;
|
|
||||||
this.vE.invoiceUseThis = response.data.invoice_use_this;
|
|
||||||
this.vE.invoiceWalletLink = response.data.invoice_wallet_link;
|
|
||||||
this.vE.invoiceDotOr = response.data.invoice_dot_or;
|
|
||||||
this.vE.invoiceCopyAddress = response.data.invoice_copy_address;
|
|
||||||
this.vE.invoiceCopyAmount = response.data.invoice_copy_amount;
|
|
||||||
this.vE.invoiceCopyMemo = response.data.invoice_copy_memo;
|
|
||||||
this.vE.invoiceReturnToshop = response.data.invoice_return_toshop;
|
|
||||||
this.vE.invoiceCopyNotavail = response.data.invoice_copy_notavail;
|
|
||||||
this.vE.invoiceNotservClose = response.data.invoice_notserv_close;
|
|
||||||
this.vE.invoiceNotservError = response.data.invoice_notserv_error;
|
|
||||||
this.vE.invoiceCopyaddressError = response.data.invoice_copyaddress_error;
|
|
||||||
this.vE.invoiceCopyamountError = response.data.invoice_copyamount_error;
|
|
||||||
this.vE.invoiceCopymemoError = response.data.invoice_copymemo_error;
|
|
||||||
this.vE.invoiceInvalidId = response.data.invoice_invalid_id;
|
|
||||||
this.vE.invoiceInfoNotavail = response.data.invoice_info_notavail;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,5 +12,5 @@ input[type=number]{
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 26px;
|
font-size: 26px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 10px;
|
padding: 5px;
|
||||||
}
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
<div class='itemDataTitle'>{{ vE.itemaddAdd2Order }}</div>
|
<div class='itemDataTitle'>Add to Order</div>
|
||||||
|
|
||||||
<div class='container'>
|
<div class='container'>
|
||||||
<mat-dialog-content [formGroup]="orderForm">
|
<mat-dialog-content [formGroup]="orderForm">
|
||||||
|
@ -9,15 +9,13 @@
|
||||||
</mat-dialog-content>
|
</mat-dialog-content>
|
||||||
|
|
||||||
<div style="display: flex;
|
<div style="display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;">
|
||||||
margin-top: 20px;
|
|
||||||
padding: 20px;">
|
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
class="text"
|
class="text"
|
||||||
(click)="close()">{{ vE.itemaddCancelBtn }}</button>
|
(click)="close()">Cancel</button>
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
class="text"
|
class="text"
|
||||||
color="primary"
|
color="primary"
|
||||||
(click)="save()">{{ vE.itemaddSaveBtn }}</button>
|
(click)="save()">Add</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -4,9 +4,6 @@ import { UntypedFormBuilder, Validators, UntypedFormGroup, FormControl } from '@
|
||||||
import { LineItem } from '../lineitem.model';
|
import { LineItem } from '../lineitem.model';
|
||||||
import { Order } from '../../order/order.model';
|
import { Order } from '../../order/order.model';
|
||||||
|
|
||||||
import { LanguageService } from '../../language.service';
|
|
||||||
import { LanguageData } from '../../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-item-add',
|
selector: 'app-item-add',
|
||||||
templateUrl: './item-add.component.html',
|
templateUrl: './item-add.component.html',
|
||||||
|
@ -18,18 +15,8 @@ export class ItemAddComponent implements OnInit {
|
||||||
orderForm: UntypedFormGroup;
|
orderForm: UntypedFormGroup;
|
||||||
lineItem: LineItem;
|
lineItem: LineItem;
|
||||||
//order: Order;
|
//order: Order;
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
itemaddAdd2Order : '',
|
|
||||||
itemaddCancelBtn : '',
|
|
||||||
itemaddSaveBtn : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private fb: UntypedFormBuilder,
|
private fb: UntypedFormBuilder,
|
||||||
private dialogRef: MatDialogRef<ItemAddComponent>,
|
private dialogRef: MatDialogRef<ItemAddComponent>,
|
||||||
@Inject(MAT_DIALOG_DATA) public data: LineItem
|
@Inject(MAT_DIALOG_DATA) public data: LineItem
|
||||||
|
@ -45,7 +32,6 @@ export class ItemAddComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
|
@ -56,22 +42,4 @@ export class ItemAddComponent implements OnInit {
|
||||||
this.lineItem.qty = this.orderForm.value.qty;
|
this.lineItem.qty = this.orderForm.value.qty;
|
||||||
this.dialogRef.close(this.lineItem);
|
this.dialogRef.close(this.lineItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('ITEMADD.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('itemadd').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.itemaddAdd2Order = response.data.itemadd_add_2order;
|
|
||||||
this.vE.itemaddCancelBtn = response.data.itemadd_cancel_btn;
|
|
||||||
this.vE.itemaddSaveBtn = response.data.itemadd_save_btn;
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
|
||||||
<div class='itemDataTitle'>{{ vE.itemcreateAddItem }}</div>
|
<div class='itemDataTitle'>Add Item</div>
|
||||||
|
|
||||||
<div class='container' style="margin-top: 20px;">
|
<div class='container' style="margin-top: 20px;">
|
||||||
<mat-dialog-content [formGroup]="form">
|
<mat-dialog-content [formGroup]="form">
|
||||||
<span style="line-height: 10px;"></span>
|
<span style="line-height: 10px;"></span>
|
||||||
<mat-form-field class="text" [style.width.%]="100">
|
<mat-form-field class="text" [style.width.%]="100">
|
||||||
<mat-label>{{ vE.itemcreateItemLbl }}</mat-label>
|
<mat-label>Item</mat-label>
|
||||||
<input type="hidden" formControlName="id">
|
<input type="hidden" formControlName="id">
|
||||||
<input matInput
|
<input matInput
|
||||||
placeholder="Item"
|
placeholder="Item"
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
maxlength="16">
|
maxlength="16">
|
||||||
</mat-form-field >
|
</mat-form-field >
|
||||||
<mat-form-field class="text" [style.width.%]="100">
|
<mat-form-field class="text" [style.width.%]="100">
|
||||||
<mat-label>{{ vE.itemcreateItemDescr }}</mat-label>
|
<mat-label>Description</mat-label>
|
||||||
<textarea matInput
|
<textarea matInput
|
||||||
placeholder="Description"
|
placeholder="Description"
|
||||||
formControlName="description"
|
formControlName="description"
|
||||||
|
@ -22,20 +22,18 @@
|
||||||
overflow:auto;"></textarea>
|
overflow:auto;"></textarea>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field class="text" [style.width.%]="100">
|
<mat-form-field class="text" [style.width.%]="100">
|
||||||
<mat-label>{{ vE.itemcreateItemPrice }}</mat-label>
|
<mat-label>Price</mat-label>
|
||||||
<input matInput type="number" placeholder="Price" formControlName="cost">
|
<input matInput type="number" placeholder="Price" formControlName="cost">
|
||||||
<div *ngIf="!form.controls['cost'].valid && form.controls['cost'].touched">
|
<div *ngIf="!form.controls['cost'].valid && form.controls['cost'].touched">
|
||||||
<div *ngIf="form.controls['cost'].errors?.pattern">{{ vE.itemcreateUseNums }}</div>
|
<div *ngIf="form.controls['cost'].errors?.pattern">Use only numbers</div>
|
||||||
</div>
|
</div>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</mat-dialog-content>
|
</mat-dialog-content>
|
||||||
|
|
||||||
<div style="display: flex;
|
<div style="display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;">
|
||||||
margin-top: 20px;
|
<button mat-raised-button class="text" (click)="close()">Close</button>
|
||||||
padding: 20px;">
|
<button mat-raised-button class="text" color="primary" (click)="save()">Save</button>
|
||||||
<button mat-raised-button class="text" (click)="close()">{{ vE.itemcreateCloseBtn }}</button>
|
|
||||||
<button mat-raised-button class="text" color="primary" (click)="save()">{{ vE.itemcreateSaveBtn }}</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
|
@ -3,8 +3,6 @@ import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dial
|
||||||
import { UntypedFormBuilder, Validators, UntypedFormGroup, UntypedFormControl } from '@angular/forms';
|
import { UntypedFormBuilder, Validators, UntypedFormGroup, UntypedFormControl } from '@angular/forms';
|
||||||
import { Item } from '../item.model';
|
import { Item } from '../item.model';
|
||||||
|
|
||||||
import { LanguageService } from '../../language.service';
|
|
||||||
import { LanguageData } from '../../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-item-create',
|
selector: 'app-item-create',
|
||||||
|
@ -17,22 +15,8 @@ export class ItemCreateComponent implements OnInit {
|
||||||
form: UntypedFormGroup;
|
form: UntypedFormGroup;
|
||||||
id: string | undefined = '';
|
id: string | undefined = '';
|
||||||
numberRegEx = /\d*\.?\d{1,2}/;
|
numberRegEx = /\d*\.?\d{1,2}/;
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
itemcreateAddItem : '',
|
|
||||||
itemcreateItemLbl : '',
|
|
||||||
itemcreateItemDescr : '',
|
|
||||||
itemcreateItemPrice : '',
|
|
||||||
itemcreateUseNums : '',
|
|
||||||
itemcreateCloseBtn : '',
|
|
||||||
itemcreateSaveBtn : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private fb: UntypedFormBuilder,
|
private fb: UntypedFormBuilder,
|
||||||
private dialogRef: MatDialogRef<ItemCreateComponent>,
|
private dialogRef: MatDialogRef<ItemCreateComponent>,
|
||||||
@Inject(MAT_DIALOG_DATA) public data: Item
|
@Inject(MAT_DIALOG_DATA) public data: Item
|
||||||
|
@ -62,7 +46,6 @@ export class ItemCreateComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit () {
|
ngOnInit () {
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
save() {
|
save() {
|
||||||
|
@ -73,25 +56,4 @@ export class ItemCreateComponent implements OnInit {
|
||||||
close () {
|
close () {
|
||||||
this.dialogRef.close();
|
this.dialogRef.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('ITEMLREATE.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('itemcreate').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.itemcreateAddItem = response.data.itemcreate_add_item;
|
|
||||||
this.vE.itemcreateItemLbl = response.data.itemcreate_item_lbl;
|
|
||||||
this.vE.itemcreateItemDescr = response.data.itemcreate_item_descr;
|
|
||||||
this.vE.itemcreateItemPrice = response.data.itemcreate_item_price;
|
|
||||||
this.vE.itemcreateUseNums = response.data.itemcreate_use_nums;
|
|
||||||
this.vE.itemcreateCloseBtn = response.data.itemcreate_close_btn;
|
|
||||||
this.vE.itemcreateSaveBtn = response.data.itemcreate_save_btn;
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class='itemDataTitle'>{{ vE.itemdelDelItem }}</div>
|
<div class='itemDataTitle'>Delete Item</div>
|
||||||
|
|
||||||
<div class='container' style="margin-top: 20px;">
|
<div class='container' style="margin-top: 20px;">
|
||||||
<mat-dialog-content >
|
<mat-dialog-content >
|
||||||
|
@ -6,17 +6,15 @@
|
||||||
<span style="line-height: 10px;"></span>
|
<span style="line-height: 10px;"></span>
|
||||||
|
|
||||||
<mat-dialog-content>
|
<mat-dialog-content>
|
||||||
<p class="text">{{ vE.itemdelConfirmDel }}"{{item.name}}"?</p>
|
<p class="text">Are you sure you want to delete "{{item.name}}"?</p>
|
||||||
</mat-dialog-content>
|
</mat-dialog-content>
|
||||||
|
|
||||||
</mat-dialog-content>
|
</mat-dialog-content>
|
||||||
|
|
||||||
<div style="display: flex;
|
<div style="display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;">
|
||||||
margin-top: 20px;
|
<button mat-raised-button class="text" (click)="close()">Close</button>
|
||||||
padding: 20px;">
|
<button mat-raised-button class="text" color="primary" (click)="save()">Delete</button>
|
||||||
<button mat-raised-button class="text" (click)="close()">{{ vE.itemdelCloseBtn }}</button>
|
|
||||||
<button mat-raised-button class="text" color="primary" (click)="save()">{{ vE.itemdelDeleteBtn }}</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
|
@ -2,8 +2,6 @@ import { Inject, Component, OnInit, OnDestroy, ViewEncapsulation } from '@angula
|
||||||
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||||
import { Item } from '../item.model';
|
import { Item } from '../item.model';
|
||||||
|
|
||||||
import { LanguageService } from '../../language.service';
|
|
||||||
import { LanguageData } from '../../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-item-delete',
|
selector: 'app-item-delete',
|
||||||
|
@ -13,19 +11,8 @@ import { LanguageData } from '../../language.model';
|
||||||
|
|
||||||
export class ItemDeleteComponent implements OnInit{
|
export class ItemDeleteComponent implements OnInit{
|
||||||
item: Item;
|
item: Item;
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
itemdelDelItem : '',
|
|
||||||
itemdelConfirmDel : '',
|
|
||||||
itemdelCloseBtn : '',
|
|
||||||
itemdelDeleteBtn : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private dialogRef: MatDialogRef<ItemDeleteComponent>,
|
private dialogRef: MatDialogRef<ItemDeleteComponent>,
|
||||||
@Inject(MAT_DIALOG_DATA) public data: Item
|
@Inject(MAT_DIALOG_DATA) public data: Item
|
||||||
) {
|
) {
|
||||||
|
@ -33,7 +20,6 @@ export class ItemDeleteComponent implements OnInit{
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
save() {
|
save() {
|
||||||
|
@ -43,23 +29,4 @@ export class ItemDeleteComponent implements OnInit{
|
||||||
close() {
|
close() {
|
||||||
this.dialogRef.close();
|
this.dialogRef.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('ITEMDEL.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('itemdel').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.itemdelDelItem = response.data.itemdel_del_item;
|
|
||||||
this.vE.itemdelConfirmDel = response.data.itemdel_confirm_del;
|
|
||||||
this.vE.itemdelCloseBtn = response.data.itemdel_close_btn;
|
|
||||||
this.vE.itemdelDeleteBtn = response.data.itemdel_delete_btn;
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
|
||||||
<div class='itemDataTitle'>{{ vE.itemeditEditItem }}</div>
|
<div class='itemDataTitle'>Edit Item</div>
|
||||||
|
|
||||||
<div class='container' style="margin-top: 20px;">
|
<div class='container' style="margin-top: 20px;">
|
||||||
<mat-dialog-content [formGroup]="form">
|
<mat-dialog-content [formGroup]="form">
|
||||||
<span style="line-height: 10px;"></span>
|
<span style="line-height: 10px;"></span>
|
||||||
<mat-form-field class="text" [style.width.%]="100">
|
<mat-form-field class="text" [style.width.%]="100">
|
||||||
<mat-label>{{ vE.itemeditItemLabel}}</mat-label>
|
<mat-label>Item</mat-label>
|
||||||
<input type="hidden" formControlName="id">
|
<input type="hidden" formControlName="id">
|
||||||
<input matInput
|
<input matInput
|
||||||
placeholder="Item"
|
placeholder="Item"
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
maxlength="16">
|
maxlength="16">
|
||||||
</mat-form-field >
|
</mat-form-field >
|
||||||
<mat-form-field class="text" [style.width.%]="100">
|
<mat-form-field class="text" [style.width.%]="100">
|
||||||
<mat-label>{{ vE.itemeditItemDescr }}</mat-label>
|
<mat-label>Description</mat-label>
|
||||||
<textarea matInput
|
<textarea matInput
|
||||||
placeholder="Description"
|
placeholder="Description"
|
||||||
formControlName="description"
|
formControlName="description"
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
overflow:auto;"></textarea>
|
overflow:auto;"></textarea>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field class="text" [style.width.%]="100">
|
<mat-form-field class="text" [style.width.%]="100">
|
||||||
<mat-label>{{ vE.itemeditItemPrice }}</mat-label>
|
<mat-label>Price</mat-label>
|
||||||
<input matInput type="number" placeholder="Price" formControlName="cost">
|
<input matInput type="number" placeholder="Price" formControlName="cost">
|
||||||
<div *ngIf="!form.controls['cost'].valid && form.controls['cost'].touched">
|
<div *ngIf="!form.controls['cost'].valid && form.controls['cost'].touched">
|
||||||
<div *ngIf="form.controls['cost'].errors?.pattern">Use only numbers</div>
|
<div *ngIf="form.controls['cost'].errors?.pattern">Use only numbers</div>
|
||||||
|
@ -31,11 +31,9 @@
|
||||||
</mat-dialog-content>
|
</mat-dialog-content>
|
||||||
|
|
||||||
<div style="display: flex;
|
<div style="display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;">
|
||||||
margin-top: 20px;
|
<button mat-raised-button class="text" (click)="close()">Close</button>
|
||||||
padding: 20px;">
|
<button mat-raised-button class="text" color="primary" (click)="save()">Save</button>
|
||||||
<button mat-raised-button class="text" (click)="close()">{{ vE.itemeditCloseBtn }}</button>
|
|
||||||
<button mat-raised-button class="text" color="primary" (click)="save()">{{ vE.itemeditSaveBtn }}</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
|
@ -3,8 +3,6 @@ import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dial
|
||||||
import { UntypedFormBuilder, Validators, UntypedFormGroup, UntypedFormControl } from '@angular/forms';
|
import { UntypedFormBuilder, Validators, UntypedFormGroup, UntypedFormControl } from '@angular/forms';
|
||||||
import { Item } from '../item.model';
|
import { Item } from '../item.model';
|
||||||
|
|
||||||
import { LanguageService } from '../../language.service';
|
|
||||||
import { LanguageData } from '../../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-item-edit',
|
selector: 'app-item-edit',
|
||||||
|
@ -17,21 +15,8 @@ export class ItemEditComponent implements OnInit {
|
||||||
form: UntypedFormGroup;
|
form: UntypedFormGroup;
|
||||||
id: string | undefined = '';
|
id: string | undefined = '';
|
||||||
numberRegEx = /\d*\.?\d{1,2}/;
|
numberRegEx = /\d*\.?\d{1,2}/;
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
itemeditCloseBtn : '',
|
|
||||||
itemeditEditItem : '',
|
|
||||||
itemeditItemDescr : '',
|
|
||||||
itemeditItemLabel : '',
|
|
||||||
itemeditItemPrice : '',
|
|
||||||
itemeditSaveBtn : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private fb: UntypedFormBuilder,
|
private fb: UntypedFormBuilder,
|
||||||
private dialogRef: MatDialogRef<ItemEditComponent>,
|
private dialogRef: MatDialogRef<ItemEditComponent>,
|
||||||
@Inject(MAT_DIALOG_DATA) public data: Item
|
@Inject(MAT_DIALOG_DATA) public data: Item
|
||||||
|
@ -61,7 +46,6 @@ export class ItemEditComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit () {
|
ngOnInit () {
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
save() {
|
save() {
|
||||||
|
@ -72,25 +56,4 @@ export class ItemEditComponent implements OnInit {
|
||||||
close () {
|
close () {
|
||||||
this.dialogRef.close();
|
this.dialogRef.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('ITEMEDIT.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('itemedit').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.itemeditEditItem = response.data.itemedit_edit_item;
|
|
||||||
this.vE.itemeditItemLabel = response.data.itemedit_item_label;
|
|
||||||
this.vE.itemeditItemDescr = response.data.itemedit_item_descr;
|
|
||||||
this.vE.itemeditItemPrice = response.data.itemedit_item_price;
|
|
||||||
this.vE.itemeditCloseBtn = response.data.itemedit_close_btn;
|
|
||||||
this.vE.itemeditSaveBtn = response.data.itemedit_save_btn;
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,16 @@
|
||||||
<div *ngIf="items.length > 0">
|
<div *ngIf="items.length > 0">
|
||||||
<mat-toolbar color="accent">
|
<div class="availableItems" >
|
||||||
<span align="center" class="text">
|
Available Items:
|
||||||
{{ vE.itemlistAvailItems }}
|
<button mat-raised-button
|
||||||
</span>
|
class="buttons-class"
|
||||||
<span class="spacer"></span>
|
|
||||||
<span align="center">
|
|
||||||
<button mat-icon-button
|
|
||||||
color="primary"
|
|
||||||
(click)="openDialog()">
|
(click)="openDialog()">
|
||||||
<mat-icon aria-button-label="Add Item">
|
<mat-icon class="icon">
|
||||||
add
|
add
|
||||||
</mat-icon>
|
</mat-icon>
|
||||||
|
Add item
|
||||||
</button>
|
</button>
|
||||||
</span>
|
|
||||||
</mat-toolbar>
|
</div>
|
||||||
<div style="display: block;
|
<div style="display: block;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
height: 500px;">
|
height: 500px;">
|
||||||
|
@ -57,18 +54,18 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<button mat-icon-button class="icons" (click)="edit(item._id!)">
|
<button mat-icon-button class="icons" (click)="edit(item._id!)">
|
||||||
<mat-icon>edit</mat-icon>
|
<mat-icon inline=true>edit</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<button mat-icon-button class="icons" (click)="delete(item._id!)">
|
<button mat-icon-button class="icons" (click)="delete(item._id!)">
|
||||||
<mat-icon>delete</mat-icon>
|
<mat-icon inline=true>delete</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<button mat-icon-button
|
<button mat-raised-button
|
||||||
color="primary"
|
color="primary"
|
||||||
class="buttons-class-cart"
|
class="buttons-class-cart"
|
||||||
(click)="addToOrder(item._id!)">
|
(click)="addToOrder(item._id!)">
|
||||||
<mat-icon>
|
<mat-icon [inline]="true">
|
||||||
shopping_cart
|
shopping_cart
|
||||||
</mat-icon>
|
</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
@ -82,7 +79,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf = "items.length <= 0">
|
<div *ngIf = "items.length <= 0">
|
||||||
<div class="availableItems" >
|
<div class="availableItems" >
|
||||||
{{ vE.itemlistListEmpty }}
|
No items yet!
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
class="buttons-class"
|
class="buttons-class"
|
||||||
(click)="openDialog()">
|
(click)="openDialog()">
|
||||||
|
|
|
@ -16,9 +16,6 @@ import { ItemDeleteComponent } from '../item-delete/item-delete.component';
|
||||||
import { ItemAddComponent } from '../item-add/item-add.component';
|
import { ItemAddComponent } from '../item-add/item-add.component';
|
||||||
import { NotifierService } from '../../notifier.service';
|
import { NotifierService } from '../../notifier.service';
|
||||||
|
|
||||||
import { LanguageService } from '../../language.service';
|
|
||||||
import { LanguageData } from '../../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-item-list',
|
selector: 'app-item-list',
|
||||||
templateUrl: './item-list.component.html',
|
templateUrl: './item-list.component.html',
|
||||||
|
@ -64,28 +61,13 @@ export class ItemListComponent implements OnInit{
|
||||||
public ownerUpdate: Observable<Owner>;
|
public ownerUpdate: Observable<Owner>;
|
||||||
public itemsUpdate: Observable<Item[]>;
|
public itemsUpdate: Observable<Item[]>;
|
||||||
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
itemlistAvailItems : '',
|
|
||||||
itemlistListEmpty : '',
|
|
||||||
itemlistItemAdded : '',
|
|
||||||
itemlistItemUpdated : '',
|
|
||||||
itemlistItemDeleted : '',
|
|
||||||
itemlistNotifClose : '',
|
|
||||||
itemlistNotifSuccess : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------
|
|
||||||
constructor(
|
constructor(
|
||||||
public itemService: ItemService,
|
public itemService: ItemService,
|
||||||
userService: UserService,
|
userService: UserService,
|
||||||
public orderService: OrderService,
|
public orderService: OrderService,
|
||||||
public fullnodeService: FullnodeService,
|
public fullnodeService: FullnodeService,
|
||||||
private dialog: MatDialog,
|
private dialog: MatDialog,
|
||||||
private notifierService: NotifierService,
|
private notifierService: NotifierService )
|
||||||
private languageService: LanguageService )
|
|
||||||
{
|
{
|
||||||
this.ownerUpdate = userService.ownerUpdate;
|
this.ownerUpdate = userService.ownerUpdate;
|
||||||
this.itemsUpdate = itemService.itemsUpdated;
|
this.itemsUpdate = itemService.itemsUpdated;
|
||||||
|
@ -100,7 +82,6 @@ export class ItemListComponent implements OnInit{
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(){
|
ngOnInit(){
|
||||||
this.chgUILanguage();
|
|
||||||
this.itemsUpdate.subscribe((items) => {
|
this.itemsUpdate.subscribe((items) => {
|
||||||
this.items = items;
|
this.items = items;
|
||||||
});
|
});
|
||||||
|
@ -119,12 +100,9 @@ export class ItemListComponent implements OnInit{
|
||||||
if(val != null) {
|
if(val != null) {
|
||||||
var item:Item = {_id: '', name: val.name, description: val.description, cost: val.cost, owner: this.owner.address};
|
var item:Item = {_id: '', name: val.name, description: val.description, cost: val.cost, owner: this.owner.address};
|
||||||
this.itemService.addItem(item);
|
this.itemService.addItem(item);
|
||||||
console.log('creando item y llamando a notifier >>>');
|
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.itemlistItemAdded ,
|
.showNotification("Item successfully created!",
|
||||||
this.vE.itemlistNotifClose,
|
"Close","success");
|
||||||
"success",
|
|
||||||
this.vE.itemlistNotifSuccess);
|
|
||||||
}
|
}
|
||||||
this.itemService.getItems(this.owner.address);
|
this.itemService.getItems(this.owner.address);
|
||||||
this.itemsUpdate.subscribe((items) => {
|
this.itemsUpdate.subscribe((items) => {
|
||||||
|
@ -142,7 +120,7 @@ export class ItemListComponent implements OnInit{
|
||||||
dialogConfig.disableClose = true;
|
dialogConfig.disableClose = true;
|
||||||
dialogConfig.autoFocus = true;
|
dialogConfig.autoFocus = true;
|
||||||
dialogConfig.data = item;
|
dialogConfig.data = item;
|
||||||
console.log('Entrando a dialogo de edicion')
|
|
||||||
const dialogRef = this.dialog.open(ItemEditComponent, dialogConfig);
|
const dialogRef = this.dialog.open(ItemEditComponent, dialogConfig);
|
||||||
dialogRef.afterClosed().subscribe((val) => {
|
dialogRef.afterClosed().subscribe((val) => {
|
||||||
if (val != null) {
|
if (val != null) {
|
||||||
|
@ -153,16 +131,13 @@ export class ItemListComponent implements OnInit{
|
||||||
cost: val.cost,
|
cost: val.cost,
|
||||||
owner: this.owner.address
|
owner: this.owner.address
|
||||||
};
|
};
|
||||||
console.log('Edit:', editItem);
|
//console.log('Edit:', editItem);
|
||||||
console.log('itemlistItemUpdated = ' + this.vE.itemlistItemUpdated);
|
|
||||||
this.itemService.addItem(editItem).subscribe((response) => {
|
this.itemService.addItem(editItem).subscribe((response) => {
|
||||||
this.itemService.getItems(this.owner.address);
|
this.itemService.getItems(this.owner.address);
|
||||||
});
|
});
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.itemlistItemUpdated,
|
.showNotification("Item information updated!!",
|
||||||
this.vE.itemlistNotifClose,
|
"Close","success");
|
||||||
"success",
|
|
||||||
this.vE.itemlistNotifSuccess);
|
|
||||||
}
|
}
|
||||||
this.itemService.getItems(this.owner.address);
|
this.itemService.getItems(this.owner.address);
|
||||||
});
|
});
|
||||||
|
@ -185,10 +160,8 @@ export class ItemListComponent implements OnInit{
|
||||||
this.itemService.deleteItem(val);
|
this.itemService.deleteItem(val);
|
||||||
this.items = [];
|
this.items = [];
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.itemlistItemDeleted,
|
.showNotification("Item deleted!!",
|
||||||
this.vE.itemlistNotifClose,
|
"Close","success");
|
||||||
"success",
|
|
||||||
this.vE.itemlistNotifSuccess);
|
|
||||||
}
|
}
|
||||||
this.itemService.getItems(this.owner.address);
|
this.itemService.getItems(this.owner.address);
|
||||||
this.itemsUpdate.subscribe((items) => {
|
this.itemsUpdate.subscribe((items) => {
|
||||||
|
@ -223,27 +196,5 @@ export class ItemListComponent implements OnInit{
|
||||||
getCurrency(){
|
getCurrency(){
|
||||||
return this.owner.currency.toUpperCase();
|
return this.owner.currency.toUpperCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('ITEMLIST.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('itemlist').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.itemlistListEmpty = response.data.itemlist_list_empty;
|
|
||||||
this.vE.itemlistAvailItems = response.data.itemlist_avail_items;
|
|
||||||
this.vE.itemlistItemAdded = response.data.itemlist_item_added;
|
|
||||||
this.vE.itemlistItemUpdated = response.data.itemlist_item_updated;
|
|
||||||
this.vE.itemlistItemDeleted = response.data.itemlist_item_deleted;
|
|
||||||
this.vE.itemlistNotifClose = response.data.itemlist_notif_close;
|
|
||||||
this.vE.itemlistNotifSuccess = response.data.itemlist_notif_success;
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
export interface LanguageData {
|
|
||||||
_id: string;
|
|
||||||
language: string;
|
|
||||||
component: string;
|
|
||||||
data?: any;
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
import { TestBed } from '@angular/core/testing';
|
|
||||||
|
|
||||||
import { LanguageService } from './language.service';
|
|
||||||
|
|
||||||
describe('LanguageService', () => {
|
|
||||||
let service: LanguageService;
|
|
||||||
|
|
||||||
beforeEach(() => {
|
|
||||||
TestBed.configureTestingModule({});
|
|
||||||
service = TestBed.inject(LanguageService);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should be created', () => {
|
|
||||||
expect(service).toBeTruthy();
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,54 +0,0 @@
|
||||||
import { Injectable } from '@angular/core';
|
|
||||||
import { LanguageData } from './language.model';
|
|
||||||
import { HttpClient, HttpParams, HttpHeaders } from '@angular/common/http';
|
|
||||||
import { ConfigData } from './configdata';
|
|
||||||
|
|
||||||
var Buffer = require('buffer/').Buffer;
|
|
||||||
|
|
||||||
@Injectable({
|
|
||||||
providedIn: 'root'
|
|
||||||
})
|
|
||||||
|
|
||||||
export class LanguageService {
|
|
||||||
//
|
|
||||||
// URL for test using REST API to local MariaDB database
|
|
||||||
// private baseURL = 'http://localhost:8080/zgointl';
|
|
||||||
//
|
|
||||||
// URL for test using REST API to local MongoDB database
|
|
||||||
// private baseURL = 'http://localhost:5000/zgointl';
|
|
||||||
//
|
|
||||||
// URL for access MongoDB database from remote server
|
|
||||||
private baseURL = ConfigData.Be_URL + 'api/getlang';
|
|
||||||
|
|
||||||
public zgoLanguage: string = '';
|
|
||||||
|
|
||||||
constructor(private http:HttpClient) {
|
|
||||||
}
|
|
||||||
|
|
||||||
getViewElements ( viewName:string ) {
|
|
||||||
//
|
|
||||||
// Get default language from localStorage
|
|
||||||
//
|
|
||||||
const def_zgoLanguage = localStorage.getItem('zgo_language');
|
|
||||||
//
|
|
||||||
// Set authorizacion paramaters
|
|
||||||
//
|
|
||||||
const Auth = 'Basic ' + Buffer.from(ConfigData.UsrPwd).toString('base64');
|
|
||||||
const reqHeaders = new HttpHeaders().set('Authorization', Auth);
|
|
||||||
|
|
||||||
if ( def_zgoLanguage == null ) {
|
|
||||||
this.zgoLanguage = 'en-US';
|
|
||||||
localStorage.setItem('zgo_language',this.zgoLanguage);
|
|
||||||
} else {
|
|
||||||
this.zgoLanguage = def_zgoLanguage;
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// Get component's text data from language database
|
|
||||||
//
|
|
||||||
return this.http.get<LanguageData>(this.baseURL +
|
|
||||||
'/?lang=' + this.zgoLanguage +
|
|
||||||
'&component=' + viewName
|
|
||||||
,{ headers : reqHeaders }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -2,20 +2,6 @@
|
||||||
font-family: 'Spartan', sans-serif;
|
font-family: 'Spartan', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text1{
|
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
font-size: 24px;
|
|
||||||
font-weight: 700;
|
|
||||||
padding-top: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text1a{
|
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 600;
|
|
||||||
padding-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text2 {
|
.text2 {
|
||||||
font-family: 'Roboto Mono';
|
font-family: 'Roboto Mono';
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
@ -25,10 +11,6 @@
|
||||||
background: lightgray;
|
background: lightgray;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon{
|
|
||||||
font-family: 'Material Icons';
|
|
||||||
}
|
|
||||||
|
|
||||||
.orderheader {
|
.orderheader {
|
||||||
background-color: lightgrey !important;
|
background-color: lightgrey !important;
|
||||||
}
|
}
|
||||||
|
@ -128,12 +110,12 @@ img.icon{
|
||||||
|
|
||||||
.minibutton {
|
.minibutton {
|
||||||
font-family: 'Spartan', sans-serif;
|
font-family: 'Spartan', sans-serif;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
background: #ff5722;
|
background: #ff5722;
|
||||||
color: white;
|
color: white;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
padding: 10px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.spacer {
|
.spacer {
|
||||||
|
|
|
@ -1,25 +1,11 @@
|
||||||
<app-header></app-header>
|
<app-header></app-header>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<div class="text1">{{(ownerUpdate | async)!.name}}</div>
|
<h3 class="text">{{(ownerUpdate | async)!.name}}</h3>
|
||||||
<table style="padding-top: 10px;
|
|
||||||
padding-bottom: 10px;">
|
|
||||||
<tr class="text1a">
|
|
||||||
<td>
|
|
||||||
{{ vE.listordersEndDate }}{{(ownerUpdate | async)!.expiration | date: 'YYYY-MM-dd'}}
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<button mat-icon-button color="primary">
|
|
||||||
<mat-icon class="icon">queue</mat-icon>
|
|
||||||
</button>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<table >
|
<table >
|
||||||
<tr>
|
<tr>
|
||||||
<td width="45%">
|
<td width="45%">
|
||||||
<button class="text" mat-raised-button [routerLink]="['/shop']" color="primary">
|
<button class="text" mat-raised-button [routerLink]="['/shop']" color="primary">
|
||||||
<mat-icon class="icon">home</mat-icon>
|
Back to Shop
|
||||||
{{ vE.listordersBacktoshopBtn }}
|
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<td width="10%">
|
<td width="10%">
|
||||||
|
@ -27,8 +13,7 @@
|
||||||
<td width="45%">
|
<td width="45%">
|
||||||
<button mat-raised-button color="primary"
|
<button mat-raised-button color="primary"
|
||||||
class="text" (click)="openDbExport()">
|
class="text" (click)="openDbExport()">
|
||||||
<mat-icon class="icon">get_app</mat-icon>
|
Export Orders
|
||||||
{{ vE.listordersExportOrders }}
|
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -38,7 +23,7 @@
|
||||||
<tr class="totalsHdr">
|
<tr class="totalsHdr">
|
||||||
<td width="10%"></td>
|
<td width="10%"></td>
|
||||||
<td width="40%" >
|
<td width="40%" >
|
||||||
<div class="totalsHdrTitle">{{ vE.listordersTodaysTotal }}</div>
|
<div class="totalsHdrTitle">Today's Total:</div>
|
||||||
<div class="totalsHdrDetail">
|
<div class="totalsHdrDetail">
|
||||||
<img src="/assets/zec_rv.png"
|
<img src="/assets/zec_rv.png"
|
||||||
style="height: 16px !important;
|
style="height: 16px !important;
|
||||||
|
@ -46,7 +31,7 @@
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td width="40%" >
|
<td width="40%" >
|
||||||
<div class="totalsHdrTitle">{{ vE.listordersOverallTotal }}</div>
|
<div class="totalsHdrTitle">Overall Total:</div>
|
||||||
<div class="totalsHdrDetail">
|
<div class="totalsHdrDetail">
|
||||||
<img src="/assets/zec_rv.png"
|
<img src="/assets/zec_rv.png"
|
||||||
style="height: 16px !important;
|
style="height: 16px !important;
|
||||||
|
@ -88,7 +73,7 @@
|
||||||
</mat-panel-description>
|
</mat-panel-description>
|
||||||
</mat-expansion-panel-header>
|
</mat-expansion-panel-header>
|
||||||
<div class='orderheader'>
|
<div class='orderheader'>
|
||||||
<div class="text2"> <b>{{ vE.listordersOrderId }}</b>: {{order._id}}</div>
|
<div class="text2"> <b>Order Id</b>: {{order._id}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table style="width: 100%;"
|
<table style="width: 100%;"
|
||||||
|
@ -97,7 +82,7 @@
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
height: 20px;">
|
height: 20px;">
|
||||||
<td width="50%">{{ vE.listordersOrderTotal }}</td>
|
<td width="50%">Order Total:</td>
|
||||||
<td align="right"
|
<td align="right"
|
||||||
width="50%">
|
width="50%">
|
||||||
<img class="icon" src="/assets/zec_rv.png"
|
<img class="icon" src="/assets/zec_rv.png"
|
||||||
|
@ -126,15 +111,15 @@
|
||||||
<tr style="background: lightblue;">
|
<tr style="background: lightblue;">
|
||||||
<th class="tbheader"
|
<th class="tbheader"
|
||||||
style="text-align: left;"
|
style="text-align: left;"
|
||||||
width="55%">{{ vE.listordersItemLbl }}
|
width="55%">Item
|
||||||
</th>
|
</th>
|
||||||
<th class="tbheader"
|
<th class="tbheader"
|
||||||
style="text-align: left;"
|
style="text-align: left;"
|
||||||
width="15%">{{ vE.listordersQtyLbl }}
|
width="15%">Qty.
|
||||||
</th>
|
</th>
|
||||||
<th class="tbheader"
|
<th class="tbheader"
|
||||||
style="text-align: right;"
|
style="text-align: right;"
|
||||||
width="30%">{{ vE.listordersTotalLbl }}
|
width="30%">Total
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -162,13 +147,13 @@
|
||||||
padding-right: 20%;
|
padding-right: 20%;
|
||||||
margin-top: 10px;">
|
margin-top: 10px;">
|
||||||
<span>
|
<span>
|
||||||
<button mat-stroked-button class="minibutton" color="primary" (click)="invoice(order)">{{ vE.listordersInvoiceBtn }}</button>
|
<button mat-stroked-button class="minibutton" color="primary" (click)="invoice(order)">Invoice</button>
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
<button mat-stroked-button class="minibutton" color="primary" (click)="receipt(order)">{{ vE.listordersReceiptBtn }}</button>
|
<button mat-stroked-button class="minibutton" color="primary" (click)="receipt(order)">Receipt</button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</mat-expansion-panel>
|
</mat-expansion-panel>
|
||||||
</mat-accordion>
|
</mat-accordion>
|
||||||
<p class="text" *ngIf = "orders.length <= 0">{{ vE.listordersNoOrders }}</p>
|
<p class="text" *ngIf = "orders.length <= 0">No orders</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,9 +18,6 @@ import { faCheckCircle } from '@fortawesome/free-solid-svg-icons';
|
||||||
import { faHourglass } from '@fortawesome/free-solid-svg-icons';
|
import { faHourglass } from '@fortawesome/free-solid-svg-icons';
|
||||||
import { faTrash } from '@fortawesome/free-solid-svg-icons';
|
import { faTrash } from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-list-orders',
|
selector: 'app-list-orders',
|
||||||
templateUrl: './listorders.component.html',
|
templateUrl: './listorders.component.html',
|
||||||
|
@ -72,29 +69,9 @@ export class ListOrdersComponent implements OnInit, OnDestroy{
|
||||||
crmToken: ''
|
crmToken: ''
|
||||||
};
|
};
|
||||||
// -------------------------------------
|
// -------------------------------------
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
listordersBacktoshopBtn : '',
|
|
||||||
listordersExportOrders : '',
|
|
||||||
listordersTodaysTotal : '',
|
|
||||||
listordersOverallTotal : '',
|
|
||||||
listordersOrderTotal : '',
|
|
||||||
listordersOrderId : '',
|
|
||||||
listordersItemLbl : '',
|
|
||||||
listordersQtyLbl : '',
|
|
||||||
listordersTotalLbl : '',
|
|
||||||
listordersInvoiceBtn : '',
|
|
||||||
listordersReceiptBtn : '',
|
|
||||||
listordersNoOrders : '',
|
|
||||||
listordersEndDate : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
public orderService: OrderService,
|
public orderService: OrderService,
|
||||||
public userService: UserService,
|
public userService: UserService,
|
||||||
private dialog: MatDialog)
|
private dialog: MatDialog)
|
||||||
|
@ -106,7 +83,6 @@ export class ListOrdersComponent implements OnInit, OnDestroy{
|
||||||
|
|
||||||
ngOnInit(){
|
ngOnInit(){
|
||||||
// console.log('listOrders Init -->');
|
// console.log('listOrders Init -->');
|
||||||
this.chgUILanguage();
|
|
||||||
this.owner = this.userService.currentOwner();
|
this.owner = this.userService.currentOwner();
|
||||||
// console.log(this.owner.name);
|
// console.log(this.owner.name);
|
||||||
this.payConf = this.owner.payconf;
|
this.payConf = this.owner.payconf;
|
||||||
|
@ -209,32 +185,4 @@ export class ListOrdersComponent implements OnInit, OnDestroy{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('LISTORDERS.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('listorders').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.listordersBacktoshopBtn = response.data.listorders_backtoshop_btn;
|
|
||||||
this.vE.listordersExportOrders = response.data.listorders_export_orders;
|
|
||||||
this.vE.listordersTodaysTotal = response.data.listorders_todays_total;
|
|
||||||
this.vE.listordersOverallTotal = response.data.listorders_overall_total;
|
|
||||||
this.vE.listordersOrderId = response.data.listorders_order_id;
|
|
||||||
this.vE.listordersOrderTotal = response.data.listorders_order_total;
|
|
||||||
this.vE.listordersItemLbl = response.data.listorders_item_lbl;
|
|
||||||
this.vE.listordersQtyLbl = response.data.listorders_qty_lbl;
|
|
||||||
this.vE.listordersTotalLbl = response.data.listorders_total_lbl;
|
|
||||||
this.vE.listordersInvoiceBtn = response.data.listorders_invoice_btn;
|
|
||||||
this.vE.listordersReceiptBtn = response.data.listorders_receipt_btn;
|
|
||||||
this.vE.listordersNoOrders = response.data.listorders_no_orders;
|
|
||||||
this.vE.listordersEndDate = response.data.listorders_end_date;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,13 +5,10 @@ mat-card.coolcard{
|
||||||
background-color: #FF5722;
|
background-color: #FF5722;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
width: 90%;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
mat-card.centercard{
|
mat-card.centercard{
|
||||||
max-width: 450px;
|
max-width: 450px;
|
||||||
border: 1px solid #CCCCCC;
|
border: 1px solid #CCCCCC;
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
.icon{
|
.icon{
|
||||||
font-family: 'Material Icons';
|
font-family: 'Material Icons';
|
||||||
|
|
|
@ -1,42 +1,44 @@
|
||||||
<div align="center" class="text">
|
<div align="center" class="text">
|
||||||
<mat-card class="coolcard">
|
<mat-card class="coolcard">
|
||||||
<mat-card-content>
|
<img src="/assets/logo-new-white_01.png" height="120px" />
|
||||||
<img mat-card-image src="/assets/logo-new-white_01.png" height="120px" />
|
<p class="text">Last block seen: <span class="numbers">{{ heightUpdate | async }}</span></p>
|
||||||
<p class="text">{{ vE.loginLastBlock }}<span class="numbers">{{ heightUpdate | async }}</span></p>
|
|
||||||
</mat-card-content>
|
|
||||||
</mat-card>
|
</mat-card>
|
||||||
</div>
|
</div>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<mat-card class="centercard">
|
<mat-card class="centercard">
|
||||||
<h3>The Zcash Register</h3>
|
<h3>The Zcash Register</h3>
|
||||||
<mat-vertical-stepper #stepper linear>
|
<mat-vertical-stepper #stepper linear>
|
||||||
<mat-step label= "{{ vE.loginConnectToZGo }}" editable="false">
|
<mat-step label="Connect your wallet to ZGo" editable="false">
|
||||||
|
<mat-card>
|
||||||
<div align="center" id="info">
|
<div align="center" id="info">
|
||||||
|
<mat-card-actions>
|
||||||
<button mat-raised-button color="primary" (click)="login(stepper)">
|
<button mat-raised-button color="primary" (click)="login(stepper)">
|
||||||
<mat-icon class="icon">login</mat-icon><span class="bigbutton">{{ vE.loginLinkWallet }}</span>
|
<mat-icon class="icon">login</mat-icon><span class="bigbutton">Link wallet</span>
|
||||||
</button>
|
</button>
|
||||||
|
</mat-card-actions>
|
||||||
</div>
|
</div>
|
||||||
|
</mat-card>
|
||||||
</mat-step>
|
</mat-step>
|
||||||
<mat-step label="{{ vE.loginConfirmLogin }}" editable="false">
|
<mat-step label="ZGo confirms your login on the Zcash blockhain:" editable="false">
|
||||||
<p>{{barMessage}}</p>
|
<p>{{barMessage}}</p>
|
||||||
<mat-progress-bar
|
<mat-progress-bar
|
||||||
[mode]="barMode"
|
[mode]="barMode"
|
||||||
[value]="barValue">
|
[value]="barValue">
|
||||||
</mat-progress-bar>
|
</mat-progress-bar>
|
||||||
</mat-step>
|
</mat-step>
|
||||||
<mat-step label="{{ vE.loginEnterPin }}">
|
<mat-step label="Enter the PIN sent by ZGo to confirm wallet ownership:">
|
||||||
<mat-card [formGroup]="pinForm">
|
<mat-card [formGroup]="pinForm">
|
||||||
<h4>
|
<h4>
|
||||||
{{ vE.loginCheckWallet}}
|
Check your wallet
|
||||||
</h4>
|
</h4>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>PIN</mat-label>
|
<mat-label>PIN</mat-label>
|
||||||
<input matInput formControlName="pinValue">
|
<input matInput formControlName="pinValue">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<p *ngIf="pinError">{{ vE.loginWrongPin }}</p>
|
<p *ngIf="pinError">Wrong pin!</p>
|
||||||
<mat-card-actions>
|
<mat-card-actions>
|
||||||
<button mat-raised-button color="primary" [disabled]="!pinForm.valid" (click)="confirmPin()">
|
<button mat-raised-button color="primary" [disabled]="!pinForm.valid" (click)="confirmPin()">
|
||||||
{{ vE.loginConfirmPin }}
|
Confirm
|
||||||
</button>
|
</button>
|
||||||
</mat-card-actions>
|
</mat-card-actions>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|
|
@ -8,19 +8,16 @@ import { UserService } from '../user.service';
|
||||||
import { FullnodeService } from '../fullnode.service';
|
import { FullnodeService } from '../fullnode.service';
|
||||||
import { ScanComponent} from '../scan/scan.component';
|
import { ScanComponent} from '../scan/scan.component';
|
||||||
import { Tx } from '../tx.model';
|
import { Tx } from '../tx.model';
|
||||||
import { User } from '../user.model';
|
import {User} from '../user.model';
|
||||||
import { Owner } from '../owner.model';
|
import { Owner } from '../owner.model';
|
||||||
import { Subscription, Observable } from 'rxjs';
|
import { Subscription, Observable } from 'rxjs';
|
||||||
import { take } from 'rxjs/operators';
|
import { take } from 'rxjs/operators';
|
||||||
import { v4 as uuidv4 } from 'uuid';
|
import { v4 as uuidv4 } from 'uuid';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
var QRCode = require('easyqrcodejs');
|
var QRCode = require('easyqrcodejs');
|
||||||
var URLSafeBase64 = require('urlsafe-base64');
|
var URLSafeBase64 = require('urlsafe-base64');
|
||||||
var Buffer = require('buffer/').Buffer;
|
var Buffer = require('buffer/').Buffer;
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-login',
|
selector: 'app-login',
|
||||||
templateUrl: './login.component.html',
|
templateUrl: './login.component.html',
|
||||||
|
@ -71,8 +68,8 @@ export class LoginComponent implements OnInit, AfterViewInit {
|
||||||
private UserSub: Subscription = new Subscription();
|
private UserSub: Subscription = new Subscription();
|
||||||
public heightUpdate: Observable<number>;
|
public heightUpdate: Observable<number>;
|
||||||
public uZaddrUpdate: Observable<string>;
|
public uZaddrUpdate: Observable<string>;
|
||||||
public userUpdate: Observable<User>;
|
public userUpdate:Observable<User>;
|
||||||
public ownerUpdate: Observable<Owner>;
|
public ownerUpdate:Observable<Owner>;
|
||||||
public txsUpdate: Observable<Tx[]>;
|
public txsUpdate: Observable<Tx[]>;
|
||||||
prompt: boolean = false;
|
prompt: boolean = false;
|
||||||
confirmedMemo: boolean = false;
|
confirmedMemo: boolean = false;
|
||||||
|
@ -85,21 +82,7 @@ export class LoginComponent implements OnInit, AfterViewInit {
|
||||||
entryForm: UntypedFormGroup;
|
entryForm: UntypedFormGroup;
|
||||||
pinForm: UntypedFormGroup;
|
pinForm: UntypedFormGroup;
|
||||||
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
loginConfirmLogin : '',
|
|
||||||
loginConnectToZGo : '',
|
|
||||||
loginEnterPin : '',
|
|
||||||
loginLastBlock : '',
|
|
||||||
loginLinkWallet : '',
|
|
||||||
loginCheckWallet : '',
|
|
||||||
loginWrongPin : '',
|
|
||||||
loginConfirmPin : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------
|
|
||||||
constructor(
|
constructor(
|
||||||
private fb: UntypedFormBuilder,
|
private fb: UntypedFormBuilder,
|
||||||
private activatedRoute: ActivatedRoute,
|
private activatedRoute: ActivatedRoute,
|
||||||
|
@ -107,10 +90,8 @@ export class LoginComponent implements OnInit, AfterViewInit {
|
||||||
private router: Router,
|
private router: Router,
|
||||||
public userService: UserService,
|
public userService: UserService,
|
||||||
private dialog: MatDialog,
|
private dialog: MatDialog,
|
||||||
private _changeDetectorRef: ChangeDetectorRef,
|
private _changeDetectorRef: ChangeDetectorRef
|
||||||
private languageService: LanguageService
|
|
||||||
){
|
){
|
||||||
|
|
||||||
//this.fullnodeService.getAddr();
|
//this.fullnodeService.getAddr();
|
||||||
this.entryForm = fb.group({
|
this.entryForm = fb.group({
|
||||||
selectedSession: [0.001, Validators.required]
|
selectedSession: [0.001, Validators.required]
|
||||||
|
@ -135,7 +116,6 @@ export class LoginComponent implements OnInit, AfterViewInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngAfterViewInit(){
|
ngAfterViewInit(){
|
||||||
|
|
||||||
//console.log('Step', this.myStepper);
|
//console.log('Step', this.myStepper);
|
||||||
this.pinError = false;
|
this.pinError = false;
|
||||||
//console.log('Activated route data in Component:::', this.activatedRoute.data);
|
//console.log('Activated route data in Component:::', this.activatedRoute.data);
|
||||||
|
@ -155,7 +135,6 @@ export class LoginComponent implements OnInit, AfterViewInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(){
|
ngOnInit(){
|
||||||
this.chgUILanguage();
|
|
||||||
this.intervalHolder = setInterval(() => {
|
this.intervalHolder = setInterval(() => {
|
||||||
this.fullnodeService.getHeight();
|
this.fullnodeService.getHeight();
|
||||||
//this.userService.findUser();
|
//this.userService.findUser();
|
||||||
|
@ -227,26 +206,4 @@ export class LoginComponent implements OnInit, AfterViewInit {
|
||||||
this.UserSub.unsubscribe();
|
this.UserSub.unsubscribe();
|
||||||
clearInterval(this.intervalHolder);
|
clearInterval(this.intervalHolder);
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('LOGIN.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('login').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.loginLastBlock = response.data.login_last_block;
|
|
||||||
this.vE.loginConnectToZGo = response.data.login_connect_to_zgo;
|
|
||||||
this.vE.loginLinkWallet = response.data.login_link_wallet;
|
|
||||||
this.vE.loginConfirmLogin = response.data.login_confirm_login;
|
|
||||||
this.vE.loginEnterPin = response.data.login_enter_pin;
|
|
||||||
this.vE.loginCheckWallet = response.data.login_check_wallet;
|
|
||||||
this.vE.loginWrongPin = response.data.login_wrong_pin;
|
|
||||||
this.vE.loginConfirmPin = response.data.login_confirm_pin;
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { MatSnackBar, MatSnackBarHorizontalPosition,
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
||||||
MatSnackBarVerticalPosition } from '@angular/material/snack-bar';
|
|
||||||
import { NotifierComponent } from './notifier/notifier.component';
|
import { NotifierComponent } from './notifier/notifier.component';
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
|
@ -8,23 +7,18 @@ import { NotifierComponent } from './notifier/notifier.component';
|
||||||
})
|
})
|
||||||
export class NotifierService {
|
export class NotifierService {
|
||||||
|
|
||||||
constructor(public snackBar:MatSnackBar,
|
constructor(private snackBar:MatSnackBar) { }
|
||||||
) { }
|
|
||||||
|
|
||||||
showNotification(displayMessage:string,
|
showNotification(displayMessage:string, buttonText: string, messageType: 'error' | 'success' | 'warning') {
|
||||||
buttonText: string,
|
|
||||||
messageType: 'error' | 'success' | 'warning',
|
|
||||||
messageTypeStr : string = '') {
|
|
||||||
this.snackBar.openFromComponent(NotifierComponent, {
|
this.snackBar.openFromComponent(NotifierComponent, {
|
||||||
data: {
|
data: {
|
||||||
message: displayMessage,
|
message: displayMessage,
|
||||||
buttonText: buttonText,
|
buttonText: buttonText,
|
||||||
type : messageType,
|
type : messageType
|
||||||
typelbl : messageTypeStr
|
|
||||||
},
|
},
|
||||||
duration: 4000,
|
duration: 4000,
|
||||||
verticalPosition: 'top',
|
verticalPosition: 'top',
|
||||||
panelClass: [messageType],
|
panelClass: [messageType]
|
||||||
});
|
});
|
||||||
this.playSound();
|
this.playSound();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,42 +1,37 @@
|
||||||
|
|
||||||
.notifier {
|
.notifier {
|
||||||
margin-top: 10px;
|
font-family: 'Spartan', sans-serif;
|
||||||
font-family: 'Spartan' sans-serif;
|
color: black;
|
||||||
|
font-size: 16px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notifier-type {
|
||||||
|
border: 2px solid;
|
||||||
|
border-color: lightcoral;
|
||||||
|
background: #ff5722;
|
||||||
|
font-size: 26px;
|
||||||
|
font-weight: 700;
|
||||||
|
height: 30px;
|
||||||
|
color: white;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
vertical-align: center;
|
vertical-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notifier-type {
|
::ng-deep .mat-snack-bar-container.error {
|
||||||
font-size: 30px;
|
background: navajowhite;
|
||||||
font-weight: 700;
|
|
||||||
height: 40px;
|
|
||||||
color: #ff5722;
|
|
||||||
}
|
|
||||||
|
|
||||||
.notifier-msg {
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 700;
|
|
||||||
color: black;
|
|
||||||
height: 60px;
|
|
||||||
margin-bottom: 20 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
::ng-deep .mat-mdc-snack-bar-container.error {
|
|
||||||
--mdc-snackbar-container-color: navajowhite;
|
|
||||||
background-color: navajowhite;
|
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
::ng-deep .mat-mdc-snack-bar-container.success {
|
::ng-deep .mat-snack-bar-container.success {
|
||||||
--mdc-snackbar-container-color: whitesmoke;
|
background: whitesmoke;
|
||||||
background-color: whitesmoke;
|
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
::ng-deep .mat-mdc-snack-bar-container.warning {
|
::ng-deep .mat-snack-bar-container.warning {
|
||||||
--mdc-snackbar-container-color: antiquewhite;
|
background: antiquewhite;
|
||||||
background-color: antiquewhite;
|
|
||||||
color: black;
|
color: black;
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,10 +1,11 @@
|
||||||
<div class="notifier">
|
|
||||||
|
<div class="notifier" >
|
||||||
<div class="notifier-type">
|
<div class="notifier-type">
|
||||||
{{ data.typelbl | titlecase }}
|
{{ data.type | titlecase }}
|
||||||
</div>
|
</div>
|
||||||
<div class="notifier-msg">
|
<p>
|
||||||
{{ data.message }}
|
{{ data.message }}
|
||||||
</div>
|
</p>
|
||||||
<div >
|
<div >
|
||||||
<button mat-flat-button (click)="sbRef.dismiss()"
|
<button mat-flat-button (click)="sbRef.dismiss()"
|
||||||
style="justify-content: center;
|
style="justify-content: center;
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { MAT_SNACK_BAR_DATA, MatSnackBarRef } from '@angular/material/snack-bar'
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-notifier',
|
selector: 'app-notifier',
|
||||||
templateUrl: './notifier.component.html',
|
templateUrl: './notifier.component.html',
|
||||||
styleUrls: ['./notifier.component.css'],
|
styleUrls: ['./notifier.component.css']
|
||||||
})
|
})
|
||||||
|
|
||||||
export class NotifierComponent implements OnInit {
|
export class NotifierComponent implements OnInit {
|
||||||
|
@ -15,7 +15,6 @@ export class NotifierComponent implements OnInit {
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,8 +55,8 @@ img.icon{
|
||||||
background-color: #ff5722;
|
background-color: #ff5722;
|
||||||
color: white;
|
color: white;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
height: 30px !important;
|
height: 25px !important;
|
||||||
width: 115px !important;
|
width: 80px !important;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -67,8 +67,8 @@ img.icon{
|
||||||
.button-cancel-class {
|
.button-cancel-class {
|
||||||
font-family: 'Spartan', sans-serif;
|
font-family: 'Spartan', sans-serif;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
height: 30px !important;
|
height: 25px !important;
|
||||||
width: 100px !important;
|
width: 80px !important;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="noOrderMsg"
|
<div class="noOrderMsg"
|
||||||
*ngIf="order.address.length == 0">
|
*ngIf="order.address.length == 0">
|
||||||
{{ vE.orderNoOpenorder }}
|
No open order!
|
||||||
</div>
|
</div>
|
||||||
<mat-card style="margin-top: 10px;" *ngIf="order.address.length" >
|
<mat-card style="margin-top: 10px;" *ngIf="order.address.length" >
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
<table style="width: 100%;"
|
<table style="width: 100%;"
|
||||||
cellspacing="0">
|
cellspacing="0">
|
||||||
<tr class="newOrderTitle1">
|
<tr class="newOrderTitle1">
|
||||||
<td width="50%">{{ vE.orderTotalTitle }}</td>
|
<td width="50%">Order Total:</td>
|
||||||
<td align="right"
|
<td align="right"
|
||||||
width="50%">
|
width="50%">
|
||||||
<img class="icon" src="/assets/zec_rv.png"
|
<img class="icon" src="/assets/zec_rv.png"
|
||||||
|
@ -36,15 +36,15 @@
|
||||||
<tr style="background: lightblue;">
|
<tr style="background: lightblue;">
|
||||||
<th class="newOrdertbheader"
|
<th class="newOrdertbheader"
|
||||||
style="text-align: left;"
|
style="text-align: left;"
|
||||||
width="50%">{{ vE.orderItemLbl }}
|
width="50%">Item
|
||||||
</th>
|
</th>
|
||||||
<th class="newOrdertbheader"
|
<th class="newOrdertbheader"
|
||||||
style="text-align: left;"
|
style="text-align: left;"
|
||||||
width="15%">{{ vE.orderQtyLbl }}.
|
width="15%">Qty.
|
||||||
</th>
|
</th>
|
||||||
<th class="newOrdertbheader"
|
<th class="newOrdertbheader"
|
||||||
style="text-align: right;"
|
style="text-align: right;"
|
||||||
width="30%">{{ vE.orderTotalLbl }}
|
width="30%">Total
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="container" style="margin: 2px;
|
<div class="container" style="margin: 2px;
|
||||||
height: 40px;
|
height: 35px;
|
||||||
background: lightblue;
|
background: lightblue;
|
||||||
border-top: 2px solid lightgray;
|
border-top: 2px solid lightgray;
|
||||||
border-bottom: 2px solid lightgray;
|
border-bottom: 2px solid lightgray;
|
||||||
|
@ -89,26 +89,28 @@
|
||||||
<mat-card-actions>
|
<mat-card-actions>
|
||||||
-->
|
-->
|
||||||
<table style="margin-top: 4px;" cellspacing="0" width="100%">
|
<table style="margin-top: 4px;" cellspacing="0" width="100%">
|
||||||
<tr style="height: 30px;
|
<tr style="height: 16px;
|
||||||
margin-top: 10px">
|
margin-top: 10px">
|
||||||
<td>
|
<td>
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
class="button-cancel-class"
|
class="button-cancel-class"
|
||||||
(click)="cancelOrder()">
|
(click)="cancelOrder()">
|
||||||
{{ vE.orderCancelBtn }}
|
Cancel
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
class="buttons-class"
|
class="buttons-class"
|
||||||
(click)="invoice()">
|
(click)="invoice()">
|
||||||
<fa-icon [icon]="faInvoice" ></fa-icon> {{vE.orderInvoiceBtn}}</button>
|
<fa-icon [icon]="faInvoice" ></fa-icon> Invoice
|
||||||
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
|
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
class="buttons-class"
|
class="buttons-class"
|
||||||
(click)="checkout()">{{vE.orderCheckoutBtn}}
|
(click)="checkout()">
|
||||||
|
Checkout
|
||||||
</button>
|
</button>
|
||||||
<!--
|
<!--
|
||||||
<button mat-raised-button class="text" color="primary" (click)="checkout()">Checkout</button>
|
<button mat-raised-button class="text" color="primary" (click)="checkout()">Checkout</button>
|
||||||
|
|
|
@ -19,9 +19,6 @@ import { faSignOut } from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
import { NotifierService } from '../notifier.service';
|
import { NotifierService } from '../notifier.service';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-order',
|
selector: 'app-order',
|
||||||
templateUrl: './order.component.html',
|
templateUrl: './order.component.html',
|
||||||
|
@ -68,31 +65,9 @@ export class OrderComponent implements OnInit{
|
||||||
faChevronRight = faChevronRight;
|
faChevronRight = faChevronRight;
|
||||||
faSignOut = faSignOut;
|
faSignOut = faSignOut;
|
||||||
// -------------------------------------
|
// -------------------------------------
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
orderNoOpenorder : '',
|
|
||||||
orderCancelOrder : '',
|
|
||||||
orderConfirmCancel : '',
|
|
||||||
orderRemoveItem : '',
|
|
||||||
orderConfirmRemove : '',
|
|
||||||
orderConfirmRemove1 : '',
|
|
||||||
orderCancelOk : '',
|
|
||||||
orderNotservClose : '',
|
|
||||||
orderNotservSuccess : '',
|
|
||||||
orderTotalTitle : '',
|
|
||||||
orderItemLbl : '',
|
|
||||||
orderQtyLbl : '',
|
|
||||||
orderTotalLbl : '',
|
|
||||||
orderCancelBtn : '',
|
|
||||||
orderInvoiceBtn : '',
|
|
||||||
orderCheckoutBtn : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
public fullnodeService: FullnodeService,
|
public fullnodeService: FullnodeService,
|
||||||
public orderService: OrderService,
|
public orderService: OrderService,
|
||||||
private dialog: MatDialog,
|
private dialog: MatDialog,
|
||||||
|
@ -136,7 +111,6 @@ export class OrderComponent implements OnInit{
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cancelOrder() {
|
cancelOrder() {
|
||||||
|
@ -144,8 +118,7 @@ export class OrderComponent implements OnInit{
|
||||||
|
|
||||||
dialogConfig.disableClose = true;
|
dialogConfig.disableClose = true;
|
||||||
dialogConfig.autoFocus = true;
|
dialogConfig.autoFocus = true;
|
||||||
dialogConfig.data = {title: this.vE.orderCancelOrder,
|
dialogConfig.data = {title: 'Cancel Order?', msg: 'Are you sure you want to cancel the order?'};
|
||||||
msg: this.vE.orderConfirmCancel };
|
|
||||||
|
|
||||||
const dialogRef = this.dialog.open(CancelComponent, dialogConfig);
|
const dialogRef = this.dialog.open(CancelComponent, dialogConfig);
|
||||||
dialogRef.afterClosed().subscribe((val) => {
|
dialogRef.afterClosed().subscribe((val) => {
|
||||||
|
@ -154,10 +127,8 @@ export class OrderComponent implements OnInit{
|
||||||
this.orderService.cancelOrder(this.order._id!).subscribe((response) => {
|
this.orderService.cancelOrder(this.order._id!).subscribe((response) => {
|
||||||
this.orderService.getOrder();
|
this.orderService.getOrder();
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.orderCancelOk,
|
.showNotification("Order successfully cancelled!",
|
||||||
this.vE.orderNotservClose,
|
"Close","success");
|
||||||
'success',
|
|
||||||
this.vE.orderNotservSuccess);
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
console.log('Returning to page');
|
console.log('Returning to page');
|
||||||
|
@ -251,10 +222,10 @@ export class OrderComponent implements OnInit{
|
||||||
|
|
||||||
dialogConfig.disableClose = true;
|
dialogConfig.disableClose = true;
|
||||||
dialogConfig.autoFocus = true;
|
dialogConfig.autoFocus = true;
|
||||||
dialogConfig.data = {title: this.vE.orderRemoveItem,
|
dialogConfig.data = {title: 'Remove Item?',
|
||||||
msg: this.vE.orderConfirmRemove +
|
msg: 'Are you sure you want to remove <<' +
|
||||||
item.name + ' x ' + item.qty +
|
item.name + ' x ' + item.qty +
|
||||||
this.vE.orderConfirmRemove1 };
|
'>> from this order?'};
|
||||||
const dialogRef = this.dialog.open(CancelComponent, dialogConfig);
|
const dialogRef = this.dialog.open(CancelComponent, dialogConfig);
|
||||||
dialogRef.afterClosed().subscribe((val) => {
|
dialogRef.afterClosed().subscribe((val) => {
|
||||||
if (val) {
|
if (val) {
|
||||||
|
@ -269,41 +240,12 @@ export class OrderComponent implements OnInit{
|
||||||
this.orderService.getOrder();
|
this.orderService.getOrder();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
console.log('Returning to order');
|
console.log('Returning to order');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('ORDER.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('order').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.orderNoOpenorder = response.data.order_no_openorder;
|
|
||||||
this.vE.orderCancelOrder = response.data.order_cancel_order;
|
|
||||||
this.vE.orderConfirmCancel = response.data.order_confirm_cancel;
|
|
||||||
this.vE.orderRemoveItem = response.data.order_remove_item;
|
|
||||||
this.vE.orderConfirmRemove = response.data.order_confirm_remove;
|
|
||||||
this.vE.orderConfirmRemove1 = response.data.order_confirm_remove1;
|
|
||||||
this.vE.orderCancelOk = response.data.order_cancel_ok;
|
|
||||||
this.vE.orderNotservClose = response.data.order_notserv_close;
|
|
||||||
this.vE.orderNotservSuccess = response.data.order_notserv_success;
|
|
||||||
this.vE.orderTotalTitle = response.data.order_total_title;
|
|
||||||
this.vE.orderItemLbl = response.data.order_item_lbl;
|
|
||||||
this.vE.orderQtyLbl = response.data.order_qty_lbl;
|
|
||||||
this.vE.orderTotalLbl = response.data.order_total_lbl;
|
|
||||||
this.vE.orderCancelBtn = response.data.order_cancel_btn;
|
|
||||||
this.vE.orderInvoiceBtn = response.data.order_invoice_btn;
|
|
||||||
this.vE.orderCheckoutBtn = response.data.order_checkout_btn;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
<div style="font-weight: 700;
|
<div style="font-weight: 700;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
{{ vE.pmtserviceInvalidOwnerid }}
|
Invalid Owner ID!!
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 40px;">
|
<div style="height: 40px;">
|
||||||
</div>
|
</div>
|
||||||
{{ vE.pmtservicePaymentNotprocessed }}
|
Payment request was not processed!!
|
||||||
<div style="height: 20px;">
|
<div style="height: 20px;">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -26,13 +26,13 @@
|
||||||
<div style="font-weight: 700;
|
<div style="font-weight: 700;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
{{ vE.pmtservicePmtsrvNot }}<br>
|
Payment service not<br>
|
||||||
{{ vE.pmtserviceEnabledFor }}<br>
|
enabled for<br>
|
||||||
{{ owner.name}}
|
{{ owner.name}}
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 40px;">
|
<div style="height: 40px;">
|
||||||
</div>
|
</div>
|
||||||
{{ vE.pmtservicePaymentNotprocessed }}
|
Payment request was not processed!!
|
||||||
<div style="height: 20px;">
|
<div style="height: 20px;">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -43,12 +43,11 @@
|
||||||
<div style="font-weight: 700;
|
<div style="font-weight: 700;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
{{ vE.pmtserviceConnectoXero }}<br>
|
Connection to Xero<br>server failed!!
|
||||||
{{ vE.pmtserviceServerFailed }}
|
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 40px;">
|
<div style="height: 40px;">
|
||||||
</div>
|
</div>
|
||||||
{{ vE.pmtservicePaymentNotprocessed }}
|
Payment request was not processed!!
|
||||||
<div style="height: 20px;">
|
<div style="height: 20px;">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -59,11 +58,11 @@
|
||||||
<div style="font-weight: 700;
|
<div style="font-weight: 700;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
{{ vE.pmtserviceInvoiceNum }}<br>{{ pmtData.invoice }}<br>{{ vE.pmtserviceInvoiceNotfound }}
|
Invoice<br>{{ pmtData.invoice }}<br>not found!!
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 40px;">
|
<div style="height: 40px;">
|
||||||
</div>
|
</div>
|
||||||
{{ vE.pmtservicePaymentNotprocessed }}
|
Payment request was not processed!!
|
||||||
<div style="height: 20px;">
|
<div style="height: 20px;">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -74,11 +73,11 @@
|
||||||
<div style="font-weight: 700;
|
<div style="font-weight: 700;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
{{ vE.pmtserviceInvoiceNum }}<br>{{ pmtData.invoice }}<br>{{ vE.pmtserviceInvoiceInvalid }}
|
Invoice<br>{{ pmtData.invoice }}<br>type invalid!!
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 40px;">
|
<div style="height: 40px;">
|
||||||
</div>
|
</div>
|
||||||
{{ vE.pmtservicePaymentNotprocessed }}
|
Payment request was not processed!!
|
||||||
<div style="height: 20px;">
|
<div style="height: 20px;">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -89,11 +88,11 @@
|
||||||
<div style="font-weight: 700;
|
<div style="font-weight: 700;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
{{ vE.pmtserviceInvoiceNum }}<br>{{ pmtData.invoice }}<br>{{ vE.pmtserviceInvoicePaid }}
|
Invoice <br>{{ pmtData.invoice }}<br>already paid!!
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 40px;">
|
<div style="height: 40px;">
|
||||||
</div>
|
</div>
|
||||||
{{ vE.pmtservicePaymentNotprocessed }}
|
Payment request was not processed!!
|
||||||
<div style="height: 20px;">
|
<div style="height: 20px;">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -104,11 +103,11 @@
|
||||||
<div style="font-weight: 700;
|
<div style="font-weight: 700;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
{{ vE.pmtserviceInvoiceCurrency }}<br>[ {{ pmtData.currency }} ]<br>{{ vE.pmtserviceCurrencyNotsup }}
|
Currency <br>[ {{ pmtData.currency }} ]<br>not supported!!
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 40px;">
|
<div style="height: 40px;">
|
||||||
</div>
|
</div>
|
||||||
{{ vE.pmtservicePaymentNotprocessed }}
|
Payment request was not processed!!
|
||||||
<div style="height: 20px;">
|
<div style="height: 20px;">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -119,27 +118,27 @@
|
||||||
<div style="font-weight: 700;
|
<div style="font-weight: 700;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
{{ vE.pmtserviceAmountDoesnot }}<br>
|
Amount does not<br>
|
||||||
{{ vE.pmtserviceMatchValue }}<br>
|
match value<br>
|
||||||
{{ vE.pmtserviceReportedByxero }}
|
reported by Xero!!
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 40px;">
|
<div style="height: 40px;">
|
||||||
</div>
|
</div>
|
||||||
{{ vE.pmtservicePaymentNotprocessed }}
|
Payment request was not processed!!
|
||||||
<div style="height: 20px;">
|
<div style="height: 20px;">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="invoiceDetail"
|
<div class="invoiceDetail"
|
||||||
*ngIf="reportType==0"
|
*ngIf="reportType==0"
|
||||||
id="invoice">
|
id="invoice">
|
||||||
<div class="invoiceHdrTxt1">{{ vE.pmtserviceHdrTxt1 }}</div>
|
<div class="invoiceHdrTxt1">Invoice</div>
|
||||||
<div class="invoiceHdrTxt2">{{ vE.pmtserviceHdrTxt2 }}{{orderId}}</div>
|
<div class="invoiceHdrTxt2">Order ID: {{orderId}}</div>
|
||||||
<div class="invoiceHdrTxt3">{{ vE.pmtserviceHdrTxt3 }}{{order.timestamp | date}}
|
<div class="invoiceHdrTxt3">Date:{{order.timestamp | date}}
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 10px;"></div>
|
<div style="height: 10px;"></div>
|
||||||
<div class="zecData">{{ vE.pmtserviceZecdataPrice }}{{order.price | number: '1.02' | currency: order.currency.toUpperCase()}}</div>
|
<div class="zecData">Zcash Price: {{order.price | number: '1.02' | currency: order.currency.toUpperCase()}}</div>
|
||||||
<div style="height: 2px;"></div>
|
<div style="height: 2px;"></div>
|
||||||
<div class="zecData">{{ vE.pmtserviceZecdataTotal }}<img class="zecSign" src="/assets/zec_rv.png" />{{order.totalZec | number: '1.08'}}
|
<div class="zecData">Total: <img class="zecSign" src="/assets/zec_rv.png" />{{order.totalZec | number: '1.08'}}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div style="height: 10px;"></div>
|
<div style="height: 10px;"></div>
|
||||||
|
@ -148,15 +147,15 @@
|
||||||
<tr class="invoice-title">
|
<tr class="invoice-title">
|
||||||
<th width="55%"
|
<th width="55%"
|
||||||
class="detailTitle1">
|
class="detailTitle1">
|
||||||
{{ vE.pmtserviceInvoiceItem }}
|
Item
|
||||||
</th>
|
</th>
|
||||||
<th width="15%"
|
<th width="15%"
|
||||||
class="detailTitle1">
|
class="detailTitle1">
|
||||||
{{ vE.pmtserviceInvoiceQty }}
|
Qty.
|
||||||
</th>
|
</th>
|
||||||
<th width="30%"
|
<th width="30%"
|
||||||
class="detailTitle2">
|
class="detailTitle2">
|
||||||
{{ vE.pmtserviceInvoicePrice }} ({{order.currency.toUpperCase()}})
|
Price ({{order.currency.toUpperCase()}})
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="invoice-detail"
|
<tr class="invoice-detail"
|
||||||
|
@ -177,7 +176,7 @@
|
||||||
<tr class="invoice-title">
|
<tr class="invoice-title">
|
||||||
<th width="55%"
|
<th width="55%"
|
||||||
class="detailLineRight">
|
class="detailLineRight">
|
||||||
{{ vE.pmtserviceInvoiceTotal }}
|
Invoice Total:
|
||||||
</th>
|
</th>
|
||||||
<th width="15%"
|
<th width="15%"
|
||||||
class="detailLineLeft">
|
class="detailLineLeft">
|
||||||
|
@ -199,10 +198,10 @@
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
<p *ngIf="order.paid">
|
<p *ngIf="order.paid">
|
||||||
<fa-icon [icon]="faCheck"
|
<fa-icon [icon]="faCheck"
|
||||||
color="primary"></fa-icon> {{ vE.pmtservicePaymentConfirmed }}</p>
|
color="primary"></fa-icon> Payment confirmed</p>
|
||||||
<p *ngIf="!order.paid">
|
<p *ngIf="!order.paid">
|
||||||
<fa-icon [style]="getIconStyle(order)"
|
<fa-icon [style]="getIconStyle(order)"
|
||||||
[icon]="faHourglass"></fa-icon> {{ vE.pmtservicePaymentPending }}</p>
|
[icon]="faHourglass"></fa-icon> Payment pending!!</p>
|
||||||
</td>
|
</td>
|
||||||
<td width="25%">
|
<td width="25%">
|
||||||
<div style="text-align: right;"
|
<div style="text-align: right;"
|
||||||
|
@ -217,7 +216,7 @@
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
text-align: center;">
|
text-align: center;">
|
||||||
{{ vE.pmtserviceScanQrcode }}
|
Scan the QR code with your wallet to make payment
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align: center;
|
<div style="text-align: center;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
@ -225,7 +224,7 @@
|
||||||
<div style="font-family: 'Spartan';
|
<div style="font-family: 'Spartan';
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 20px;">
|
line-height: 20px;">
|
||||||
{{ vE.pmtserviceCantScan }}<br>{{ vE.pmtserviceUseThis }}<a [href]="zcashUrl">{{ vE.pmtserviceWalletLink }}</a>, or
|
Can't scan?<br>Use this <a [href]="zcashUrl">wallet link</a>, or
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex;
|
<div style="display: flex;
|
||||||
justify-content: space-between;">
|
justify-content: space-between;">
|
||||||
|
@ -233,18 +232,18 @@
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
background-color: lightgray;"
|
background-color: lightgray;"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
(click)="copyAddress()">{{ vE.pmtserviceCopyAddress }}</button>
|
(click)="copyAddress()">Copy Address</button>
|
||||||
<button style="margin-top: 20px;
|
<button style="margin-top: 20px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
background-color: lightgray;"
|
background-color: lightgray;"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
(click)="copyAmount()">{{ vE.pmtserviceCopyAmount }}</button>
|
(click)="copyAmount()">Copy Amount</button>
|
||||||
</div>
|
</div>
|
||||||
<button style="margin-top: 20px;
|
<button style="margin-top: 20px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
background-color: lightgray;"
|
background-color: lightgray;"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
(click)="copyMemo()">{{ vE.pmtserviceCopyMemo }}</button>
|
(click)="copyMemo()">Copy Memo</button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -16,9 +16,6 @@ var QRCode = require('easyqrcodejs');
|
||||||
var URLSafeBase64 = require('urlsafe-base64');
|
var URLSafeBase64 = require('urlsafe-base64');
|
||||||
var Buffer = require('buffer/').Buffer;
|
var Buffer = require('buffer/').Buffer;
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-pmtservice',
|
selector: 'app-pmtservice',
|
||||||
templateUrl: './pmtservice.component.html',
|
templateUrl: './pmtservice.component.html',
|
||||||
|
@ -117,56 +114,11 @@ public order: Order = {
|
||||||
name: string = '';
|
name: string = '';
|
||||||
error: boolean = false;
|
error: boolean = false;
|
||||||
orderId : string = '';
|
orderId : string = '';
|
||||||
// -------------------------------------
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
pmtserviceInvalidOwnerid : '',
|
|
||||||
pmtserviceNotservClose : '',
|
|
||||||
pmtserviceNotservError : '',
|
|
||||||
pmtserviceCopyNotavail : '',
|
|
||||||
pmtserviceCopyaddressError : '',
|
|
||||||
pmtserviceCopyamountError : '',
|
|
||||||
pmtserviceCopymemoError : '',
|
|
||||||
pmtservicePaymentNotprocessed : '',
|
|
||||||
pmtservicePmtsrvNot : '',
|
|
||||||
pmtserviceEnabledFor : '',
|
|
||||||
pmtserviceConnectoXero : '',
|
|
||||||
pmtserviceServerFailed : '',
|
|
||||||
pmtserviceInvoiceNum : '',
|
|
||||||
pmtserviceInvoiceNotfound : '',
|
|
||||||
pmtserviceInvoiceInvalid : '',
|
|
||||||
pmtserviceInvoicePaid : '',
|
|
||||||
pmtserviceInvoiceCurrency : '',
|
|
||||||
pmtserviceCurrencyNotsup : '',
|
|
||||||
pmtserviceAmountDoesnot : '',
|
|
||||||
pmtserviceMatchValue : '',
|
|
||||||
pmtserviceReportedByxero : '',
|
|
||||||
pmtserviceHdrTxt1 : '',
|
|
||||||
pmtserviceHdrTxt2 : '',
|
|
||||||
pmtserviceHdrTxt3 : '',
|
|
||||||
pmtserviceZecdataPrice : '',
|
|
||||||
pmtserviceZecdataTotal : '',
|
|
||||||
pmtserviceInvoiceItem : '',
|
|
||||||
pmtserviceInvoiceQty : '',
|
|
||||||
pmtserviceInvoicePrice : '',
|
|
||||||
pmtserviceInvoiceTotal : '',
|
|
||||||
pmtservicePaymentConfirmed : '',
|
|
||||||
pmtservicePaymentPending : '',
|
|
||||||
pmtserviceScanQrcode : '',
|
|
||||||
pmtserviceCantScan : '',
|
|
||||||
pmtserviceUseThis : '',
|
|
||||||
pmtserviceWalletLink : '',
|
|
||||||
pmtserviceCopyAddress : '',
|
|
||||||
pmtserviceCopyAmount : '',
|
|
||||||
pmtserviceCopyMemo : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
constructor(private activatedRoute : ActivatedRoute,
|
constructor(private activatedRoute : ActivatedRoute,
|
||||||
private http : HttpClient,
|
private http : HttpClient,
|
||||||
private sanitizer: DomSanitizer,
|
private sanitizer: DomSanitizer,
|
||||||
private notifierService : NotifierService,
|
private notifierService : NotifierService ) {}
|
||||||
private languageService : LanguageService ) {}
|
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
var auth = 'Basic ' + Buffer.from(ConfigData.UsrPwd).toString('base64');
|
var auth = 'Basic ' + Buffer.from(ConfigData.UsrPwd).toString('base64');
|
||||||
|
@ -177,9 +129,11 @@ vE = {
|
||||||
this.pmtData.amount = params["amount"];
|
this.pmtData.amount = params["amount"];
|
||||||
this.pmtData.currency = params["currency"];
|
this.pmtData.currency = params["currency"];
|
||||||
this.pmtData.shortcode = params["shortCode"];
|
this.pmtData.shortcode = params["shortCode"];
|
||||||
|
// console.log(this.pmtData);
|
||||||
|
|
||||||
this.getInvoiceData( this.pmtData );
|
this.getInvoiceData( this.pmtData );
|
||||||
});
|
});
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getInvoiceData( reqData : PmtData ) {
|
getInvoiceData( reqData : PmtData ) {
|
||||||
|
@ -309,6 +263,7 @@ vE = {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
createOrder() {
|
createOrder() {
|
||||||
this.reportType = 0;
|
this.reportType = 0;
|
||||||
// console.log('Starting order generation');
|
// console.log('Starting order generation');
|
||||||
|
@ -347,7 +302,7 @@ vE = {
|
||||||
|
|
||||||
// console.log('Generating QRCode....')
|
// console.log('Generating QRCode....')
|
||||||
|
|
||||||
this.codeString = `zcash:${this.order.address}?amount=${this.order.totalZec.toFixed(8)}&memo=${URLSafeBase64.encode(Buffer.from('ZGo Order::'.concat(this.orderId).concat(' Invoice: ').concat(orderData.order.externalInvoice)))}`;
|
this.codeString = `zcash:${this.order.address}?amount=${this.order.totalZec.toFixed(8)}&memo=${URLSafeBase64.encode(Buffer.from('ZGo Order::'.concat(this.orderId)))}`;
|
||||||
|
|
||||||
var qrcode = new QRCode(document.getElementById("payment-qr"), {
|
var qrcode = new QRCode(document.getElementById("payment-qr"), {
|
||||||
text: this.codeString,
|
text: this.codeString,
|
||||||
|
@ -359,6 +314,7 @@ vE = {
|
||||||
correctLevel: QRCode.CorrectLevel.H
|
correctLevel: QRCode.CorrectLevel.H
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.codeString = `zcash:${this.order.address}?amount=${this.order.totalZec.toFixed(8)}&memo=${URLSafeBase64.encode(Buffer.from('ZGo Order::'.concat(this.orderId)))}`;
|
||||||
this.zcashUrl = this.sanitizer.bypassSecurityTrustUrl(this.codeString);
|
this.zcashUrl = this.sanitizer.bypassSecurityTrustUrl(this.codeString);
|
||||||
}, error => {
|
}, error => {
|
||||||
console.log(error.message);
|
console.log(error.message);
|
||||||
|
@ -393,19 +349,13 @@ vE = {
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
// alert("Copy functionality not supported");
|
// alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.pmtserviceCopyNotavail,
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.pmtserviceNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.pmtserviceNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.order.address);
|
navigator.clipboard.writeText(this.order.address);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.pmtserviceCopyaddressError,
|
.showNotification("Error copying address","Close","error");
|
||||||
this.vE.pmtserviceNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.pmtserviceNotservError);
|
|
||||||
// console.error("Error", err);
|
// console.error("Error", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -413,19 +363,13 @@ vE = {
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
// alert("Copy functionality not supported");
|
// alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.pmtserviceCopyNotavail,
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.pmtserviceNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.pmtserviceNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.order.totalZec.toString());
|
navigator.clipboard.writeText(this.order.totalZec.toString());
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.pmtserviceCopyamountError,
|
.showNotification("Error while copying ammount","Close","error");
|
||||||
this.vE.pmtserviceNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.pmtserviceNotservError);
|
|
||||||
// console.error("Error", err);
|
// console.error("Error", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -434,75 +378,14 @@ vE = {
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
// alert("Copy functionality not supported");
|
// alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.pmtserviceCopyNotavail,
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.pmtserviceNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.pmtserviceNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText("ZGo Order::" + this.orderId + " Invoice: " + this.order.externalInvoice);
|
navigator.clipboard.writeText("ZGo Order::" + this.orderId);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.pmtserviceCopymemoError,
|
.showNotification("Error while copying Memo","Close","error");
|
||||||
this.vE.pmtserviceNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.pmtserviceNotservError);
|
|
||||||
// console.error("Error", err);
|
// console.error("Error", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('PMTSERVICE.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('pmtservice').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.pmtserviceInvalidOwnerid = response.data.pmtservice_invalid_ownerid;
|
|
||||||
this.vE.pmtserviceNotservClose = response.data.pmtservice_notserv_close;
|
|
||||||
this.vE.pmtserviceNotservError = response.data.pmtservice_notserv_error;
|
|
||||||
this.vE.pmtserviceCopyNotavail = response.data.pmtservice_copy_notavail;
|
|
||||||
this.vE.pmtserviceCopyaddressError = response.data.pmtservice_copyaddress_error;
|
|
||||||
this.vE.pmtserviceCopyamountError = response.data.pmtservice_copyamount_error;
|
|
||||||
this.vE.pmtserviceCopymemoError = response.data.pmtservice_copymemo_error;
|
|
||||||
this.vE.pmtservicePaymentNotprocessed = response.data.pmtservice_payment_notprocessed;
|
|
||||||
this.vE.pmtservicePmtsrvNot = response.data.pmtservice_pmtsrv_not;
|
|
||||||
this.vE.pmtserviceEnabledFor = response.data.pmtservice_enabled_for;
|
|
||||||
this.vE.pmtserviceConnectoXero = response.data.pmtservice_connecto_xero;
|
|
||||||
this.vE.pmtserviceServerFailed = response.data.pmtservice_server_failed;
|
|
||||||
this.vE.pmtserviceInvoiceNum = response.data.pmtservice_invoice_num;
|
|
||||||
this.vE.pmtserviceInvoiceNotfound = response.data.pmtservice_invoice_notfound;
|
|
||||||
this.vE.pmtserviceInvoiceInvalid = response.data.pmtservice_invoice_invalid;
|
|
||||||
this.vE.pmtserviceInvoicePaid = response.data.pmtservice_invoice_paid;
|
|
||||||
this.vE.pmtserviceInvoiceCurrency = response.data.pmtservice_invoice_currency;
|
|
||||||
this.vE.pmtserviceCurrencyNotsup = response.data.pmtservice_currensy_notsup;
|
|
||||||
this.vE.pmtserviceAmountDoesnot = response.data.pmtservice_amount_doesnot;
|
|
||||||
this.vE.pmtserviceMatchValue = response.data.pmtservice_match_value;
|
|
||||||
this.vE.pmtserviceReportedByxero = response.data.pmtservice_reported_byxero;
|
|
||||||
this.vE.pmtserviceHdrTxt1 = response.data.pmtservice_hdr_txt1;
|
|
||||||
this.vE.pmtserviceHdrTxt2 = response.data.pmtservice_hdr_txt2;
|
|
||||||
this.vE.pmtserviceHdrTxt3 = response.data.pmtservice_hdr_txt3;
|
|
||||||
this.vE.pmtserviceZecdataPrice = response.data.pmtservice_zecdata_price;
|
|
||||||
this.vE.pmtserviceZecdataTotal = response.data.pmtservice_zecdata_total;
|
|
||||||
this.vE.pmtserviceInvoiceItem = response.data.pmtservice_invoice_item;
|
|
||||||
this.vE.pmtserviceInvoiceQty = response.data.pmtservice_invoice_qty;
|
|
||||||
this.vE.pmtserviceInvoicePrice = response.data.pmtservice_invoice_price;
|
|
||||||
this.vE.pmtserviceInvoiceTotal = response.data.pmtservice_invoice_total;
|
|
||||||
this.vE.pmtservicePaymentConfirmed = response.data.pmtservice_payment_confirmed;
|
|
||||||
this.vE.pmtservicePaymentPending = response.data.pmtservice_payment_pending;
|
|
||||||
this.vE.pmtserviceScanQrcode = response.data.pmtservice_scan_qrcode;
|
|
||||||
this.vE.pmtserviceCantScan = response.data.pmtservice_cant_scan;
|
|
||||||
this.vE.pmtserviceUseThis = response.data.pmtservice_use_this;
|
|
||||||
this.vE.pmtserviceWalletLink = response.data.pmtservice_wallet_link;
|
|
||||||
this.vE.pmtserviceCopyAddress = response.data.pmtservice_copy_address;
|
|
||||||
this.vE.pmtserviceCopyAmount = response.data.pmtservice_copy_amount;
|
|
||||||
this.vE.pmtserviceCopyMemo = response.data.pmtservice_copy_memo;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
::ng-deep .mdc-button__label {
|
|
||||||
font-family: "Spartan" sans-serif;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
::ng-deep .invoice {
|
::ng-deep .invoice {
|
||||||
font-family: "Spartan";
|
font-family: "Spartan";
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<div class="invoice" >
|
<div class="container" style="margin-top: 10px;">
|
||||||
{{ vE.promptinvoiceSendLink }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container" style="padding: 10px;" >
|
<div class="invoice" >
|
||||||
|
Send the invoice link to your client:
|
||||||
|
</div>
|
||||||
|
|
||||||
<table style="width:100%;
|
<table style="width:100%;
|
||||||
margin-top: 10px;">
|
margin-top: 10px;">
|
||||||
|
@ -10,12 +10,12 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th class="urlLabel"
|
<th class="urlLabel"
|
||||||
style="text-align: left;"
|
style="text-align: left;"
|
||||||
width="94%">{{ vE.promptinvoiceInvoiceUrl }}
|
width="94%">Invoice URL:
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tr>
|
<tbody>
|
||||||
<td class="urlDetail"
|
<td class="urlDetail"
|
||||||
style="text-align: left;"
|
style="text-align: left;"
|
||||||
width="94%">
|
width="94%">
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<mat-dialog-actions>
|
<mat-dialog-actions>
|
||||||
|
@ -49,12 +49,12 @@
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
class="text"
|
class="text"
|
||||||
color="primary" (click)="confirm()">
|
color="primary" (click)="confirm()">
|
||||||
<mat-icon class="icon">verified_user</mat-icon>{{vE.promptinvoiceInvoiceSent}}
|
<mat-icon class="icon">verified_user</mat-icon>Sent!
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<button mat-raised-button class="text" (click)="close()">
|
<button mat-raised-button class="text" (click)="close()">
|
||||||
<mat-icon class="icon">close</mat-icon>{{vE.promptinvoiceInvoiceCancel}}
|
<mat-icon class="icon">close</mat-icon>Cancel
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -4,9 +4,6 @@ import { MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog';
|
||||||
import { NotifierService } from '../notifier.service';
|
import { NotifierService } from '../notifier.service';
|
||||||
import { faCopy } from '@fortawesome/free-solid-svg-icons';
|
import { faCopy } from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
var URLSafeBase64 = require('urlsafe-base64');
|
var URLSafeBase64 = require('urlsafe-base64');
|
||||||
var Buffer = require('buffer/').Buffer;
|
var Buffer = require('buffer/').Buffer;
|
||||||
|
|
||||||
|
@ -19,27 +16,13 @@ var Buffer = require('buffer/').Buffer;
|
||||||
export class PromptInvoiceComponent implements OnInit {
|
export class PromptInvoiceComponent implements OnInit {
|
||||||
orderId: string;
|
orderId: string;
|
||||||
invoiceUrl: string;
|
invoiceUrl: string;
|
||||||
|
|
||||||
// ------------------------------------
|
// ------------------------------------
|
||||||
//
|
//
|
||||||
faCopy = faCopy;
|
faCopy = faCopy;
|
||||||
// ------------------------------------
|
// ------------------------------------
|
||||||
// -------------------------------------
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
promptinvoiceSendLink : '',
|
|
||||||
promptinvoiceNotservClose : '',
|
|
||||||
promptinvoiceNotservError : '',
|
|
||||||
promptinvoiceNotservSuccess : '',
|
|
||||||
propmtinvoiceInvoiceClipboard : '',
|
|
||||||
promptinvoiceFuncNotavail : '',
|
|
||||||
promptinvoiceInvoiceUrl : '',
|
|
||||||
promptinvoiceInvoiceSent : '',
|
|
||||||
promptinvoiceInvoiceCancel : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private dialogRef: MatDialogRef<PromptInvoiceComponent>,
|
private dialogRef: MatDialogRef<PromptInvoiceComponent>,
|
||||||
@Inject(MAT_DIALOG_DATA) public data: {orderId: string},
|
@Inject(MAT_DIALOG_DATA) public data: {orderId: string},
|
||||||
private notifierService : NotifierService ) {
|
private notifierService : NotifierService ) {
|
||||||
|
@ -48,7 +31,6 @@ export class PromptInvoiceComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -67,44 +49,12 @@ export class PromptInvoiceComponent implements OnInit {
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.invoiceUrl);
|
navigator.clipboard.writeText(this.invoiceUrl);
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.propmtinvoiceInvoiceClipboard,
|
.showNotification("Invoice's URL copied to Clipboard!!","Close",'success');
|
||||||
this.vE.promptinvoiceNotservClose,
|
|
||||||
'success',
|
|
||||||
this.vE.promptinvoiceNotservSuccess);
|
|
||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// console.error("Error", err);
|
// console.error("Error", err);
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.promptinvoiceFuncNotavail,
|
.showNotification("Functionality not available for your browser. Use send button instead.","Close",'error');
|
||||||
this.vE.promptinvoiceNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.promptinvoiceNotservError);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('PROMPTINVOICE.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('promptinvoice').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.promptinvoiceSendLink = response.data.promptinvoice_send_link;
|
|
||||||
this.vE.promptinvoiceNotservClose = response.data.promptinvoice_notserv_close;
|
|
||||||
this.vE.promptinvoiceNotservError = response.data.promptinvoice_notserv_error;
|
|
||||||
this.vE.promptinvoiceNotservSuccess = response.data.promptinvoice_notserv_success;
|
|
||||||
this.vE.propmtinvoiceInvoiceClipboard = response.data.promptinvoice_invoice_clipboard;
|
|
||||||
this.vE.promptinvoiceFuncNotavail = response.data.promptinvoice_func_notavail;
|
|
||||||
this.vE.promptinvoiceInvoiceUrl = response.data.promptinvoice_invoice_url;
|
|
||||||
this.vE.promptinvoiceInvoiceSent = response.data.promptinvoice_invoice_sent;
|
|
||||||
this.vE.promptinvoiceInvoiceCancel = response.data.promptinvoice_invoice_cancel;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
::ng-deep .mdc-button__label {
|
|
||||||
font-family: "Spartan" sans-serif;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
::ng-deep .invoice {
|
::ng-deep .invoice {
|
||||||
font-family: "Spartan";
|
font-family: "Spartan";
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
<div class="invoice" >
|
<div class="container" style="margin-top: 10px;">
|
||||||
{{ vE.promptreceiptSendLink }}
|
|
||||||
</div>
|
<div class="invoice" >
|
||||||
|
Send the receipt link to your client:
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="container"
|
|
||||||
style="margin-top: 10px;
|
|
||||||
padding: 15px;">
|
|
||||||
<table style="width:100%;
|
<table style="width:100%;
|
||||||
margin-top: 10px;">
|
margin-top: 10px;">
|
||||||
<thead style="width: 100%;">
|
<thead style="width: 100%;">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="urlLabel"
|
<th class="urlLabel"
|
||||||
style="text-align: left;"
|
style="text-align: left;"
|
||||||
width="94%">{{ vE.promptreceiptReceiptUrl }}
|
width="94%">Receipt URL:
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -48,7 +47,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<button mat-raised-button class="text" (click)="close()">
|
<button mat-raised-button class="text" (click)="close()">
|
||||||
<mat-icon class="icon">close</mat-icon>{{ vE.promptreceiptCloseLbl }}
|
<mat-icon class="icon">close</mat-icon>Close
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -5,9 +5,6 @@ import { NotifierService } from '../notifier.service';
|
||||||
|
|
||||||
import { faCopy } from '@fortawesome/free-solid-svg-icons';
|
import { faCopy } from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
var URLSafeBase64 = require('urlsafe-base64');
|
var URLSafeBase64 = require('urlsafe-base64');
|
||||||
var Buffer = require('buffer/').Buffer;
|
var Buffer = require('buffer/').Buffer;
|
||||||
|
|
||||||
|
@ -25,23 +22,8 @@ export class PromptReceiptComponent implements OnInit {
|
||||||
//
|
//
|
||||||
faCopy = faCopy;
|
faCopy = faCopy;
|
||||||
// ------------------------------------
|
// ------------------------------------
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
promptreceiptNotservClose : '',
|
|
||||||
promptreceiptNotservError : '',
|
|
||||||
promptreceiptNotservSuccess : '',
|
|
||||||
propmtreceiptReceiptClipboard : '',
|
|
||||||
promptreceiptFuncNotavail : '',
|
|
||||||
promptreceiptSendLink : '',
|
|
||||||
promptreceiptReceiptUrl : '',
|
|
||||||
promptreceiptCloseLbl : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private dialogRef: MatDialogRef<PromptReceiptComponent>,
|
private dialogRef: MatDialogRef<PromptReceiptComponent>,
|
||||||
@Inject(MAT_DIALOG_DATA) public data: {orderId: string},
|
@Inject(MAT_DIALOG_DATA) public data: {orderId: string},
|
||||||
private notifierService : NotifierService ) {
|
private notifierService : NotifierService ) {
|
||||||
|
@ -51,7 +33,6 @@ export class PromptReceiptComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -70,42 +51,12 @@ export class PromptReceiptComponent implements OnInit {
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.receiptUrl);
|
navigator.clipboard.writeText(this.receiptUrl);
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification( this.vE.propmtreceiptReceiptClipboard,
|
.showNotification("Receipt's URL copied to Clipboard!!","Close",'success');
|
||||||
this.vE.promptreceiptNotservClose,
|
|
||||||
'success',
|
|
||||||
this.vE.promptreceiptNotservSuccess);
|
|
||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// console.error("Error", err);
|
// console.error("Error", err);
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification( this.vE.promptreceiptFuncNotavail,
|
.showNotification("Functionality not available for your browser. Use send button instead.","Close",'error');
|
||||||
this.vE.promptreceiptNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.promptreceiptNotservError);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('PROMPTRECEIPT.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('promptreceipt').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.promptreceiptNotservClose = response.data.promptreceipt_notserv_close;
|
|
||||||
this.vE.promptreceiptNotservError = response.data.promptreceipt_notserv_error;
|
|
||||||
this.vE.promptreceiptNotservSuccess = response.data.promptreceipt_notserv_success;
|
|
||||||
this.vE.propmtreceiptReceiptClipboard = response.data.promptreceipt_receipt_clipboard;
|
|
||||||
this.vE.promptreceiptFuncNotavail = response.data.promptreceipt_func_notavail;
|
|
||||||
this.vE.promptreceiptSendLink = response.data.promptreceipt_send_link;
|
|
||||||
this.vE.promptreceiptReceiptUrl = response.data.promptreceipt_receipt_url;
|
|
||||||
this.vE.promptreceiptCloseLbl = response.data.promptreceipt_close_lbl;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,31 +1,22 @@
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
font-family: 'Spartan', sans-serif;
|
font-family: 'Spartan', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
::ng-deep .mdc-button__label {
|
.receipt {
|
||||||
font-family: "Spartan" sans-serif;
|
font-family: "Spartan";
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
.cancelTitle {
|
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
background: #ff5722;
|
background: #ff5722;
|
||||||
color: white;
|
font-weight: 700;
|
||||||
font-size: 26px;
|
font-size: 18px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 5px;
|
color: white;
|
||||||
|
line-height: 20px;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.qrbody {
|
.qrbody {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 15px;
|
background-color: #e8eaf0;
|
||||||
}
|
|
||||||
|
|
||||||
.button-area {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
margin: 15px;
|
|
||||||
}
|
}
|
|
@ -1,17 +1,18 @@
|
||||||
<div class='cancelTitle'>{{ vE.receiptqrScanReceipt }}</div>
|
<div class="container" style="margin-top: 10px;">
|
||||||
|
|
||||||
<div class="qrbody">
|
<div class="receipt">
|
||||||
|
Scan for your Receipt
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="qrbody">
|
||||||
<div id="receipt-qr"> </div>
|
<div id="receipt-qr"> </div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="button-area">
|
|
||||||
<!--
|
|
||||||
<mat-dialog-actions>
|
<mat-dialog-actions>
|
||||||
-->
|
|
||||||
<button mat-raised-button class="text" (click)="close()">
|
<button mat-raised-button class="text" (click)="close()">
|
||||||
<mat-icon class="icon">close</mat-icon>{{ vE.receiptqrCloseBtn }}
|
<mat-icon class="icon">close</mat-icon>Close
|
||||||
</button>
|
</button>
|
||||||
<!--
|
|
||||||
</mat-dialog-actions>
|
</mat-dialog-actions>
|
||||||
-->
|
|
||||||
|
|
||||||
</div>
|
</div>
|
|
@ -2,9 +2,6 @@ import { Inject, Component, OnInit, ViewEncapsulation} from '@angular/core';
|
||||||
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog';
|
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog';
|
||||||
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
var QRCode = require('easyqrcodejs');
|
var QRCode = require('easyqrcodejs');
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -15,17 +12,8 @@ var QRCode = require('easyqrcodejs');
|
||||||
export class ReceiptQRComponent implements OnInit {
|
export class ReceiptQRComponent implements OnInit {
|
||||||
receiptUrl: SafeUrl;
|
receiptUrl: SafeUrl;
|
||||||
codeString: string = '';
|
codeString: string = '';
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
receiptqrScanReceipt : '',
|
|
||||||
receiptqrCloseBtn : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private dialogRef: MatDialogRef<ReceiptQRComponent>,
|
private dialogRef: MatDialogRef<ReceiptQRComponent>,
|
||||||
private sanitizer: DomSanitizer,
|
private sanitizer: DomSanitizer,
|
||||||
@Inject(MAT_DIALOG_DATA) public data: { order: string}
|
@Inject(MAT_DIALOG_DATA) public data: { order: string}
|
||||||
|
@ -41,28 +29,10 @@ export class ReceiptQRComponent implements OnInit {
|
||||||
logoWidth: 80,
|
logoWidth: 80,
|
||||||
logoHeight: 80
|
logoHeight: 80
|
||||||
});
|
});
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
this.dialogRef.close(true);
|
this.dialogRef.close(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('RECEIPTQR.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('receiptqr').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.receiptqrScanReceipt = response.data.receiptqr_scan_receipt;
|
|
||||||
this.vE.receiptqrCloseBtn = response.data.receiptqr_close_btn;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
<div class="invoiceDetail"
|
<div class="invoiceDetail"
|
||||||
*ngIf="!error"
|
*ngIf="!error"
|
||||||
id="invoice">
|
id="invoice">
|
||||||
<div class="invoiceHdrTxt1">{{ vE.receiptReceiptLbl }}</div>
|
<div class="invoiceHdrTxt1">Receipt</div>
|
||||||
<div class="invoiceHdrTxt2">{{ vE.receiptOrderId }}{{orderId}}</div>
|
<div class="invoiceHdrTxt2">Order ID: {{orderId}}</div>
|
||||||
<div class="invoiceHdrTxt3">{{ vE.receiptOrderDate }}{{order.timestamp | date}}
|
<div class="invoiceHdrTxt3">Date:{{order.timestamp | date}}
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 10px;"></div>
|
<div style="height: 10px;"></div>
|
||||||
<div class="zecData">{{ vE.receiptZcashPrice }}{{order.price | number: '1.02' | currency: order.currency.toUpperCase()}}</div>
|
<div class="zecData">Zcash Price: {{order.price | number: '1.02' | currency: order.currency.toUpperCase()}}</div>
|
||||||
<div style="height: 2px;"></div>
|
<div style="height: 2px;"></div>
|
||||||
<div class="zecData">{{ vE.receiptOrderTotal }}<img class="zecSign" src="/assets/zec_rv.png" />{{order.totalZec | number: '1.08'}}
|
<div class="zecData">Total: <img class="zecSign" src="/assets/zec_rv.png" />{{order.totalZec | number: '1.08'}}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div style="height: 10px;"></div>
|
<div style="height: 10px;"></div>
|
||||||
|
@ -29,11 +29,11 @@
|
||||||
</th>
|
</th>
|
||||||
<th width="15%"
|
<th width="15%"
|
||||||
class="detailTitle1">
|
class="detailTitle1">
|
||||||
{{ vE.receiptQtyLbl }}
|
Qty.
|
||||||
</th>
|
</th>
|
||||||
<th width="30%"
|
<th width="30%"
|
||||||
class="detailTitle2">
|
class="detailTitle2">
|
||||||
{{ vE.receiptOrderPrice }} ({{order.currency.toUpperCase()}})
|
Price ({{order.currency.toUpperCase()}})
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="invoice-detail"
|
<tr class="invoice-detail"
|
||||||
|
@ -77,12 +77,12 @@
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
height: 24px;">
|
height: 24px;">
|
||||||
{{ vE.receiptInvalidId }}
|
Incorrect Receipt ID.
|
||||||
</div>
|
</div>
|
||||||
<div style="font-family: Spartan !important;
|
<div style="font-family: Spartan !important;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
padding: 4px;">
|
padding: 4px;">
|
||||||
{{ vE.receiptInfoNotavail }}
|
No information available.
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 10px;"></div>
|
<div style="height: 10px;"></div>
|
||||||
<mat-card-actions>
|
<mat-card-actions>
|
||||||
|
|
|
@ -4,9 +4,6 @@ import { Order} from '../order/order.model';
|
||||||
import { ReceiptService } from '../receipt.service';
|
import { ReceiptService } from '../receipt.service';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-receipt',
|
selector: 'app-receipt',
|
||||||
templateUrl: './receipt.component.html',
|
templateUrl: './receipt.component.html',
|
||||||
|
@ -38,24 +35,8 @@ export class ReceiptComponent implements OnInit {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
receiptReceiptLbl : '',
|
|
||||||
receiptOrderId : '',
|
|
||||||
receiptOrderDate : '',
|
|
||||||
receiptZcashPrice : '',
|
|
||||||
receiptOrderTotal : '',
|
|
||||||
receiptQtyLbl : '',
|
|
||||||
receiptOrderPrice : '',
|
|
||||||
receiptInvalidId : '',
|
|
||||||
receiptInfoNotavail : ''
|
|
||||||
}
|
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private _ActiveRoute:ActivatedRoute,
|
private _ActiveRoute:ActivatedRoute,
|
||||||
public receiptService: ReceiptService
|
public receiptService: ReceiptService
|
||||||
) {
|
) {
|
||||||
|
@ -73,30 +54,6 @@ export class ReceiptComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('RECEIPT.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('receipt').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.receiptReceiptLbl = response.data.receipt_receipt_lbl;
|
|
||||||
this.vE.receiptOrderId = response.data.receipt_order_id;
|
|
||||||
this.vE.receiptOrderDate = response.data.receipt_order_date;
|
|
||||||
this.vE.receiptZcashPrice = response.data.receipt_zcash_price;
|
|
||||||
this.vE.receiptOrderTotal = response.data.receipt_order_total;
|
|
||||||
this.vE.receiptQtyLbl = response.data.receipt_qty_lbl;
|
|
||||||
this.vE.receiptOrderPrice = response.data.receipt_order_price;
|
|
||||||
this.vE.receiptInvalidId = response.data.receipt_invalid_id;
|
|
||||||
this.vE.receiptInfoNotavail = response.data.receipt_info_notavail;
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,80 +1,12 @@
|
||||||
.text {
|
.text {
|
||||||
font-family: 'Spartan', sans-serif;
|
font-family: 'Spartan', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scan_header {
|
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
font-size: 24px;
|
|
||||||
font-weight: 600;
|
|
||||||
text-align: center;
|
|
||||||
padding: 10px;
|
|
||||||
color: white;
|
|
||||||
background: #ff5722;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scan_qrcode {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.scan_message {
|
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 600;
|
|
||||||
text-align: center;
|
|
||||||
color: black;
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scan_message2 {
|
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 600;
|
|
||||||
text-align: center;
|
|
||||||
color: black;
|
|
||||||
padding-top: 30px;
|
|
||||||
padding-bottom: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scan_button_send {
|
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 500;
|
|
||||||
text-align: center;
|
|
||||||
color: white;
|
|
||||||
background: #ff5722;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scan_button_close {
|
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 500;
|
|
||||||
text-align: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scan_button_row1 {
|
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
font-size: 12px;
|
|
||||||
align-items: center;
|
|
||||||
height: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scan_button_row2 {
|
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
font-size: 20px;
|
|
||||||
height: 30px;
|
|
||||||
padding: 20px;
|
|
||||||
padding-top: 20px;
|
|
||||||
padding-left: 20px;
|
|
||||||
padding-right: 20px;
|
|
||||||
padding-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mat-dialog-title{
|
.mat-dialog-title{
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
|
h4.text{
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
.small {
|
.small {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,53 +1,32 @@
|
||||||
<div class="scan_header">{{ vE.scanScanqrCode }}
|
<div align="center" mat-dialog-title>
|
||||||
|
<h4 class="text">Scan the QR code</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<mat-dialog-content>
|
||||||
|
<div align="center">
|
||||||
|
<p class="text">Ensure to check the "Include Reply-To" box in your wallet before sending your memo.</p>
|
||||||
|
<div class="qrcode" id="checkout-qr"></div>
|
||||||
|
</div>
|
||||||
|
</mat-dialog-content>
|
||||||
|
<mat-dialog-actions>
|
||||||
|
<table cellspacing="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<button mat-raised-button class="text" color="primary" (click)="confirm()">
|
||||||
|
<mat-icon class="icon">verified_user</mat-icon>Memo Sent!
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
<td align="right">
|
||||||
|
<button mat-raised-button class="text" (click)="close()">
|
||||||
|
<mat-icon class="icon">close</mat-icon>Cancel
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</mat-dialog-actions>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<p class="scan_message">{{ vE.scanTextInfo }}</p>
|
<p class="small text">Can't scan? Use this <a [href]="zcashUrl">wallet link</a>, or</p>
|
||||||
<div class="scan_qrcode" id="checkout-qr"></div>
|
<button class="small text" (click)="copyAddress()">Copy Address</button>
|
||||||
|
<button class="small text" (click)="copyAmount()">Copy Amount</button>
|
||||||
|
<button class="small text" (click)="copyMemo()">Copy Memo</button>
|
||||||
</div>
|
</div>
|
||||||
<!-- </mat-dialog-content>
|
|
||||||
-->
|
|
||||||
<table width="100%">
|
|
||||||
<tr>
|
|
||||||
<td align="center">
|
|
||||||
<button mat-raised-button class="scan_button_send" (click)="confirm()">
|
|
||||||
<mat-icon class="icon">verified_user</mat-icon>{{ vE.scanMemoSent }}
|
|
||||||
</button>
|
|
||||||
</td>
|
|
||||||
<td align="center">
|
|
||||||
<button mat-raised-button class="scan_button_close" (click)="close()">
|
|
||||||
<mat-icon class="icon">close</mat-icon>{{ vE.scanCloseBtn }}
|
|
||||||
</button>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<div class='scan_message2'>
|
|
||||||
{{ vE.scanCantScan }}<br> {{ vE.scanUseThis }}<a [href]="zcashUrl">{{vE.scanWalletLink}}</a>,<br>{{ vE.scanOrButton }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table style="width:100%;
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 30px;">
|
|
||||||
<tr>
|
|
||||||
<td align="center" style="width: 45%;">
|
|
||||||
<button style="font-size: 14px;" (click)="copyAddress()">{{ vE.scanCopyAddress }}</button>
|
|
||||||
</td>
|
|
||||||
<td style="width: 10%;"></td>
|
|
||||||
<td align="center" style="width: 45%;">
|
|
||||||
<button style="font-size: 14px;" (click)="copyAmount()">{{ vE.scanCopyAmount }}</button>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table style="width:100%;
|
|
||||||
padding-top: 10px;
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 30px;
|
|
||||||
padding-bottom: 10px;">
|
|
||||||
<tr>
|
|
||||||
<td align="center" >
|
|
||||||
<button style="font-size: 14px;" (click)="copyMemo()">{{ vE.scanCopyMemo }}</button>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
|
@ -4,9 +4,6 @@ import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
||||||
|
|
||||||
import { NotifierService } from '../notifier.service';
|
import { NotifierService } from '../notifier.service';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
var QRCode = require('easyqrcodejs');
|
var QRCode = require('easyqrcodejs');
|
||||||
var URLSafeBase64 = require('urlsafe-base64');
|
var URLSafeBase64 = require('urlsafe-base64');
|
||||||
var Buffer = require('buffer/').Buffer;
|
var Buffer = require('buffer/').Buffer;
|
||||||
|
@ -24,31 +21,8 @@ export class ScanComponent implements OnInit{
|
||||||
codeString: string = '';
|
codeString: string = '';
|
||||||
pay: boolean = false;
|
pay: boolean = false;
|
||||||
zcashUrl: SafeUrl;
|
zcashUrl: SafeUrl;
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
scanScanqrCode : '',
|
|
||||||
scanTextInfo : '',
|
|
||||||
scanMemoSent : '',
|
|
||||||
scanCloseBtn : '',
|
|
||||||
scanUseThis : '',
|
|
||||||
scanWalletLink : '',
|
|
||||||
scanCopyAddress : '',
|
|
||||||
scanCopyAmount : '',
|
|
||||||
scanCopyMemo : '',
|
|
||||||
scanNotservClose : '',
|
|
||||||
scanNotservError : '',
|
|
||||||
scanFuncNotavail : '',
|
|
||||||
scanCopyError : '',
|
|
||||||
scanFailPayment : '',
|
|
||||||
scanCantScan : '',
|
|
||||||
scanOrButton : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private dialogRef: MatDialogRef<ScanComponent>,
|
private dialogRef: MatDialogRef<ScanComponent>,
|
||||||
private sanitizer: DomSanitizer,
|
private sanitizer: DomSanitizer,
|
||||||
@Inject(MAT_DIALOG_DATA) public data: { totalZec: number, addr: string, session: string, pay: boolean},
|
@Inject(MAT_DIALOG_DATA) public data: { totalZec: number, addr: string, session: string, pay: boolean},
|
||||||
|
@ -73,7 +47,6 @@ export class ScanComponent implements OnInit{
|
||||||
logoWidth: 80,
|
logoWidth: 80,
|
||||||
logoHeight: 80
|
logoHeight: 80
|
||||||
});
|
});
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
confirm() {
|
confirm() {
|
||||||
|
@ -88,10 +61,7 @@ export class ScanComponent implements OnInit{
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
alert("Copy functionality not supported");
|
alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification( this.vE.scanFuncNotavail,
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.scanNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.scanNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.address);
|
navigator.clipboard.writeText(this.address);
|
||||||
|
@ -104,19 +74,13 @@ export class ScanComponent implements OnInit{
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
// alert("Copy functionality not supported");
|
// alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification( this.vE.scanFuncNotavail ,
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.scanNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.scanNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.total.toString());
|
navigator.clipboard.writeText(this.total.toString());
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.scanCopyError,
|
.showNotification("Error while copying ammount","Close","error");
|
||||||
this.vE.scanNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.scanNotservError);
|
|
||||||
// console.error("Error", err);
|
// console.error("Error", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -125,10 +89,7 @@ export class ScanComponent implements OnInit{
|
||||||
if (!navigator.clipboard) {
|
if (!navigator.clipboard) {
|
||||||
// alert("Copy functionality not supported");
|
// alert("Copy functionality not supported");
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.scanFuncNotavail ,
|
.showNotification("Copy functionality not supported","Close","error");
|
||||||
this.vE.scanNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.scanNotservError);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
if (this.pay) {
|
if (this.pay) {
|
||||||
|
@ -139,41 +100,8 @@ export class ScanComponent implements OnInit{
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.scanFailPayment,
|
.showNotification("Error while verifying payment","Close","error");
|
||||||
this.vE.scanNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.scanNotservError);
|
|
||||||
// console.error("Error", err);
|
// console.error("Error", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('SCAN.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('scan').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.scanScanqrCode = response.data.scan_scanqr_code;
|
|
||||||
this.vE.scanTextInfo = response.data.scan_text_info;
|
|
||||||
this.vE.scanMemoSent = response.data.scan_memo_sent;
|
|
||||||
this.vE.scanCloseBtn = response.data.scan_close_btn;
|
|
||||||
this.vE.scanUseThis = response.data.scan_use_this;
|
|
||||||
this.vE.scanWalletLink = response.data.scan_wallet_link;
|
|
||||||
this.vE.scanCopyAddress = response.data.scan_copy_address;
|
|
||||||
this.vE.scanCopyAmount = response.data.scan_copy_amount;
|
|
||||||
this.vE.scanCopyMemo = response.data.scan_copy_memo;
|
|
||||||
this.vE.scanNotservClose = response.data.scan_notserv_close;
|
|
||||||
this.vE.scanNotservError = response.data.scan_notserv_error;
|
|
||||||
this.vE.scanFuncNotavail = response.data.scan_func_notavail;
|
|
||||||
this.vE.scanCantScan = response.data.scan_cant_scan;
|
|
||||||
this.vE.scanOrButton = response.data.scan_or_button;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,6 @@
|
||||||
font-family: 'Spartan', sans-serif;
|
font-family: 'Spartan', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
::ng-deep .mdc-tab__text-label {
|
|
||||||
font-family: 'Spartan', sans-serif;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.settings-title {
|
.settings-title {
|
||||||
font-family: 'Spartan', sans-serif;
|
font-family: 'Spartan', sans-serif;
|
||||||
background: #ff5722;
|
background: #ff5722;
|
||||||
|
|
|
@ -1,25 +1,24 @@
|
||||||
|
|
||||||
<div class="settings-title"> {{ vE.settingsViewTitle }}</div>
|
<div class="settings-title">Settings</div>
|
||||||
|
|
||||||
<div class="container"
|
<div class="container"
|
||||||
style="margin-top: 10px;
|
style="margin-top: 10px;
|
||||||
height: 520px;
|
height: 450px;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
margin-right: 10px;">
|
margin-right: 10px;">
|
||||||
<mat-tab-group mat-tab-align-tabs="start">
|
<mat-tab-group mat-tab-align-tabs="start">
|
||||||
<mat-tab label="{{ vE.settingsTabMainlbl }}"
|
<mat-tab label="Main" style="height: 400px;">
|
||||||
style="height: 400px;">
|
|
||||||
<div class="container" style="margin-bottom: 20px;">
|
<div class="container" style="margin-bottom: 20px;">
|
||||||
<mat-dialog-content [formGroup]="settingsForm">
|
<mat-dialog-content [formGroup]="settingsForm">
|
||||||
<mat-form-field class="settings-field" [style.width.%]="100">
|
<mat-form-field class="settings-field" [style.width.%]="100">
|
||||||
<mat-label>{{ vE.settingsNameLbl }}</mat-label>
|
<mat-label>Name</mat-label>
|
||||||
<input matInput
|
<input matInput
|
||||||
width="100%"
|
width="100%"
|
||||||
placeholder="{{ vE.settingsNamePlaceholder }}"
|
placeholder="Name"
|
||||||
formControlName="name">
|
formControlName="name">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field [style.width.%]="100" >
|
<mat-form-field [style.width.%]="100" >
|
||||||
<mat-label>{{ vE.settingsCurrencyLbl }}</mat-label>
|
<mat-label>Currency</mat-label>
|
||||||
<mat-select formControlName="currency">
|
<mat-select formControlName="currency">
|
||||||
<mat-option *ngFor="let coin of coins"
|
<mat-option *ngFor="let coin of coins"
|
||||||
[value]="coin.symbol">
|
[value]="coin.symbol">
|
||||||
|
@ -30,19 +29,19 @@
|
||||||
<mat-slide-toggle formControlName="useZats"
|
<mat-slide-toggle formControlName="useZats"
|
||||||
class="settings-toggle"
|
class="settings-toggle"
|
||||||
(change)="onChange($event)">
|
(change)="onChange($event)">
|
||||||
{{ vE.settingsUseSatoshi }}
|
Use zatoshis?
|
||||||
</mat-slide-toggle>
|
</mat-slide-toggle>
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
<mat-slide-toggle formControlName="useVKey"
|
<mat-slide-toggle formControlName="useVKey"
|
||||||
class="settings-toggle"
|
class="settings-toggle"
|
||||||
(change)="onChangeVKeyOn($event)">
|
(change)="onChangeVKeyOn($event)">
|
||||||
{{ vE.settingsConfirmPayments }}
|
Confirm payments?
|
||||||
</mat-slide-toggle>
|
</mat-slide-toggle>
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
<mat-form-field class="full-width"
|
<mat-form-field class="full-width"
|
||||||
appearance="fill">
|
appearance="fill">
|
||||||
<mat-label>{{ vE.settingsVkeyLbl }}</mat-label>
|
<mat-label>Viewing key</mat-label>
|
||||||
<textarea matInput placeholder="{{ vE.settingsVkeyPlaceholder }}"
|
<textarea matInput placeholder="Your wallet viewing key"
|
||||||
formControlName="vKey">
|
formControlName="vKey">
|
||||||
</textarea>
|
</textarea>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
@ -63,12 +62,12 @@
|
||||||
align-items: center;">
|
align-items: center;">
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
(click)="close()">
|
(click)="close()">
|
||||||
{{ vE.settingsCloseBtn }}
|
Cancel
|
||||||
</button>
|
</button>
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
color="primary"
|
color="primary"
|
||||||
(click)="save()">
|
(click)="save()">
|
||||||
{{ vE.settingsSaveBtn }}
|
Save
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 20px;
|
<div style="height: 20px;
|
||||||
|
@ -76,13 +75,14 @@
|
||||||
</div>
|
</div>
|
||||||
</mat-tab>
|
</mat-tab>
|
||||||
<mat-tab *ngIf="proVersion"
|
<mat-tab *ngIf="proVersion"
|
||||||
label="{{ vE.settingsTabIntegrations }}"
|
label="Integrations"
|
||||||
style="align-items: center;">
|
style="align-items: center;">
|
||||||
<mat-tab-group mat-tab-align-tabs="start">
|
<mat-tab-group mat-tab-align-tabs="start">
|
||||||
<mat-tab label="{{ vE.settingsXeroLbl }}">
|
<mat-tab label="Xero">
|
||||||
<div class="container" style="margin-bottom: 10px;">
|
<div class="container" style="margin-bottom: 20px;">
|
||||||
<mat-dialog-content [formGroup]="accCodForm">
|
<mat-dialog-content [formGroup]="accCodForm">
|
||||||
<div style="height: 5px;">
|
<div style="height: 10px;
|
||||||
|
margin-top: 10px;">
|
||||||
</div>
|
</div>
|
||||||
<div class="container"
|
<div class="container"
|
||||||
style="height: 300;">
|
style="height: 300;">
|
||||||
|
@ -96,12 +96,12 @@
|
||||||
|
|
||||||
<table *ngIf="linked2Xero"
|
<table *ngIf="linked2Xero"
|
||||||
[style.width.%]="100"
|
[style.width.%]="100"
|
||||||
style="margin-top: 5px;">
|
style="margin-top: 10px;">
|
||||||
<thead style="width: 100%;">
|
<thead style="width: 100%;">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="urlLabel"
|
<th class="urlLabel"
|
||||||
style="text-align: left;"
|
style="text-align: left;"
|
||||||
width="94%">{{ vE.settingsPmtservURL }}
|
width="94%">Payment Service URL:
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -133,12 +133,13 @@
|
||||||
</td>
|
</td>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div style="height: 5px;">
|
<div style="height: 10px;
|
||||||
|
margin-top: 10px;">
|
||||||
</div>
|
</div>
|
||||||
<mat-form-field *ngIf="linked2Xero"
|
<mat-form-field *ngIf="linked2Xero"
|
||||||
class="settings-field"
|
class="settings-field"
|
||||||
[style.width.%]="100">
|
[style.width.%]="100">
|
||||||
<mat-label>{{ vE.settingsAcodeLbl }}</mat-label>
|
<mat-label>Account Code</mat-label>
|
||||||
<input matInput
|
<input matInput
|
||||||
width="100%"
|
width="100%"
|
||||||
placeholder="9999999999"
|
placeholder="9999999999"
|
||||||
|
@ -152,35 +153,33 @@
|
||||||
<div class="container"
|
<div class="container"
|
||||||
style="display: flex;
|
style="display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;">
|
||||||
padding-left: 20px;
|
|
||||||
padding-right: 20px;">
|
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
(click)="closeIntegration()">
|
(click)="closeIntegration()">
|
||||||
{{ vE.settingsXeroClosebtn }}
|
Close
|
||||||
</button>
|
</button>
|
||||||
<button *ngIf="saveAccOk"
|
<button *ngIf="saveAccOk"
|
||||||
mat-raised-button
|
mat-raised-button
|
||||||
color="primary"
|
color="primary"
|
||||||
(click)="saveAccCod()">
|
(click)="saveAccCod()">
|
||||||
{{ vE.settingsXeroSavebtn }}
|
Save Code
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 20px;
|
<div style="height: 20px;
|
||||||
margin-top: 10px;">
|
margin-top: 10px;">
|
||||||
</div>
|
</div>
|
||||||
</mat-tab>
|
</mat-tab>
|
||||||
<mat-tab label="{{ vE.settingsWCLbl }}">
|
<mat-tab label="WooCommerce">
|
||||||
<div >
|
<div >
|
||||||
<div *ngIf="wooOwner == ''" align="center">
|
<div *ngIf="wooOwner == ''" align="center">
|
||||||
<button mat-raised-button color="primary" (click)="generateWooToken()">
|
<button mat-raised-button color="primary" (click)="generateWooToken()">
|
||||||
{{ vE.settingsWCGentoken }}
|
Generate Token
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<table *ngIf="wooOwner != ''">
|
<table *ngIf="wooOwner != ''">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="heading" style="width: 100%;">{{ vE.settingsWCOwnerlbl }}</td>
|
<td class="heading" style="width: 100%;">Owner:</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
@ -252,9 +251,10 @@
|
||||||
<div class="toolbar" align="center">
|
<div class="toolbar" align="center">
|
||||||
<button mat-raised-button
|
<button mat-raised-button
|
||||||
(click)="close()">
|
(click)="close()">
|
||||||
{{ vE.settingsWCClosebtn }}
|
Close
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</mat-tab>
|
</mat-tab>
|
||||||
</mat-tab-group>
|
</mat-tab-group>
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { Inject, Component, OnInit, OnDestroy, ViewEncapsulation } from '@angula
|
||||||
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||||
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
||||||
import { UntypedFormBuilder, Validators, UntypedFormGroup, FormControl } from '@angular/forms';
|
import { UntypedFormBuilder, Validators, UntypedFormGroup, FormControl } from '@angular/forms';
|
||||||
import { Subject, Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { Owner } from '../owner.model';
|
import { Owner } from '../owner.model';
|
||||||
import { XeroService } from '../xero.service';
|
import { XeroService } from '../xero.service';
|
||||||
import { WoocommerceService } from '../woocommerce.service';
|
import { WoocommerceService } from '../woocommerce.service';
|
||||||
|
@ -10,8 +10,6 @@ import { WoocommerceService } from '../woocommerce.service';
|
||||||
import { NotifierService } from '../notifier.service';
|
import { NotifierService } from '../notifier.service';
|
||||||
import { faCopy } from '@fortawesome/free-solid-svg-icons';
|
import { faCopy } from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-settings',
|
selector: 'app-settings',
|
||||||
|
@ -31,7 +29,7 @@ export class SettingsComponent implements OnInit {
|
||||||
useZats: boolean;
|
useZats: boolean;
|
||||||
proVersion: boolean = false;
|
proVersion: boolean = false;
|
||||||
useVKey: boolean = false;
|
useVKey: boolean = false;
|
||||||
linkMsg: string = '';
|
linkMsg: string = 'Link to Xero';
|
||||||
xeroAccCod: string = '';
|
xeroAccCod: string = '';
|
||||||
saveAccOk: boolean = false;
|
saveAccOk: boolean = false;
|
||||||
|
|
||||||
|
@ -70,57 +68,8 @@ export class SettingsComponent implements OnInit {
|
||||||
accCodeUpdate: Observable<string>;
|
accCodeUpdate: Observable<string>;
|
||||||
linked2Xero : boolean = false;
|
linked2Xero : boolean = false;
|
||||||
pmtServiceURL : string = '';
|
pmtServiceURL : string = '';
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
settingsAcodeInvalid : '',
|
|
||||||
settingsAcodeLbl : '',
|
|
||||||
settingsAcodeNotsaved : '',
|
|
||||||
settingsAcodeSaved : '',
|
|
||||||
settingsCloseBtn : '',
|
|
||||||
settingsConfirmPayments : '',
|
|
||||||
settingsCopyNotavail : '',
|
|
||||||
settingsCurrencyLbl : '',
|
|
||||||
settingsLink2Xero : '',
|
|
||||||
settingsNameLbl : '',
|
|
||||||
settingsNamePlaceholder : '',
|
|
||||||
settingsNotservClose : '',
|
|
||||||
settingsNotservError : '',
|
|
||||||
settingsNotservSuccess : '',
|
|
||||||
settingsNotservWarning : '',
|
|
||||||
settingsOwneridCopied : '',
|
|
||||||
settingsOwneridNotcopied : '',
|
|
||||||
settingsPmtservURL : '',
|
|
||||||
settingsRelink2Xero : '',
|
|
||||||
settingsSaveBtn : '',
|
|
||||||
settingsTabIntegrations : '',
|
|
||||||
settingsTabMainlbl : '',
|
|
||||||
settingsURLCopied : '',
|
|
||||||
settingsUseSatoshi : '',
|
|
||||||
settingsViewTitle : '',
|
|
||||||
settingsVkeyLbl : '',
|
|
||||||
settingsVkeyPlaceholder : '',
|
|
||||||
settingsWCClosebtn : '',
|
|
||||||
settingsWCGentoken : '',
|
|
||||||
settingsWCLbl : '',
|
|
||||||
settingsWCOwnerlbl : '',
|
|
||||||
settingsWCTokenCopied : '',
|
|
||||||
settingsWCTokenGenerated : '',
|
|
||||||
settingsWCTokenGenfail : '',
|
|
||||||
settingsWCTokenNotcopied : '',
|
|
||||||
settingsXeroClosebtn : '',
|
|
||||||
settingsXeroLbl : '',
|
|
||||||
settingsXeropmtConfirmdis : '',
|
|
||||||
settingsXeroSavebtn : ''
|
|
||||||
};
|
|
||||||
//
|
|
||||||
languageRdy = new Subject<boolean>();
|
|
||||||
|
|
||||||
// ------------------------------------------------------------
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
private notifierService : NotifierService,
|
private notifierService : NotifierService,
|
||||||
private fb: UntypedFormBuilder,
|
private fb: UntypedFormBuilder,
|
||||||
public xeroService: XeroService,
|
public xeroService: XeroService,
|
||||||
|
@ -177,26 +126,16 @@ export class SettingsComponent implements OnInit {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|
||||||
this.settingsForm.get('vKey')!.disable();
|
this.settingsForm.get('vKey')!.disable();
|
||||||
//
|
this.linkMsg = 'Link to Xero';
|
||||||
this.chgUILanguage();
|
|
||||||
console.log('SETTINGS: Return from chgUILanguage()');
|
|
||||||
//
|
|
||||||
this.languageRdy.subscribe (
|
|
||||||
data => {
|
|
||||||
this.linkMsg = this.vE.settingsLink2Xero;
|
|
||||||
this.pmtServiceURL + '';
|
this.pmtServiceURL + '';
|
||||||
if ( this.linked2Xero ) {
|
if ( this.linked2Xero ) {
|
||||||
this.linkMsg = this.vE.settingsRelink2Xero; //'Relink to Xero';
|
this.linkMsg = 'Relink to Xero';
|
||||||
this.pmtServiceURL =
|
this.pmtServiceURL = 'https://zgo.cash/pmtservice?owner=' +
|
||||||
'https://zgo.cash/pmtservice?owner=' +
|
|
||||||
this.owner._id +
|
this.owner._id +
|
||||||
'&invoiceNo=[INVOICENUMBER]¤cy=[CURRENCY]&amount=[AMOUNTDUE]&shortCode=[SHORTCODE]';
|
'&invoiceNo=[INVOICENUMBER]¤cy=[CURRENCY]&amount=[AMOUNTDUE]&shortCode=[SHORTCODE]';
|
||||||
}
|
}
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
safeURL(s: string){
|
safeURL(s: string){
|
||||||
|
@ -211,9 +150,7 @@ export class SettingsComponent implements OnInit {
|
||||||
closeIntegration() {
|
closeIntegration() {
|
||||||
if ( (this.xeroAccCod == '') && (this.linked2Xero) )
|
if ( (this.xeroAccCod == '') && (this.linked2Xero) )
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.settingsXeropmtConfirmdis ,
|
.showNotification("Xero Payment confirmation disabled!!","Close",'warning');
|
||||||
this.vE.settingsNotservClose,'warning',
|
|
||||||
this.vE.settingsNotservWarning);
|
|
||||||
this.dialogRef.close();
|
this.dialogRef.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -255,59 +192,37 @@ export class SettingsComponent implements OnInit {
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.pmtServiceURL);
|
navigator.clipboard.writeText(this.pmtServiceURL);
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.settingsURLCopied,
|
.showNotification("ZGo URL copied to Clipboard!!","Close",'success');
|
||||||
this.vE.settingsNotservClose,
|
|
||||||
'success',
|
|
||||||
this.vE.settingsNotservSuccess);
|
|
||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// console.error("Error", err);
|
// console.error("Error", err);
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.settingsCopyNotavail,
|
.showNotification("Functionality not available for your browser. Use send button instead.","Close",'error');
|
||||||
this.vE.settingsNotservClose,
|
|
||||||
'error',
|
|
||||||
this.vE.settingsNotservError);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
copyWooOwner(){
|
copyWooOwner(){
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.wooOwner);
|
navigator.clipboard.writeText(this.wooOwner);
|
||||||
this.notifierService.showNotification(this.vE.settingsOwneridCopied,
|
this.notifierService.showNotification("Owner ID copied to clipboard", "Close", "success");
|
||||||
this.vE.settingsNotservClose,
|
|
||||||
"success",
|
|
||||||
this.vE.settingsNotservSuccess);
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService.showNotification(this.vE.settingsOwneridNotcopied,
|
this.notifierService.showNotification("Copying not available in your browser", "Close", "error");
|
||||||
this.vE.settingsNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.settingsNotservError);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
copyWooToken(){
|
copyWooToken(){
|
||||||
try {
|
try {
|
||||||
navigator.clipboard.writeText(this.wooToken);
|
navigator.clipboard.writeText(this.wooToken);
|
||||||
this.notifierService.showNotification(this.vE.settingsWCTokenCopied,
|
this.notifierService.showNotification("WooCommerce Token copied to clipboard", "Close", "success");
|
||||||
this.vE.settingsNotservClose,
|
|
||||||
"success",
|
|
||||||
this.vE.settingsNotservSuccess);
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.notifierService.showNotification(this.vE.settingsWCTokenNotcopied,
|
this.notifierService.showNotification("Copying not available in your browser", "Close", "error");
|
||||||
this.vE.settingsNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.settingsNotservError);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
generateWooToken(){
|
generateWooToken(){
|
||||||
this.wooService.createWooToken(this.owner._id!).subscribe(responseData => {
|
this.wooService.createWooToken(this.owner._id!).subscribe(responseData => {
|
||||||
if (responseData.status == 202) {
|
if (responseData.status == 202) {
|
||||||
this.notifierService.showNotification(
|
this.notifierService.showNotification("WooCommerce Token generated!", "Close", "success");
|
||||||
this.vE.settingsWCTokenGenerated,
|
|
||||||
this.vE.settingsNotservClose,
|
|
||||||
"success",
|
|
||||||
this.vE.settingsNotservSuccess);
|
|
||||||
this.wooService.getWooToken(this.owner._id!);
|
this.wooService.getWooToken(this.owner._id!);
|
||||||
this.wooOwnerUpdate.subscribe(owData => {
|
this.wooOwnerUpdate.subscribe(owData => {
|
||||||
this.wooOwner = owData;
|
this.wooOwner = owData;
|
||||||
|
@ -320,11 +235,7 @@ export class SettingsComponent implements OnInit {
|
||||||
});
|
});
|
||||||
close();
|
close();
|
||||||
} else {
|
} else {
|
||||||
this.notifierService.showNotification(
|
this.notifierService.showNotification("WooCommerce Token generation failed.", "Close", "error");
|
||||||
this.vE.settingsWCTokenGenfail,
|
|
||||||
this.vE.settingsNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.settingsNotservError);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -341,18 +252,11 @@ export class SettingsComponent implements OnInit {
|
||||||
if (responseData.status == 202) {
|
if (responseData.status == 202) {
|
||||||
console.log('Account saved');
|
console.log('Account saved');
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(this.vE.settingsAcodeSaved,
|
.showNotification("Account Code saved!!","Close",'success');
|
||||||
this.vE.settingsNotservClose,
|
|
||||||
"success",
|
|
||||||
this.vE.settingsNotservSuccess);
|
|
||||||
} else {
|
} else {
|
||||||
console.log('Account not saved -> status[' + responseData.status + ']');
|
console.log('Account not saved -> status[' + responseData.status + ']');
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(
|
.showNotification("Account Code not saved","Close",'error');
|
||||||
this.vE.settingsAcodeNotsaved,
|
|
||||||
this.vE.settingsNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.settingsNotservError);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}, error => {
|
}, error => {
|
||||||
|
@ -361,11 +265,7 @@ export class SettingsComponent implements OnInit {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.notifierService
|
this.notifierService
|
||||||
.showNotification(
|
.showNotification("Invalid Account code (10 chars max.)","Close",'error');
|
||||||
this.vE.settingsAcodeInvalid,
|
|
||||||
this.vE.settingsNotservClose,
|
|
||||||
"error",
|
|
||||||
this.vE.settingsNotservError);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
@ -380,59 +280,4 @@ export class SettingsComponent implements OnInit {
|
||||||
console.log(arg.target.value);
|
console.log(arg.target.value);
|
||||||
this.saveAccOk = (arg.target.value != this.xeroAccCod );
|
this.saveAccOk = (arg.target.value != this.xeroAccCod );
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('SETTINGS.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('settings').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.settingsViewTitle = response.data.settings_view_title;
|
|
||||||
this.vE.settingsTabMainlbl = response.data.settings_tab_mainlbl;
|
|
||||||
this.vE.settingsNameLbl = response.data.settings_name_lbl;
|
|
||||||
this.vE.settingsCurrencyLbl = response.data.settings_currency_lbl;
|
|
||||||
this.vE.settingsNamePlaceholder = response.data.settings_name_placeholder;
|
|
||||||
this.vE.settingsUseSatoshi = response.data.settings_use_satoshi;
|
|
||||||
this.vE.settingsVkeyLbl = response.data.settings_vkey_lbl;
|
|
||||||
this.vE.settingsVkeyPlaceholder = response.data.settings_vkey_placeholder;
|
|
||||||
this.vE.settingsConfirmPayments = response.data.settings_confirm_payments;
|
|
||||||
this.vE.settingsCloseBtn = response.data.settings_close_btn;
|
|
||||||
this.vE.settingsSaveBtn = response.data.settings_save_btn;
|
|
||||||
this.vE.settingsTabIntegrations = response.data.settings_tab_integrations;
|
|
||||||
this.vE.settingsXeroLbl = response.data.settings_xero_lbl;
|
|
||||||
this.vE.settingsLink2Xero = response.data.settings_link_2xero;
|
|
||||||
this.vE.settingsRelink2Xero = response.data.settings_relink_2xero;
|
|
||||||
this.vE.settingsXeropmtConfirmdis = response.data.settings_xeropmt_confirmdis;
|
|
||||||
this.vE.settingsNotservClose = response.data.settings_notserv_close;
|
|
||||||
this.vE.settingsNotservWarning = response.data.settings_notserv_warning;
|
|
||||||
this.vE.settingsPmtservURL = response.data.settings_pmtserv_url;
|
|
||||||
this.vE.settingsAcodeLbl = response.data.settings_acode_lbl;
|
|
||||||
this.vE.settingsXeroClosebtn = response.data.settings_xero_closebtn;
|
|
||||||
this.vE.settingsXeroSavebtn = response.data.settings_xero_savebtn;
|
|
||||||
this.vE.settingsWCLbl = response.data.settings_wc_lbl;
|
|
||||||
this.vE.settingsWCGentoken = response.data.settings_wc_gentoken;
|
|
||||||
this.vE.settingsWCOwnerlbl = response.data.settings_wc_ownerlbl;
|
|
||||||
this.vE.settingsWCClosebtn = response.data.settings_wc_closebtn;
|
|
||||||
this.vE.settingsURLCopied = response.data.settings_url_copied;
|
|
||||||
this.vE.settingsNotservSuccess = response.data.settings_notserv_success;
|
|
||||||
this.vE.settingsNotservError = response.data.settings_notserv_error;
|
|
||||||
this.vE.settingsCopyNotavail = response.data.settings_copy_notavail;
|
|
||||||
this.vE.settingsOwneridCopied = response.data.settings_ownerid_copied;
|
|
||||||
this.vE.settingsOwneridNotcopied = response.data.settings_ownerid_notcopied;
|
|
||||||
this.vE.settingsWCTokenCopied = response.data.settings_wctoken_copied;
|
|
||||||
this.vE.settingsWCTokenNotcopied = response.data.settings_wctoken_notcopied;
|
|
||||||
this.vE.settingsWCTokenGenerated = response.data.settings_wctoken_generated;
|
|
||||||
this.vE.settingsWCTokenGenfail = response.data.settings_wctoken_genfail;
|
|
||||||
this.vE.settingsAcodeSaved = response.data.settings_acode_saved;
|
|
||||||
this.vE.settingsAcodeNotsaved = response.data.settings_acode_notsaved;
|
|
||||||
this.vE.settingsAcodeInvalid = response.data.settings_acode_invalid;
|
|
||||||
//
|
|
||||||
this.languageRdy.next(true);
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
export interface viewElement {
|
|
||||||
text: string;
|
|
||||||
}
|
|
|
@ -12,13 +12,13 @@
|
||||||
<div class="main-buttons">
|
<div class="main-buttons">
|
||||||
<button mat-raised-button color="primary"
|
<button mat-raised-button color="primary"
|
||||||
[routerLink]="['/orders']">
|
[routerLink]="['/orders']">
|
||||||
{{ vE.viewerViewOrders }}
|
View Orders
|
||||||
</button>
|
</button>
|
||||||
<button mat-icon-button color="primary"
|
<button mat-raised-button color="primary"
|
||||||
(click)="openSettings()">
|
class="text" (click)="openSettings()">
|
||||||
<mat-icon class="icon">manage_accounts</mat-icon>
|
<mat-icon class="icon">manage_accounts</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<a mat-icon-button color="primary"
|
<a mat-raised-button color="primary"
|
||||||
href="https://zgo.cash/"
|
href="https://zgo.cash/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer">
|
rel="noopener noreferrer">
|
||||||
|
|
|
@ -10,8 +10,6 @@ import { SettingsComponent } from '../settings/settings.component';
|
||||||
import {Owner} from '../owner.model';
|
import {Owner} from '../owner.model';
|
||||||
import {User} from '../user.model';
|
import {User} from '../user.model';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-viewer',
|
selector: 'app-viewer',
|
||||||
|
@ -62,20 +60,12 @@ export class ViewerComponent implements OnInit {
|
||||||
public userUpdate: Observable<User>;
|
public userUpdate: Observable<User>;
|
||||||
public priceUpdate: Observable<number>;
|
public priceUpdate: Observable<number>;
|
||||||
orientation: boolean = false;
|
orientation: boolean = false;
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
viewerViewOrders : ''
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------
|
|
||||||
constructor(
|
constructor(
|
||||||
public fullnodeService: FullnodeService,
|
public fullnodeService: FullnodeService,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
public userService: UserService,
|
public userService: UserService,
|
||||||
private dialog: MatDialog,
|
private dialog: MatDialog
|
||||||
private languageService: LanguageService
|
|
||||||
){
|
){
|
||||||
this.addrUpdate = fullnodeService.addrUpdate;
|
this.addrUpdate = fullnodeService.addrUpdate;
|
||||||
this.ownerUpdate = userService.ownerUpdate;
|
this.ownerUpdate = userService.ownerUpdate;
|
||||||
|
@ -96,7 +86,6 @@ export class ViewerComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(){
|
ngOnInit(){
|
||||||
this.chgUILanguage();
|
|
||||||
this.orientation = (window.innerWidth <= 500);
|
this.orientation = (window.innerWidth <= 500);
|
||||||
this.ownerUpdate.subscribe((owner) => {
|
this.ownerUpdate.subscribe((owner) => {
|
||||||
this.message = owner.name;
|
this.message = owner.name;
|
||||||
|
@ -154,20 +143,4 @@ export class ViewerComponent implements OnInit {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('VIEWER.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('viewer').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.viewerViewOrders = response.data.viewer_view_orders;
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div *ngIf="!flag" align="center" class="text">
|
<div *ngIf="!flag" align="center" class="text">
|
||||||
<h1>{{ vE.xeroConnecting2xero }}</h1>
|
<h1>Connecting to Xero...</h1>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="flag" align="center" class="text">
|
<div *ngIf="flag" align="center" class="text">
|
||||||
<h1>{{ vE.xeroConnected2xero }}</h1>
|
<h1>Connected to Xero!</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,9 +5,6 @@ import { XeroService } from '../xero.service';
|
||||||
import { Owner } from '../owner.model';
|
import { Owner } from '../owner.model';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
|
|
||||||
import { LanguageService } from '../language.service';
|
|
||||||
import { LanguageData } from '../language.model';
|
|
||||||
|
|
||||||
var Buffer = require('buffer/').Buffer;
|
var Buffer = require('buffer/').Buffer;
|
||||||
|
|
||||||
function sleep(ms:number) {
|
function sleep(ms:number) {
|
||||||
|
@ -25,6 +22,7 @@ async function redirect(r: Router) {
|
||||||
styleUrls: ['./xeroreg.component.css']
|
styleUrls: ['./xeroreg.component.css']
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
export class XeroRegComponent implements OnInit {
|
export class XeroRegComponent implements OnInit {
|
||||||
public owner:Owner = {
|
public owner:Owner = {
|
||||||
address: '',
|
address: '',
|
||||||
|
@ -54,17 +52,10 @@ export class XeroRegComponent implements OnInit {
|
||||||
};
|
};
|
||||||
public ownerUpdate:Observable<Owner>;
|
public ownerUpdate:Observable<Owner>;
|
||||||
public flag: boolean = false;
|
public flag: boolean = false;
|
||||||
// -------------------------------------
|
|
||||||
//
|
|
||||||
// Language Support
|
|
||||||
//
|
|
||||||
vE = {
|
|
||||||
xeroConnecting2xero : '',
|
|
||||||
xeroConnected2xero : '',
|
|
||||||
}
|
|
||||||
//
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService : LanguageService,
|
|
||||||
public xeroService: XeroService,
|
public xeroService: XeroService,
|
||||||
public userService: UserService,
|
public userService: UserService,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
|
@ -78,7 +69,6 @@ export class XeroRegComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.chgUILanguage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngAfterViewInit(): void {
|
ngAfterViewInit(): void {
|
||||||
|
@ -105,21 +95,4 @@ export class XeroRegComponent implements OnInit {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
chgUILanguage(){
|
|
||||||
console.log('XERO.chgUILanguage Called ');
|
|
||||||
this.languageService.getViewElements('xero').subscribe(
|
|
||||||
response => {
|
|
||||||
console.log('Received >> ', response );
|
|
||||||
console.log('Language Code : ', response.language);
|
|
||||||
console.log('Component Name : ',response.component);
|
|
||||||
console.log('Language data : ',response.data);
|
|
||||||
|
|
||||||
this.vE.xeroConnecting2xero = response.data.xero_connecting_2xero;
|
|
||||||
this.vE.xeroConnected2xero = response.data.xero_connected_2xero;
|
|
||||||
|
|
||||||
},
|
|
||||||
error => { console.log('Error >> ',error); }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 17 KiB |
|
@ -1,31 +1,11 @@
|
||||||
//@import "@angular/material/_theming";
|
@import "@angular/material/_theming";
|
||||||
@use '@angular/material' as mat;
|
|
||||||
|
|
||||||
@include mat.core();
|
@include mat-core();
|
||||||
|
|
||||||
$custom-theme-primary: mat.define-palette(mat.$deep-orange-palette, 500);
|
$custom-theme-primary: mat-palette($mat-deep-orange);
|
||||||
$custom-theme-accent: mat.define-palette(mat.$light-blue-palette, 100, 50, 200);
|
$custom-theme-accent: mat-palette($mat-light-blue, A200, A100, A400);
|
||||||
$custom-theme-warn: mat.define-palette(mat.$red-palette);
|
$custom-theme-warn: mat-palette($mat-red);
|
||||||
|
|
||||||
//$custom-theme: mat.define-light-theme($custom-theme-primary, $custom-theme-accent);
|
$custom-theme: mat-light-theme($custom-theme-primary, $custom-theme-accent, $custom-theme-warn);
|
||||||
|
|
||||||
$my-theme: mat.define-light-theme(
|
@include angular-material-theme($custom-theme);
|
||||||
(color: (
|
|
||||||
primary: $custom-theme-primary,
|
|
||||||
accent: $custom-theme-accent,
|
|
||||||
warn: $custom-theme-warn
|
|
||||||
),
|
|
||||||
typography: mat.define-typography-config(),
|
|
||||||
density: 0
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
//@include angular-material-theme($custom-theme);
|
|
||||||
//@include mat.core-theme($my-theme);
|
|
||||||
|
|
||||||
//@include mat.button-theme($my-theme);
|
|
||||||
//@include mat.toolbar-theme($my-theme);
|
|
||||||
//@include mat.card-theme($my-theme);
|
|
||||||
//@include mat.dialog-theme($my-theme);
|
|
||||||
|
|
||||||
@include mat.all-component-themes($my-theme);
|
|
||||||
|
|
|
@ -1,73 +0,0 @@
|
||||||
[{ "language":"br-US", "component":"business", "data" : { "business_accept_terms":"Eu aceito os ","business_addrs_nobiz":"Não temos um negócio associado a este endereço Zcash, por favor insira suas informações abaixo:","business_biz_addressholder":"Endereço","business_biz_addresslbl":"Endereço:","business_biz_cityholder":"Cidade","business_biz_citylbl":"Cidade:","business_biz_countryholder":"País","business_biz_countrylbl":"País:","business_biz_info":"Insira os dados da empresa","business_biz_mailholder":"exemplo@dominio.com","business_biz_maillbl":"E-mail","business_biz_nameholder":"Nome da empresa","business_biz_namelbl":"Nome da empresa:","business_biz_pcodeholder":"Código Postal","business_biz_pcodelbl":"Código postal:","business_biz_stateholder":"Estado/Provincia","business_biz_statelbl":"Estado/Provincia","business_biz_websiteholder":"Website","business_biz_websitelbl":"Website","business_contact_fnamelbl":"Primeiro nome do contato:","business_contact_fnholder":"Nome","business_contact_lnamelbl":"Último sobrenome do contato:","business_contact_lnholder":"Sobrenome ","business_save_btn":"Salvar","business_select_session":"Selecione a duração da sessão que você necessita:","business_session_label":"Sessão:","business_session_lengthlbl":"Duração da sessão","business_session_paylbl":"Pagar","business_signup_title":"Inscrição de negócio","business_terms_ofuse":"Termos de Uso","business_zgo_confirmlbl":"ZGo confirma o seu pagamento"}},
|
|
||||||
{ "language":"br-US", "component":"cancel", "data" : { "cancel_confirm_btn":"Sim","cancel_dismiss_btn":"Não","cancel_title":"Cancelar?"}},
|
|
||||||
{ "language":"br-US", "component":"checkout", "data" : { "checkout_accept_btn":"Aceitar","checkout_cant_scan":"Não consegue escanear?","checkout_close_btn":"Fechar","checkout_copyaddress_error":"Erro ao copiar endereço","checkout_copyamount_error":"Erro ao copiar o valor","checkout_copymemo_error":"Erro ao copiar o memorando","checkout_copy_address":"Copiar Endereço","checkout_copy_amount":"Copiar Valor","checkout_copy_memo":"Copiar Memo","checkout_copy_notavail":"Funcionalidade de cópia não suportada!!","checkout_notserv_close":"Fechar","checkout_notserv_error":"Erro","checkout_scan_payment":"Escaneie para fazer o pagamento","checkout_use_this":"Use isso ","checkout_wallet_link":"link de carteira","checkout_wallet_or":", ou "}},
|
|
||||||
{ "language":"br-US", "component":"dbexport", "data" : { "dbexport_btn_close":"Cancelar","dbexport_closed_no":"Não","dbexport_closed_yes":"Sim","dbexport_date_range":"Intervalo de datas:","dbexport_download_link":"Download","dbexport_end_date":"Data de término","dbexport_export_descrip":"Exportar pedidos em um arquivo de formato .CSV","dbexport_file_header":"\"Data\",\"ID do pedido\",\"Moeda\",\"Fechado?\",\"Valor\",\"Taxa\",\"ZEC\",\"Pago?\",\"Fatura\"","dbexport_invalid_end":"Data final inválida","dbexport_invalid_start":"Data de início inválida","dbexport_noorders_created":"Você não tem pedidos criados.","dbexport_nothing_todo":"Nada para fazer.","dbexport_paid_no":"Não","dbexport_paid_yes":"Sim","dbexport_settings_title":"Exportar pedidos","dbexport_start_date":"Data de início"}},
|
|
||||||
{ "language":"br-US", "component":"header", "data" : { "header_get_currency":"Moeda:","header_last_block":"Último Bloco:","header_logout_lbl":"Sair?","header_logout_msg1":"Tem certeza de que deseja se desconectar do ZGo?","header_logout_msg2":"Você terá que vincular novamente sua carteira por meio de um memo protegido."}},
|
|
||||||
{ "language":"br-US", "component":"invoice", "data" : { "invoice_cant_scan":"Não consegue escanear?","invoice_copyaddress_error":"Erro ao copiar endereço","invoice_copyamount_error":"Erro ao copiar o valor","invoice_copymemo_error":"Erro ao copiar o memorando","invoice_copy_address":"Copiar Endereço","invoice_copy_amount":"Copiar Valor","invoice_copy_memo":"Copiar Memo","invoice_copy_notavail":"Funcionalidade de cópia não suportada","invoice_dot_or":", ou","invoice_info_notavail":"Não há informação disponível.","invoice_invalid_id":"ID do fatura incorreto.","invoice_invoice_lbl":"Fatura","invoice_invoice_total":"Total da Fatura:","invoice_notserv_close":"Fechar","invoice_notserv_error":"Erro","invoice_order_date":"Data: ","invoice_order_id":"ID do Pedido: ","invoice_order_price":"Preço ","invoice_payment_confirmed":"Pagamento Confirmado!!","invoice_payment_pending":"Pagamento Pendente!!","invoice_qty_lbl":"Qtde.","invoice_return_toshop":"Voltar à Loja","invoice_scan_qrcode":"Escaneie o QR Code com sua carteira para efetuar o pagamento","invoice_use_this":"Use isso ","invoice_wallet_link":"Link da Carteira","invoice_zcash_price":"Preço da Zcash: "}},
|
|
||||||
{ "language":"br-US", "component":"itemadd", "data" : { "itemadd_add_2order":"Adicionar ao Pedido","itemadd_cancel_btn":"Cancelar","itemadd_save_btn":"Adicionar"}},
|
|
||||||
{ "language":"br-US", "component":"itemcreate", "data" : { "itemcreate_add_item":"Adicionar Item","itemcreate_close_btn":"Fechar","itemcreate_item_descr":"Descrição","itemcreate_item_lbl":"Item","itemcreate_item_price":"Preço","itemcreate_save_btn":"Salvar","itemcreate_use_nums":"Use apenas números"}},
|
|
||||||
{ "language":"br-US", "component":"itemdel", "data" : { "itemdel_close_btn":"Fechar","itemdel_confirm_del":"Tem certeza de que deseja apagar ","itemdel_delete_btn":"Excluir","itemdel_del_item":"Excluir Item"}},
|
|
||||||
{ "language":"br-US", "component":"itemedit", "data" : { "itemedit_close_btn":"Fechar","itemedit_edit_item":"Editar Item","itemedit_item_descr":"Descrição ","itemedit_item_label":"Item","itemedit_item_price":"Preço:","itemedit_save_btn":"Salvar"}},
|
|
||||||
{ "language":"br-US", "component":"itemlist", "data" : { "itemlist_avail_items":"Items disponíveis:","itemlist_item_added":"Item criado com sucesso!","itemlist_item_deleted":"Item deletado!!","itemlist_item_updated":"Informações do item atualizadas!!","itemlist_list_empty":"Ainda não há itens","itemlist_notif_close":"Fechar","itemlist_notif_success":"Sucesso"}},
|
|
||||||
{ "language":"br-US", "component":"listorders", "data" : { "listorders_backtoshop_btn":"Voltar a Loja","listorders_end_date":"Sessão válida até: ","listorders_export_orders":"Exportar Pedidos","listorders_invoice_btn":"Fatura","listorders_item_lbl":"Item","listorders_no_orders":"Não há Pedidos","listorders_order_id":"ID do Pedido","listorders_order_total":"Total do Pedido:","listorders_overall_total":"Total geral: ","listorders_qty_lbl":"Qtde.","listorders_receipt_btn":"Comprovante","listorders_todays_total":"Total de hoje: ","listorders_total_lbl":"Total"}},
|
|
||||||
{ "language":"br-US", "component":"login", "data" : { "login_check_wallet":"Verifique sua carteira!!","login_confirm_login":"ZGo confirma seu login na blockchain da Zcash","login_confirm_pin":"Confirmar Senha","login_connect_to_zgo":"Conecte sua carteira ao ZGo","login_enter_pin":"Insira a senha enviada pela ZGo para confirmar a propriedade da carteira:","login_last_block":"Último bloco visto:","login_link_wallet":"Conecte sua carteira","login_wrong_pin":"Senha incorreta!"}},
|
|
||||||
{ "language":"br-US", "component":"main", "data" : { "main_price_data":"Preços informados pela CoinGecko API"}},
|
|
||||||
{ "language":"br-US", "component":"order", "data" : { "order_cancel_btn":"Cancelar","order_cancel_ok":"Pedido cancelado com sucesso!","order_cancel_order":"Cancelar o pedido?","order_checkout_btn":"Procesar","order_confirm_cancel":"Tem certeza que deseja cancelar o pedido?","order_confirm_remove":"Tem certeza que deseja remover <<","order_confirm_remove1":" deste pedido?","order_invoice_btn":"Fatura","order_item_lbl":"Item","order_notserv_close":"Fechar","order_notserv_success":"succeso","order_no_openorder":"Sem pedido aberto!!","order_qty_lbl":"Qtde.","order_remove_item":"Remover o Item?","order_total_lbl":"Total","order_total_title":"Total do Pedido:"}},
|
|
||||||
{ "language":"br-US", "component":"pmtservice", "data" : { "pmtservice_amount_doesnot":"O Valor não","pmtservice_cant_scan":"Não consegue escanear?","pmtservice_connecto_xero":"Conexão para o Xero","pmtservice_copyaddress_error":"Erro ao copiar endereço","pmtservice_copyamount_error":"Erro ao copiar o valor","pmtservice_copymemo_error":"Erro ao copiar o memorando","pmtservice_copy_address":"Copiar Endereço","pmtservice_copy_amount":"Copiar Valor","pmtservice_copy_memo":"Copiar Memo","pmtservice_copy_notavail":"Funcionalidade de cópia não suportada","pmtservice_currency_notsup":"não suportada!!","pmtservice_enabled_for":"habilitado para","pmtservice_hdr_txt1":"Fatura","pmtservice_hdr_txt2":"ID do Pedido: ","pmtservice_hdr_txt3":"Data: ","pmtservice_invalid_ownerid":"ID do proprietário inválido!!","pmtservice_invoice_currency":"Moeda","pmtservice_invoice_invalid":"tipo inválido!!","pmtservice_invoice_item":"Item:","pmtservice_invoice_notfound":"não encontrada!!","pmtservice_invoice_num":"Fatura","pmtservice_invoice_paid":"já pago!!","pmtservice_invoice_price":"Preço","pmtservice_invoice_qty":"Qtde.","pmtservice_invoice_total":"Total da Fatura:","pmtservice_match_value":"corresponde ao valor","pmtservice_notserv_close":"Fechar","pmtservice_notserv_error":"Erro","pmtservice_payment_confirmed":"Pagamento Confirmado!!","pmtservice_payment_notprocessed":"Pedido de pagamento não foi processado!!","pmtservice_payment_pending":"Pagamento Pendente!!","pmtservice_pmtsrv_not":"Serviço de pagamento não","pmtservice_reported_byxero":"reportado por Xero!!","pmtservice_scan_qrcode":"Escaneie o QR Code com sua carteira para efetuar o pagamento","pmtservice_server_failed":"servidor falhou!!","pmtservice_use_this":"Use isso","pmtservice_wallet_link":"Link da Carteira","pmtservice_zecdata_price":"Preço da Zcash:","pmtservice_zecdata_total":"Total: "}},
|
|
||||||
{ "language":"br-US", "component":"promptinvoice", "data" : { "promptinvoice_func_notavail":"Funcionalidade não disponível para o seu navegador. Use o botão enviar ao invés disso","promptinvoice_invoice_cancel":"Cancelar","promptinvoice_invoice_clipboard":"URL da fatura copiado para a área de transferência!!","promptinvoice_invoice_sent":"Enviado!","promptinvoice_invoice_url":"URL da Fatura:","promptinvoice_notserv_close":"Fechar","promptinvoice_notserv_error":"Erro","promptinvoice_notserv_success":"Suceso","promptinvoice_send_link":"Envie o link da fatura para o seu cliente:"}},
|
|
||||||
{ "language":"br-US", "component":"promptreceipt", "data" : { "promptreceipt_close_lbl":"Fechar","promptreceipt_func_notavail":"Funcionalidade não disponível para o seu navegador. Use o botão Enviar","promptreceipt_notserv_close":"Fechar","promptreceipt_notserv_error":"Erro","promptreceipt_notserv_success":"Sucesso","promptreceipt_receipt_clipboard":"URL do comprovante foi copiado para a área de transferência!!","promptreceipt_receipt_url":"URL do comprovante:","promptreceipt_send_link":"Envie o link do comprovante para o seu cliente:"}},
|
|
||||||
{ "language":"br-US", "component":"receipt", "data" : { "receipt_info_notavail":"Não há informação disponível.","receipt_invalid_id":"ID do comprovante incorreto.","receipt_order_date":"Data:","receipt_order_id":"ID do Pedido:","receipt_order_price":"Preço:","receipt_order_total":"Total:","receipt_qty_lbl":"Qtde.","receipt_receipt_lbl":"Comprovante","receipt_zcash_price":"Preço da Zcash:"}},
|
|
||||||
{ "language":"br-US", "component":"receiptqr", "data" : { "receiptqr_close_btn":"Fechar","receiptqr_scan_receipt":"Escaneie para o seu comprovante"}},
|
|
||||||
{ "language":"br-US", "component":"scan", "data" : { "scan_cant_scan":"Não consegue escanear? ","scan_close_btn":"Fechar","scan_copy_address":"Copiar Endereço","scan_copy_amount":"Copiar Valor","scan_copy_error":"Falha ao copiar o valor","scan_copy_memo":"Copiar Memo","scan_fail_payment":"Erro ao verificar o pagamento","scan_func_notavail":"Funcionalidade de cópia não suportada","scan_memo_sent":"Memo enviado!","scan_notserv_close":"Fechar","scan_notserv_error":"Erro","scan_or_button":"o","scan_scanqr_code":"Scanei o QR Code","scan_text_info":"Certifique-se de selecionar \"Incluir Responder-A\" na sua carteira antes de enviar o seu memorando.","scan_use_this":"Use isso ","scan_wallet_link":"Link de carteira"}},
|
|
||||||
{ "language":"br-US", "component":"settings", "data" : { "settings_acode_invalid":"Número da Conta inválido (10 caracteres no máximo)","settings_acode_lbl":"Número da conta:","settings_acode_notsaved":"Número da Conta não salvo!!","settings_acode_saved":"Número da conta Salvo!!","settings_close_btn":"Cancelar","settings_confirm_payments":"Confirmar pagamentos?","settings_copy_notavail":"Funcionalidade não disponível para o seu navegador. Use o botão enviar ao invés disso","settings_currency_lbl":"Moeda","settings_link_2xero":"Conectar-se ao Xero","settings_name_lbl":"Nome","settings_name_placeholder":"Seu nome","settings_notserv_close":"Fechar","settings_notserv_error":"Erro","settings_notserv_success":"Sucesso","settings_notserv_warning":"Aviso","settings_ownerid_copied":"ID do proprietário copiado para a prancheta","settings_ownerid_notcopied":"Cópia não disponível em seu navegador","settings_pmtserv_url":"URL de Serviço de Pagamento:","settings_relink_2xero":"Reconectar-se ao Xero ","settings_save_btn":"Salvar","settings_tab_integrations":"Integrações","settings_tab_mainlbl":"Principal","settings_url_copied":"URL ZGo copiado para a prancheta!!","settings_use_satoshi":"Usar zatoshis?","settings_view_title":"Definições","settings_vkey_lbl":"Chave de visualização","settings_vkey_placeholder":"Sua chave de visualização da carteira","settings_wctoken_copied":"Token WooCommerce copiado para a prancheta","settings_wctoken_generated":"Token da WoCommerce gerado","settings_wctoken_genfail":"Geração do token da WooCommerce falhou","settings_wctoken_notcopied":"Cópia não disponível no seu navegador","settings_wc_closebtn":"Fechar","settings_wc_gentoken":"Gerar Token","settings_wc_lbl":"WooCommerce","settings_wc_ownerlbl":"Proprietário:","settings_xeropmt_confirmdis":"Confirmação de pagamentos Xero desativada!! ","settings_xero_closebtn":"Fechar","settings_xero_lbl":"Xero","settings_xero_savebtn":"Salvar código"}},
|
|
||||||
{ "language":"br-US", "component":"viewer", "data" : { "viewer_view_orders":"Ver Pedidos"}},
|
|
||||||
{ "language":"br-US", "component":"xero", "data" : { "xero_connected_2xero":"Conectado ao Xero!","xero_connecting_2xero":"Conectando ao Xero.."}},
|
|
||||||
{ "language":"en-US", "component":"business", "data" : { "business_accept_terms":"I accept the ","business_addrs_nobiz":"We do not have a business associated with this Zcash address, please enter your information below:","business_biz_addressholder":"Address","business_biz_addresslbl":"Address:","business_biz_cityholder":"City","business_biz_citylbl":"City:","business_biz_countryholder":"Country","business_biz_countrylbl":"Country:","business_biz_info":"Provide business info","business_biz_mailholder":"example@domain.com","business_biz_maillbl":"E-mail:","business_biz_nameholder":"Business name","business_biz_namelbl":"Business Name:","business_biz_pcodeholder":"Postal code","business_biz_pcodelbl":"Postal Code:","business_biz_stateholder":"State or Province","business_biz_statelbl":"State/Province:","business_biz_websiteholder":"website","business_biz_websitelbl":"Website:","business_contact_fnamelbl":"Contact First name:","business_contact_fnholder":"First name","business_contact_lnamelbl":"Contact Last Name:","business_contact_lnholder":"Last Name","business_save_btn":"Save","business_select_session ":"Please select the length of session that you need:","business_session_label":"Session:","business_session_lengthlbl":"Session Length","business_session_paylbl":"Pay","business_signup_title":"Business sign-up","business_terms_ofuse":"Terms of Use","business_zgo_confirmlbl":"ZGo confirms your payment"}},
|
|
||||||
{ "language":"en-US", "component":"cancel", "data" : { "cancel_confirm_btn":"Yes","cancel_dismiss_btn":"No","cancel_title":"Cancel?"}},
|
|
||||||
{ "language":"en-US", "component":"checkout", "data" : { "checkout_accept_btn":"Accept","checkout_cant_scan":"Can't scan?","checkout_close_btn":"Close","checkout_copyaddress_error":"Error copying address","checkout_copyamount_error":"Error while copying ammount","checkout_copymemo_error":"Error while copying Memo","checkout_copy_address":"Copy Address","checkout_copy_amount":"Copy Amount","checkout_copy_memo":"Copy Memo","checkout_copy_notavail":"Copy functionality not supported!!","checkout_notserv_close":"Close","checkout_notserv_error":"Error","checkout_scan_payment":"Scan to make payment","checkout_use_this":"Use this ","checkout_wallet_link":"wallet link","checkout_wallet_or":", or "}},
|
|
||||||
{ "language":"en-US", "component":"dbexport", "data" : { "dbexport_btn_close":"Cancel","dbexport_closed_no":"No","dbexport_closed_yes":"Yes","dbexport_date_range":"Date Range:","dbexport_download_link":"Download","dbexport_end_date":"End date","dbexport_export_descrip":"Export orders in a .CSV format file","dbexport_file_header":"\"Date\",\"Order ID\",\"Currency\",\"Closed?\",\"Amount\",\"Rate\",\"ZEC\",\"Paid?\",\"Invoice\"","dbexport_invalid_end":"Invalid end date","dbexport_invalid_start":"Invalid start date","dbexport_noorders_created":"You have no orders created.","dbexport_nothing_todo":"Nothing to do.","dbexport_paid_no":"No","dbexport_paid_yes":"Yes","dbexport_settings_title":"Export Orders","dbexport_start_date":"Start date"}},
|
|
||||||
{ "language":"en-US", "component":"header", "data" : { "header_get_currency":"Currency:","header_last_block":"Last Block:","header_logout_lbl":"Logout?","header_logout_msg1":"Are you sure you want to disconnect from ZGo?","header_logout_msg2":"You will have to re-link your wallet via shielded memo."}},
|
|
||||||
{ "language":"en-US", "component":"invoice", "data" : { "invoice_cant_scan":"Can't scan?","invoice_copyaddress_error":"Error while copying address","invoice_copyamount_error":"Error while copying amount","invoice_copymemo_error":"Error while copying Memo","invoice_copy_address":"Copy Address","invoice_copy_amount":"Copy Amount","invoice_copy_memo":"Copy Memo","invoice_copy_notavail":"Copy functionality not supported","invoice_dot_or":", or","invoice_info_notavail":"No information available.","invoice_invalid_id":"Incorrect Invoice ID.","invoice_invoice_lbl":"Invoice","invoice_invoice_total":"Invoice Total: ","invoice_notserv_close":"Close","invoice_notserv_error":"Error","invoice_order_date":"Date: ","invoice_order_id":"Order ID: ","invoice_order_price":"Price ","invoice_payment_confirmed":"Payment Confirmed!!","invoice_payment_pending":"Payment Pending!!","invoice_qty_lbl":"Qty.","invoice_return_toshop":"Return to Shop","invoice_scan_qrcode":"Scan the QR code with your wallet to make payment","invoice_use_this":"Use this ","invoice_wallet_link":"wallet link","invoice_zcash_price":"Zcash price: "}},
|
|
||||||
{ "language":"en-US", "component":"itemadd", "data" : { "itemadd_add_2order":"Add to Order","itemadd_cancel_btn":"Cancel","itemadd_save_btn":"Add"}},
|
|
||||||
{ "language":"en-US", "component":"itemcreate", "data" : { "itemcreate_add_item":"Add Item","itemcreate_close_btn":"Close","itemcreate_item_descr":"Description","itemcreate_item_lbl":"Item","itemcreate_item_price":"Price","itemcreate_save_btn":"Save","itemcreate_use_nums":"Use only numbers"}},
|
|
||||||
{ "language":"en-US", "component":"itemdel", "data" : { "itemdel_close_btn":"Close","itemdel_confirm_del":"Are you sure you want to delete ","itemdel_delete_btn":"Delete","itemdel_del_item":"Delete Item"}},
|
|
||||||
{ "language":"en-US", "component":"itemedit", "data" : { "itemedit_close_btn":"Close","itemedit_edit_item":"Edit Item","itemedit_item_descr":"Description","itemedit_item_label":"Item","itemedit_item_price":"Price:","itemedit_save_btn":"Save"}},
|
|
||||||
{ "language":"en-US", "component":"itemlist", "data" : { "itemlist_avail_items":"Available Items:","itemlist_item_added":"Item successfully created!","itemlist_item_deleted":"Item deleted!!","itemlist_item_updated":"Item information updated!!","itemlist_list_empty":"No items yet!","itemlist_notif_close":"Close","itemlist_notif_success":"Success"}},
|
|
||||||
{ "language":"en-US", "component":"listorders", "data" : { "listorders_backtoshop_btn":"Back to Shop","listorders_end_date":"Session valid until: ","listorders_export_orders":"Export Orders","listorders_invoice_btn":"Invoice","listorders_item_lbl":"Item","listorders_no_orders":"No orders","listorders_order_id":"Order ID","listorders_order_total":"Order Total: ","listorders_overall_total":"Overall Total: ","listorders_qty_lbl":"Qty.","listorders_receipt_btn":"Receipt","listorders_todays_total":"Today's Total: ","listorders_total_lbl":"Total"}},
|
|
||||||
{ "language":"en-US", "component":"login", "data" : { "login_check_wallet":"Check your wallet!!","login_confirm_login":"ZGo confirms your login on the Zcash blockhain","login_confirm_pin":"Confirm PIN","login_connect_to_zgo":"Connect your wallet to ZGo","login_enter_pin":"Enter the PIN sent by ZGo to confirm wallet ownership:","login_last_block":"Last block seen:","login_link_wallet":"Link Wallet","login_wrong_pin":"Wrong PIN!!"}},
|
|
||||||
{ "language":"en-US", "component":"main", "data" : { "main_price_data":"Price data provided by CoinGecko API"}},
|
|
||||||
{ "language":"en-US", "component":"order", "data" : { "order_cancel_btn":"Cancel","order_cancel_ok":"Order successfully cancelled!","order_cancel_order":"Cancel Order?","order_checkout_btn":"Checkout","order_confirm_cancel":"Are you sure you want to cancel the order?","order_confirm_remove":"Are you sure you want to remove ","order_confirm_remove1":" from this order?","order_invoice_btn":"Invoice","order_item_lbl":"Item","order_notserv_close":"Close","order_notserv_success":"success","order_no_openorder":"No open order!!","order_qty_lbl":"Qty.","order_remove_item":"Remove Item?","order_total_lbl":"Total","order_total_title":"Order Total:"}},
|
|
||||||
{ "language":"en-US", "component":"pmtservice", "data" : { "pmtservice_amount_doesnot":"Amount does not","pmtservice_cant_scan":"Can't scan?","pmtservice_connecto_xero":"Connection to Xero","pmtservice_copyaddress_error":"Error while copying address","pmtservice_copyamount_error":"Error while copying amount","pmtservice_copymemo_error":"Error while copying Memo","pmtservice_copy_address":"Copy Address","pmtservice_copy_amount":"Copy Amount","pmtservice_copy_memo":"Copy Memo","pmtservice_copy_notavail":"Copy functionality not supported","pmtservice_currency_notsup":"not supported!!","pmtservice_enabled_for":"enabled for","pmtservice_hdr_txt1":"Invoice","pmtservice_hdr_txt2":"Order ID: ","pmtservice_hdr_txt3":"Date: ","pmtservice_invalid_ownerid":"Invalid Owner ID!!","pmtservice_invoice_currency":"Currency","pmtservice_invoice_invalid":"type invalid!!","pmtservice_invoice_item":"Item:","pmtservice_invoice_notfound":"not found!!","pmtservice_invoice_num":"Invoice","pmtservice_invoice_paid":"already paid!!","pmtservice_invoice_price":"Price","pmtservice_invoice_qty":"Qty.","pmtservice_invoice_total":"Invoice Total: ","pmtservice_match_value":"match value","pmtservice_notserv_close":"Close","pmtservice_notserv_error":"Error","pmtservice_payment_confirmed":"Payment Confirmed!!","pmtservice_payment_notprocessed":"Payment request was not processed!!","pmtservice_payment_pending":"Payment Pending!!","pmtservice_pmtsrv_not":"Payment service not","pmtservice_reported_byxero":"reported by Xero!!","pmtservice_scan_qrcode":"Scan the QR code with your wallet to make payment","pmtservice_server_failed":"server failed!!","pmtservice_use_this":"Use this ","pmtservice_wallet_link":"wallet link","pmtservice_zecdata_price":"Zcash Price: ","pmtservice_zecdata_total":"Total: "}},
|
|
||||||
{ "language":"en-US", "component":"promptinvoice", "data" : { "promptinvoice_func_notavail":"Functionality not available for your browser. Use send button instead.","promptinvoice_invoice_cancel":"Cancel","promptinvoice_invoice_clipboard":"Invoice's URL copied to Clipboard!!","promptinvoice_invoice_sent":"Sent!","promptinvoice_invoice_url":"Invoice URL:","promptinvoice_notserv_close":"Close","promptinvoice_notserv_error":"Error","promptinvoice_notserv_success":"Success","promptinvoice_send_link":"Send the invoice link to your client:"}},
|
|
||||||
{ "language":"en-US", "component":"promptreceipt", "data" : { "promptreceipt_close_lbl":"Close","promptreceipt_func_notavail":"Functionality not available for your browser. Use send button ","promptreceipt_notserv_close":"Close","promptreceipt_notserv_error":"Error","promptreceipt_notserv_success":"Success","promptreceipt_receipt_clipboard":"Receipt's URL copied to Clipboard!!","promptreceipt_receipt_url":"Receipt URL:","promptreceipt_send_link":"Send the receipt link to your client:"}},
|
|
||||||
{ "language":"en-US", "component":"receipt", "data" : { "receipt_info_notavail":"No information available.","receipt_invalid_id":"Incorrect receipt ID.","receipt_order_date":"Date: ","receipt_order_id":"Order ID: ","receipt_order_price":"Price: ","receipt_order_total":"Total: ","receipt_qty_lbl":"Qty.","receipt_receipt_lbl":"Receipt","receipt_zcash_price":"Zcash Price: "}},
|
|
||||||
{ "language":"en-US", "component":"receiptqr", "data" : { "receiptqr_close_btn":"Close","receiptqr_scan_receipt":"Scan for your Receipt"}},
|
|
||||||
{ "language":"en-US", "component":"scan", "data" : { "scan_cant_scan":"Can't scan? ","scan_close_btn":"Close","scan_copy_address":"Copy Address","scan_copy_amount":"Copy Amount","scan_copy_error":"Error while copying ammount","scan_copy_memo":"Copy Memo","scan_fail_payment":"Error while verifying payment","scan_func_notavail":"Copy functionality not supported","scan_memo_sent":"Memo Sent!","scan_notserv_close":"Close","scan_notserv_error":"Error","scan_or_button":"or","scan_scanqr_code":"Scan the QR code","scan_text_info":"Ensure to check the \"Include Reply-To\" box in your wallet before sending your memo.","scan_use_this":"Use this ","scan_wallet_link":"wallet link"}},
|
|
||||||
{ "language":"en-US", "component":"settings", "data" : { "settings_acode_invalid":"Invalid Account code (10 chars max.)","settings_acode_lbl":"Account Code:","settings_acode_notsaved":"Account Code not saved","settings_acode_saved":"Account Code saved!!","settings_close_btn":"Cancel","settings_confirm_payments":"Confirm payments?","settings_copy_notavail":"Functionality not available for your browser. Use send button instead.","settings_currency_lbl":"Currency","settings_link_2xero":"Link to Xero","settings_name_lbl":"Name","settings_name_placeholder":"Your Name","settings_notserv_close":"Close","settings_notserv_error":"Error","settings_notserv_success":"Success","settings_notserv_warning":"Warning","settings_ownerid_copied":"Owner ID copied to clipboard","settings_ownerid_notcopied":"Copying not available in your browser","settings_pmtserv_url":"Payment Service URL:","settings_relink_2xero":"Relink to Xero","settings_save_btn":"Save","settings_tab_integrations":"Integrations","settings_tab_mainlbl":"Main","settings_URL_copied":"ZGo URL copied to Clipboard!!","settings_use_satoshi":"Use zatoshis?","settings_view_title":"Settings","settings_vkey_lbl":"Viewing key","settings_vkey_placeholder":"Your wallet viewing key","settings_wctoken_copied":"WooCommerce Token copied to clipboard","settings_wctoken_generated":"WooCommerce Token generated!","settings_wctoken_genfail":"WooCommerce Token generation failed","settings_wctoken_notcopied":"Copying not available in your browser","settings_wc_closebtn":"Close","settings_wc_gentoken":"Generate Token","settings_wc_lbl":"WooCommerce","settings_wc_ownerlbl":"Owner:","settings_xeropmt_confirmdis":"Xero Payment confirmation disabled!!","settings_xero_closebtn":"Close","settings_xero_lbl":"Xero","settings_xero_savebtn":"Save Code"}},
|
|
||||||
{ "language":"en-US", "component":"viewer", "data" : { "viewer_view_orders":"View Orders"}},
|
|
||||||
{ "language":"en-US", "component":"xero", "data" : { "xero_connected_2xero":"Connected to Xero!","xero_connecting_2xero":"Connecting to Xero.."}},
|
|
||||||
{ "language":"es-US", "component":"business", "data" : { "business_accept_terms":"Acepto los ","business_addrs_nobiz":"No tenemos un negocio asociado a esta dirección de Zcash, por favor ingrese su información abajo:","business_biz_addressholder":"Dirección","business_biz_addresslbl":"Dirección:","business_biz_cityholder":"Ciudad","business_biz_citylbl":"Ciudad:","business_biz_countryholder":"País","business_biz_countrylbl":"País:","business_biz_info":"Ingrese datos del negocio","business_biz_mailholder":"ejemplo@dominio.com","business_biz_maillbl":"E-mail:","business_biz_nameholder":"Nombre del negocio","business_biz_namelbl":"Nombre del Negocio:","business_biz_pcodeholder":"Código Postal","business_biz_pcodelbl":"Código Postal:","business_biz_stateholder":"Estado o Provincia","business_biz_statelbl":"Estado/Provincia:","business_biz_websiteholder":"Sitio web","business_biz_websitelbl":"Sitio Web:","business_contact_fnamelbl":"Nombre del Contacto:","business_contact_fnholder":"Nombre","business_contact_lnamelbl":"Apellido del Contacto:","business_contact_lnholder":"Apellido","business_save_btn":"Salvar","business_select_session":"Seleccione la duración de la sessión que necesita:","business_session_label":"Sesión:","business_session_lengthlbl":"Duración de la Sesión","business_session_paylbl":"Pagar","business_signup_title":"Registrar Negocio","business_terms_ofuse":"Términos de Uso","business_zgo_confirmlbl":"ZGo confirma su pago"}},
|
|
||||||
{ "language":"es-US", "component":"cancel", "data" : { "cancel_confirm_btn":"Si","cancel_dismiss_btn":"No","cancel_title":"Cancelar?"}},
|
|
||||||
{ "language":"es-US", "component":"checkout", "data" : { "checkout_accept_btn":"Aceptar","checkout_cant_scan":"No puede escanear?","checkout_close_btn":"Cerrar","checkout_copyaddress_error":"Error al copiar dirección","checkout_copyamount_error":"Error al copiar el valor","checkout_copymemo_error":"Error al copiar Memo","checkout_copy_address":"Copiar Dirección","checkout_copy_amount":"Copie Valor","checkout_copy_memo":"Copie Valor","checkout_copy_notavail":"Fucionalidad de copia no soportada!!","checkout_notserv_close":"Cerrar","checkout_notserv_error":"Error","checkout_scan_payment":"Escanee para hacer el pago","checkout_use_this":"Use este ","checkout_wallet_link":"link a billetera","checkout_wallet_or":", o "}},
|
|
||||||
{ "language":"es-US", "component":"dbexport", "data" : { "dbexport_btn_close":"Cancelar","dbexport_closed_no":"No","dbexport_closed_yes":"Si","dbexport_date_range":"Rango de Fechas:","dbexport_download_link":"Descargar","dbexport_end_date":"Fecha final","dbexport_export_descrip":"Exportar órdenes en un archivo de formato .CSV","dbexport_file_header":"\"Fecha\",\"ID Orden\",\"Moneda\",\"Cerrada?\",\"Valor\",\"Tasa\",\"ZEC\",\"Pagada?\",\"Factura\"","dbexport_invalid_end":"Fecha final inválida","dbexport_invalid_start":"Fecha de inicio inválida","dbexport_noorders_created":"Usted no tiene órdenes creadas.","dbexport_nothing_todo":"Nada que hacer.","dbexport_paid_no":"No","dbexport_paid_yes":"Si","dbexport_settings_title":"Exportar Ordenes","dbexport_start_date":"Fecha inicial"}},
|
|
||||||
{ "language":"es-US", "component":"header", "data" : { "header_get_currency":"Moneda:","header_last_block":"Último Bloque:","header_logout_lbl":"Salir?","header_logout_msg1":"Esta usted seguro de querer desconectarse de ZGo?","header_logout_msg2":"Usted tendrá que registrar nuevamente su billetera por medio de un memo blindado."}},
|
|
||||||
{ "language":"es-US", "component":"invoice", "data" : { "invoice_cant_scan":"No puede escanear?","invoice_copyaddress_error":"Error al copiar dirección","invoice_copyamount_error":"Error al copiar valor","invoice_copymemo_error":"Error al copiar Memo","invoice_copy_address":"Copie Dirección","invoice_copy_amount":"Copiar Valor","invoice_copy_memo":"Copiar Memo","invoice_copy_notavail":"Funcionalidad para copia no soportada","invoice_dot_or":", o","invoice_info_notavail":"No hay información disponible.","invoice_invalid_id":"ID de Factura incorrecto.","invoice_invoice_lbl":"Factura","invoice_invoice_total":"Total Factura: ","invoice_notserv_close":"Cerrar","invoice_notserv_error":"Error","invoice_order_date":"Fecha: ","invoice_order_id":"ID del Pedido: ","invoice_order_price":"Precio ","invoice_payment_confirmed":"Pago Confirmado!!","invoice_payment_pending":"Pago Pendiente!!","invoice_qty_lbl":"Cant.","invoice_return_toshop":"Regresar a Tienda","invoice_scan_qrcode":"Escanee el código QR con su billetera para hacer el pago","invoice_use_this":"Use este ","invoice_wallet_link":"link de billetera","invoice_zcash_price":"Precio de Zcash: "}},
|
|
||||||
{ "language":"es-US", "component":"itemadd", "data" : { "itemadd_add_2order":"Agregar a la orden","itemadd_cancel_btn":"Cancelar","itemadd_save_btn":"Agregar"}},
|
|
||||||
{ "language":"es-US", "component":"itemcreate", "data" : { "itemcreate_add_item":"Agregar Item","itemcreate_close_btn":"Cerrar","itemcreate_item_descr":"Descripcion","itemcreate_item_lbl":"Item","itemcreate_item_price":"Precio","itemcreate_save_btn":"Agregar","itemcreate_use_nums":"Use solo números"}},
|
|
||||||
{ "language":"es-US", "component":"itemdel", "data" : { "itemdel_close_btn":"Cerrar","itemdel_confirm_del":"Esta seguro de querer eliminar el item ","itemdel_delete_btn":"Eliminar","itemdel_del_item":"Eliminar Item"}},
|
|
||||||
{ "language":"es-US", "component":"itemedit", "data" : { "itemedit_close_btn":"Cerrar","itemedit_edit_item":"Editar Item","itemedit_item_descr":"Descripcion","itemedit_item_label":"Item","itemedit_item_price":"Precio:","itemedit_save_btn":"Guardar"}},
|
|
||||||
{ "language":"es-US", "component":"itemlist", "data" : { "itemlist_avail_items":"Items Disponibles:","itemlist_item_added":"Item creado exitosamente!","itemlist_item_deleted":"Item eliminado!!","itemlist_item_updated":"Información del Item actualizada!!","itemlist_list_empty":"No existen items!","itemlist_notif_close":"Cerrar","itemlist_notif_success":"Ok"}},
|
|
||||||
{ "language":"es-US", "component":"listorders", "data" : { "listorders_backtoshop_btn":"Regresar a Tienda","listorders_end_date":"Sesión válida hasta: ","listorders_export_orders":"Exportar Pedidos","listorders_invoice_btn":"Factura","listorders_item_lbl":"Item","listorders_no_orders":"No hay órdenes","listorders_order_id":"ID de Orden","listorders_order_total":"Total de la Orden:","listorders_overall_total":"Total General: ","listorders_qty_lbl":"Cant.","listorders_receipt_btn":"Recibo","listorders_todays_total":"Total del Dia: ","listorders_total_lbl":"Total"}},
|
|
||||||
{ "language":"es-US", "component":"login", "data" : { "login_check_wallet":"Verifique su billetera!!","login_confirm_login":"ZGo confirma su ingreso en la cadena de Zcash","login_confirm_pin":"Confirme el PIN","login_connect_to_zgo":"Conectar su billetera a ZGo","login_enter_pin":"Ingrese el PIN enviado por ZGo para confirmar su billetera:","login_last_block":"Ultimo Bloque Verificado: ","login_link_wallet":"Asociar Billetera","login_wrong_pin":"PIN Invalido!!"}},
|
|
||||||
{ "language":"es-US", "component":"main", "data" : { "main_price_data":"Precios provistos por API de CoinGecko"}},
|
|
||||||
{ "language":"es-US", "component":"order", "data" : { "order_cancel_btn":"Cancelar","order_cancel_ok":"Orden cancelada exitosamente!","order_cancel_order":"Cancelar Orden?","order_checkout_btn":"Pagar","order_confirm_cancel":"Esta seguro que quiere cancelar la orden?","order_confirm_remove":"Esta seguro de querer remover ","order_confirm_remove1":" de esta orden?","order_invoice_btn":"Factura","order_item_lbl":"Item","order_notserv_close":"Cerrar","order_notserv_success":"confirmado","order_no_openorder":"Sin órden abierta!!","order_qty_lbl":"Cant.","order_remove_item":"Remover Item?","order_total_lbl":"Total","order_total_title":"Total Pedido:"}},
|
|
||||||
{ "language":"es-US", "component":"pmtservice", "data" : { "pmtservice_amount_doesnot":"Total no","pmtservice_cant_scan":"No puede escanear?","pmtservice_connecto_xero":"Conexion con Xero","pmtservice_copyaddress_error":"Error al copiar dirección","pmtservice_copyamount_error":"Error al copiar valor","pmtservice_copymemo_error":"Error al copiar Memo","pmtservice_copy_address":"Copiar Dirección","pmtservice_copy_amount":"Copiar Valor","pmtservice_copy_memo":"Copiar Memo","pmtservice_copy_notavail":"Funcionalidad para copia no soportada","pmtservice_currency_notsup":"no soportada!!","pmtservice_enabled_for":"habilitado para","pmtservice_hdr_txt1":"Factura","pmtservice_hdr_txt2":"ID de Orden: ","pmtservice_hdr_txt3":"Fecha: ","pmtservice_invalid_ownerid":"ID de propietario inválida!!","pmtservice_invoice_currency":"Moneda","pmtservice_invoice_invalid":"tipo inválido!!","pmtservice_invoice_item":"Item:","pmtservice_invoice_notfound":"no encontrada!!","pmtservice_invoice_num":"Factura","pmtservice_invoice_paid":"ya pagada!!","pmtservice_invoice_price":"Precio","pmtservice_invoice_qty":"Cant.","pmtservice_invoice_total":"Total Factura:","pmtservice_match_value":"es igual al valor","pmtservice_notserv_close":"Cerrar","pmtservice_notserv_error":"Error","pmtservice_payment_confirmed":"Pago Confirmado!!","pmtservice_payment_notprocessed":"Solicitud de pago no fue procesada!!","pmtservice_payment_pending":"Pago Pendiente!!","pmtservice_pmtsrv_not":"Servicio de pagos no ","pmtservice_reported_byxero":"reportado por Xero!!","pmtservice_scan_qrcode":"Escanee el código QR con su billetera para hacer el pago","pmtservice_server_failed":"servidor falló!!","pmtservice_use_this":"Use este ","pmtservice_wallet_link":"link de billetera","pmtservice_zecdata_price":"Precio Zcash: ","pmtservice_zecdata_total":"Total: "}},
|
|
||||||
{ "language":"es-US", "component":"promptinvoice", "data" : { "promptinvoice_func_notavail":"Funcionalidad no disponible en su navegador. Use el botón de enviar en lugar de eso.","promptinvoice_invoice_cancel":"Cancelar","promptinvoice_invoice_clipboard":"URL de la factura copiado al Portapapeles!!","promptinvoice_invoice_sent":"Enviado!","promptinvoice_invoice_url":"URL de Factura:","promptinvoice_notserv_close":"Cerrar","promptinvoice_notserv_error":"Error","promptinvoice_notserv_success":"Suceso","promptinvoice_send_link":"Envíe el link de la factura a su cliente:"}},
|
|
||||||
{ "language":"es-US", "component":"promptreceipt", "data" : { "promptreceipt_close_lbl":"Cerrar","promptreceipt_func_notavail":"Functionality not available for your browser. Use send button ","promptreceipt_notserv_close":"Cerrar","promptreceipt_notserv_error":"Error","promptreceipt_notserv_success":"Suceso","promptreceipt_receipt_clipboard":"URL del Recibo copiado a portapapeles!!","promptreceipt_receipt_url":"URL del Recibo:","promptreceipt_send_link":"Envíe el enlace del recibo a su cliente :"}},
|
|
||||||
{ "language":"es-US", "component":"receipt", "data" : { "receipt_info_notavail":"No hay información disponible.","receipt_invalid_id":"ID de Recibo incorrecto.","receipt_order_date":"Fecha: ","receipt_order_id":"ID de Orden:","receipt_order_price":"Precio: ","receipt_order_total":"Total: ","receipt_qty_lbl":"Cant.","receipt_receipt_lbl":"Recibo ","receipt_zcash_price":"Precio de Zcash: "}},
|
|
||||||
{ "language":"es-US", "component":"receiptqr", "data" : { "receiptqr_close_btn":"Cerrar","receiptqr_scan_receipt":"Escanee para obtener su Recibo"}},
|
|
||||||
{ "language":"es-US", "component":"scan", "data" : { "scan_cant_scan":"No puede escanear? ","scan_close_btn":"Cerrar","scan_copy_address":"Copiar Dirección","scan_copy_amount":"Copiar Valor","scan_copy_error":"Error al copiar valor","scan_copy_memo":"Copiar Memo","scan_fail_payment":"Error al verificar pago","scan_func_notavail":"Funcionalidad de copia no soportada","scan_memo_sent":"Memo enviado!","scan_notserv_close":"Cerrar","scan_notserv_error":"Error","scan_or_button":"ó","scan_scanqr_code":"Escanee el código QR","scan_text_info":"Asegúrese de marcar la caja \"Incluir Responder-A\" en su billetera antes de enviar su memo","scan_use_this":"Use este ","scan_wallet_link":"Link de billetera"}},
|
|
||||||
{ "language":"es-US", "component":"settings", "data" : { "settings_acode_invalid":"Código de Cuenta inválido (10 caracteres max.)","settings_acode_lbl":"Código de Cuenta:","settings_acode_notsaved":"Código de cuenta no guardado!","settings_acode_saved":"Código de cuenta guardado!!","settings_close_btn":"Cancelar","settings_confirm_payments":"Confirmar pagos?","settings_copy_notavail":"Funcionalidad no disponible para su navegador. Use el botón de enviar.","settings_currency_lbl":"Moneda","settings_link_2xero":"Enlazar a Xero","settings_name_lbl":"Nombre","settings_name_placeholder":"Su nombre","settings_notserv_close":"Cerrar","settings_notserv_error":"Error","settings_notserv_success":"Suceso","settings_notserv_warning":"Advertencia","settings_ownerid_copied":"ID del propietario copiado a la papelera","settings_ownerid_notcopied":"Copiar no disponible en su navegador","settings_pmtserv_url":"URL del Servicio de Pago:","settings_relink_2xero":"Reconectar a Xero","settings_save_btn":"Salvar","settings_tab_integrations":"Integraciones","settings_tab_mainlbl":"Principal","settings_URL_copied":"URL de ZGo copiado a la papelera!!","settings_use_satoshi":"Usar zatoshis?","settings_view_title":"Configuración","settings_vkey_lbl":"Clave de visualización","settings_vkey_placeholder":"Clave de visualización de su billetera","settings_wctoken_copied":"Token de WooCommerce copiado a la papelera","settings_wctoken_generated":"Token de WooCommerce generado!","settings_wctoken_genfail":"Falla generación de Token de WooCommerce","settings_wctoken_notcopied":"Copiar no disponible en su navegador","settings_wc_closebtn":"Cerrar","settings_wc_gentoken":"Generar Token","settings_wc_lbl":"WooCommerce","settings_wc_ownerlbl":"Propietario:","settings_xeropmt_confirmdis":"Confirmación de pagos de Xero desactivada!!","settings_xero_closebtn":"Cerrar","settings_xero_lbl":"Xero","settings_xero_savebtn":"Guardar Código"}},
|
|
||||||
{ "language":"es-US", "component":"viewer", "data" : { "viewer_view_orders":"Ver Ordenes"}},
|
|
||||||
{ "language":"es-US", "component":"xero", "data" : { "xero_connected_2xero":"Conectado a Xero!","xero_connecting_2xero":"Conectando a Xero.."}}
|
|
||||||
]
|
|