camper/deploy/available_payment_status.sql

42 lines
1.3 KiB
PL/PgSQL

-- Deploy camper:available_payment_status to pg
-- requires: payment_status
-- requires: payment_status_i18n
begin;
insert into camper.payment_status (payment_status, name)
values ('draft', 'Draft')
, ('pending', 'Pending')
, ('preauth', 'Authorization held')
, ('failed', 'Failed')
, ('completed', 'Completed')
, ('refunded', 'Refunded')
, ('voided', 'Voided')
;
insert into camper.payment_status_i18n (payment_status, lang_tag, name)
values ('draft', 'ca', 'Esborrany')
, ('pending', 'ca', 'Pendent')
, ('preauth', 'ca', 'Autorització retinguda')
, ('failed', 'ca', 'No realitzat')
, ('completed', 'ca', 'Completat')
, ('refunded', 'ca', 'Reemborsat')
, ('voided', 'ca', 'Anul·lat')
, ('draft', 'es', 'Borrador')
, ('pending', 'es', 'Pendiente')
, ('preauth', 'es', 'Autorización retenida')
, ('failed', 'es', 'Fallido')
, ('completed', 'es', 'Completado')
, ('refunded', 'es', 'Reembolsado')
, ('voided', 'es', 'Anulado')
, ('draft', 'fr', 'Brouillon')
, ('pending', 'fr', 'En attente')
, ('preauth', 'fr', 'Autorisation détenue')
, ('failed', 'fr', 'Échouée')
, ('completed', 'fr', 'Terminée')
, ('refunded', 'fr', 'Remboursée')
, ('voided', 'fr', 'Annulé')
;
commit;